Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Add results - files sometimes not uploading to server.

Last post 08-25-2008, 6:59 PM by Jason. 11 replies.
Sort Posts: Previous Next
  •  08-24-2008, 1:36 PM 6557

    Add results - files sometimes not uploading to server.

    qilin:

    Both messages come up this time. I tried uncheck "delete from scan directory after import", still the same issue.  After the error messages, it appears the client lost connection to the server, it's not frozen as I can still click the tabs, but clicking seach button does not get any response.

    This error may occur if you did not select a valid and accessible file.
    file: /G/My Documents/***.doc
    make object! [
        code: 305
        type: 'script
        id: 'invalid-arg
        arg1: "none"
        arg2: none
        arg3: none
        near: [to integer! :value]
        where: 'to-integer
    ]

    Send-file error - file: /G/My Documents/***.doc md5: B32D341667B16FB2B8FF90CCDB0F163D
    make object! [
        code: 305
        type: 'script
        id: 'invalid-arg
        arg1: "none"
        arg2: none
        arg3: none
        near: [to integer! :value]
        where: 'to-integer
    ]

    The files are uploaded - I can see the same files with odd long names in cache-listener directory, but it seems to me the client failed to tell the server that the upload is complete so that the server can rename the files.  The items are listed under results tab after restarting the client - without "view scan" button when selected. 

    BTW, can I safely delete these files with odd names?

    from Beta214 thread

     


    Developer
  •  08-24-2008, 1:39 PM 6559 in reply to 6557

    Re: Add results - files sometimes not uploading to server.

    qilin:

    BTW, can I safely delete these files with odd names?

    Yes, but you dont have to.

     


    Developer
  •  08-24-2008, 3:03 PM 6560 in reply to 6559

    Re: Add results - files sometimes not uploading to server.

    There are two issues it looks like.

    One where the upload fails altogether.  I think those 4kb files of yours Jason are those, and it seems from the file dates it has not happened in a long time.

    The second issue is where the file is transferred completely ( using an internal file name ), but is not being renamed by the server and this is causing a different error.  This results in the text portion of the result being successfully added, but the file is not being attached to the result causing a result with no attachment.

    The cause of this second error is a mystery to me.... it needs more debugging.


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-24-2008, 3:43 PM 6561 in reply to 6560

    Re: Add results - files sometimes not uploading to server.

    Graham:

    the text portion of the result being successfully added, but the file is not being attached to the result causing a result with no attachment.

    Every File upload problem I've ever had has successfully added the text portion of the result, but not the file attached.

    As I say, I think we've had very few file upload problems since I changed to a different router.

    I certainly can't understand the latest file upload problems that Graham and Qilin are having because we file 50 per day and are having no problems. I will upgrade my secretary to the latest beta to see if we can get lucky and get some errors.

     


    Developer
  •  08-24-2008, 8:13 PM 6563 in reply to 6561

    Re: Add results - files sometimes not uploading to server.

    qilin:

    214B43 client crashes on me at the end of uploading a file, I got this message:

    This error may occur if you did not select a valid and accessible file.
    file: /C/Documents/***.doc
    make object! [
        code: 305
        type: 'script
        id: 'invalid-arg
        arg1: "none"
        arg2: none
        arg3: none
        near: [to integer! :value]
        where: 'to-integer
    ]

    Change back to B29 works fine.  Server is the most current one.

    As qilin suggested, changing back to Synapse Client 214, beta 29 should get rid of the problem.  Graham is working on a solution.  Latest news is kgmamman has the problem too.  Sad

    I don't think we've had a bug in Synapse that has lasted more than a few hours !

    Here is a LINK to Synapse Client 214 Beta 29

     


    Developer
  •  08-24-2008, 9:37 PM 6565 in reply to 6563

    Re: Add results - files sometimes not uploading to server.

    I think now the cause is the "Add Results" function, used from the Function menu on the right for those using > 1024x768.

    If you add results from the [Results] tab instead, you may find the error disappears.

    Those using 1024x768 won't see the error normally.


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-24-2008, 10:45 PM 6566 in reply to 6565

    Re: Add results - files sometimes not uploading to server.

    Graham, the error that I reported happened while adding from the [Results] tab.

    Contributing
  •  08-25-2008, 12:05 AM 6567 in reply to 6566

    Re: Add results - files sometimes not uploading to server.

    Ok, I know what the problem is now ... just need to fix it.

    It is caused by the autofile which is parsing the file name and setting the patient id field to none if the parsing fails.  Since most of you are not using autofile, I can make this parsing an option instead.

     

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-25-2008, 1:00 AM 6568 in reply to 6567

    Re: Add results - files sometimes not uploading to server.

    R214B48 for Windows

    • Autofind parsing of file names is now controlled by the Autofind flag on the add result window.  That should stop the file import errors.



    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  08-25-2008, 1:18 PM 6569 in reply to 6568

    Re: Add results - files sometimes not uploading to server.

    Problem fixed.

    Yes


    Contributing
  •  08-25-2008, 1:41 PM 6570 in reply to 6568

    Re: Add results - files sometimes not uploading to server.

  •  08-25-2008, 6:59 PM 6571 in reply to 6568

    Re: Add results - files sometimes not uploading to server.

    Graham:

    R214B48 for Windows

    • Autofind parsing of file names is now controlled by the Autofind flag on the add result window.  That should stop the file import errors.

    I think this is the first bug that has lasted more than 24 hours !

    I guess the 100,000+ lines of code requires more and more thinking now.  Smile

    Well Done Graham.


    Developer
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