Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Unable to open scanned in results.

Last post 05-24-2008, 3:11 PM by Graham. 18 replies.
Page 1 of 2 (19 items)   1 2 Next >
Sort Posts: Previous Next
  •  03-20-2008, 11:47 AM 5433

    Unable to open scanned in results.

    I have synapse client 213 beta 40.4 and server 83 b9. After I updated today I can't open the attachments that I had scanned in. I get the error "File does not begin with '%PDF'" in Adobe reader 8. [:'(]
  •  03-20-2008, 12:14 PM 5435 in reply to 5433

    Re: Unable to open scanned in results.

    Chris

    The latest updates have not touched this functionality.

    To find out what is going on, you're going to have to look in your www directory and see what files are being transferred from your server to the local www directory.  Maybe open them up with an editor ... and report back to us.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  03-20-2008, 12:29 PM 5436 in reply to 5435

    Re: Unable to open scanned in results.

    I think I know what is going on ...

    When the client requests an image, or scanned document, the synapse server looks in the cache-listener directory which is where images/scans are stored.  If it can not find the file, it sends back a little text file with the same name as the requested file.

    So, you tried to retrieve an image earlier ( in the feedback you sent me ) named 7-7-portrait.png.  Your server can no longer find this image ( it's the image for patient id of 7 ) and so delivers back to the client the text file in www/7-7-portrait.png which contains just the text "7-7-portrait.png can not be found".  And when Synapse tries to load it as an image, it gets a decimal errror, or if it tries to view it as PDF, it gets the above error.

    So, you had better check your cache-listener directory on your server and make sure it's still full of files.  If you have deleted them in error, you'll need to restore from a backup.
     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  03-20-2008, 4:02 PM 5440 in reply to 5436

    Re: Unable to open scanned in results.

    I was unable to [Xplr] patient's files with 40.2

    My suggestion is the latest tweaking to get Synapse NIX-compliant needs more testing before deployment.

    I rolled back to B35.

    Problem Solved. 

     

     



    Developer
  •  03-20-2008, 4:15 PM 5442 in reply to 5436

    Re: Unable to open scanned in results.

    Graham:

    So, you had better check your cache-listener directory on your server and make sure it's still full of files.  If you have deleted them in error, you'll need to restore from a backup.

    (1) check to see if the [Xplr] button works

    (2) roll back to an earlier beta .. i think the problem should resolve.

     

     

     



    Developer
  •  03-20-2008, 4:33 PM 5443 in reply to 5442

    Re: Unable to open scanned in results.

    Jason:

    (1) check to see if the [Xplr] button works

    (2) roll back to an earlier beta .. i think the problem should resolve.

    I suspect the [Xplr] issue is related to the new compiler I'm using .  Checking.

    The missing files are a different beast that is specific to Chris' server. 


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  03-20-2008, 4:46 PM 5444 in reply to 5443

    Re: Unable to open scanned in results.

    Confirmed .. the new compiler is exhibiting different behaviour for calling some windows applications.

    I have a fix ...

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  05-23-2008, 11:14 PM 5944 in reply to 5444

    Re: Unable to open scanned in results.

    Attachment: scan 1.jpg

    I noticed this problem now, and i have missed the entire discussion in the past. I havent deleted any files in the server but will check as soon as i get back to the office.

    I wonder, is this the same problem persisting or has it reappeared?

     



    Contributing
  •  05-23-2008, 11:22 PM 5945 in reply to 5944

    Re: Unable to open scanned in results.

    There never was a problem ... the message is an indication that the file is missing from the server.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  05-24-2008, 12:17 AM 5946 in reply to 5945

    Re: Unable to open scanned in results.

    Interestingly one of the client running 214B10 can open the scanned documents of a patient and another one running Beta20 cannot for the same patient. The files are there in the cache listener.
    Contributing
  •  05-24-2008, 12:40 AM 5947 in reply to 5946

    Re: Unable to open scanned in results.

    A further observation is that in the cache-listener folder, I am able to open some of the pdf file directly while when trying to open some i get the msg below.

    "Adobe Reader could not open 137-Document.pdf because it is either not a supported file type or because the file has been damaged (for example, it has been sent as an e mail attachment and wasn't correctly coded)"

    Probably these are the scans that I have clicked on "File" in the Inbox.

    I also note that the pdf files that can be opened in the cache-listener folder can be opened in both 214B10 and 214B20.  Does this mean anything?


    Contributing
  •  05-24-2008, 1:00 AM 5948 in reply to 5947

    Re: Unable to open scanned in results.

    From memory, if the file can't be found, then Synapse server will create a dummy file with the correct file name .. so check to see if these files you can't open all have the same file size and that they are very small.  Use a text editor to look at them too.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  05-24-2008, 1:12 AM 5949 in reply to 5948

    Re: Unable to open scanned in results.

    I think I've found the reason. The client machine used to scan these missing files are holding the document in the folder "patientdir" on the same machine. Therefore the other client machines are not able to open those files. Now how is it that some of the scans are residing in the client machine and some are in the server? I am sure it is a mistake in the way i have configured the client.

    I have used the following path

    Setting- Scans-Scan directory : C:\EMR\Client\patientdir


    Contributing
  •  05-24-2008, 1:19 AM 5950 in reply to 5949

    Re: Unable to open scanned in results.

    No, it should not matter.

    The client PC uploads the documents to the server and optionally deletes them from the local directory.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  05-24-2008, 3:39 AM 5952 in reply to 5950

    Re: Unable to open scanned in results.

    Just some background to how and why Synapse server stores the uploaded scans and files.

    One of the first decisions was whether to store these files inside the database itself as binary objects. This would mean that these files would "never" get lost as they would be part of the database.  But, this also massively enlarges the database and makes backup a much more difficult proposition.  So, instead they are stored in the filing system .. which of course, is also a type of database.

    So, the onus is on the database administrator to make sure all these files are backed up.  With the appropriate backup tool the tool would recognize that these files have been backed up and only backup the new files.  Eg. Rsync.

    From memory, files as links are only added to the database ( files table  ) after they have been successfully been uploaded.  The only way they can disappear is if an authorized user deletes a scanned image from a client.  An audit trail is maintained as to who deleted the file.

    If Synapse server can not find a file, then it creates a dummy file of only a few bytes to take it's place ... so they are easily recognised by their size.  This is to avoid crashing the server or client when an expected file is not found.  Rather than create dummy pdf or jpg etc files, it creates a text file only with the same name which is why the browser or Acrobat will complain.


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
Page 1 of 2 (19 items)   1 2 Next >
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer