christillman / encounterpro_os

EncounterPro-OS Electronic Health Record Software
GNU Affero General Public License v3.0
0 stars 0 forks source link

Error attaching .jpg attachments. #69

Open MCIR opened 2 weeks ago

MCIR commented 2 weeks ago

Errors attaching .jpg attachments.

Error messages shown when patient chart does not open. image

image

image

Error messages when patient chart opens, but documents with .jpg extensions do not show.

image

image

image

MCIR commented 2 weeks ago

From: Chris Tillman @.> Sent: Saturday, 29 June 2024 11:53 To: Cirur M @.> Subject: Re: Error messages related to .jpg attachments

That's a very helpful error message. The application should be able to handle JPGs, I attached several in my testing and didn't run into this error.

For the time being your advice to use pdfs is a good workaround. I will investigate the root cause tomorrow.

On Sat, 29 Jun 2024, 21:49 , @. @.> > wrote:

Hi Chris,

I realized that the clinic has been attaching some JPG attachments, leading to error messages when any attempt is made to open them.

In one instance, (id 391), the patient’s chart cannot be accessed. When an attempt is made to view the patient chart, the following errors are displayed,

After selecting ‘OK’, the error messages seen below follow:

In instances where a patient has multiple attached documents (e.g. id 318), the user can open the patient’s chart and successfully view .pdf documents. However, any attempt to access a .jpg document displays a similar set of errors. See below

After which the picture fails to open.

My first inclination was to ask them

I wanted to check with you if it is okay to ask them to delete the .jpg attachments and reattach them as .pdf.

or should the application be expected to support .jpg attachments?

I counted about 11 patient medical records with attached .jpg documents.

christillman commented 2 weeks ago

I have figured out that this is an error associated with EncounterPro Utilities. I tried to remove my Utilities installation to replicate the error, but it still worked for me.

I went searching the registry and found the CLSID for the ImageManipulation class within Utilities. To my surprise, it was getting its code from here

C:/EncounterPro/Backup/Utilities.orig/EncounterPRO.OS.Utilities/bin/Release/EncounterPRO.OS.Utilities.dll

This would explain why it works on my computer, but on a client computer it could be broken if the utilities installation hadn't worked. I destroyed that dll and retried, and got the same -3 error.

Then I refactored to use the new powerbuilder nvo wrapper for the Utilities, which references the installation in

C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities

MCIR commented 2 weeks ago

Hi Chris,

Okay. Should i reinstall utiliites again? On Sun, 30 Jun 2024 at 01:21, Christopher Tillman @.***> wrote:

I have figured out that this is an error associated with EncounterPro Utilities. I tried to remove my Utilities installation to replicate the error, but it still worked for me.

I went searching the registry and found the CLSID for the ImageManipulation class within Utilities. To my surprise, it was getting its code from here

C:/EncounterPro/Backup/Utilities.orig/EncounterPRO.OS.Utilities/bin/Release/EncounterPRO.OS.Utilities.dll

This would explain why it works on my computer, but on a client computer it could be broken if the utilities installation hadn't worked. I destroyed that dll and retried, and got the same -3 error.

Then I refactored to use the new powerbuilder nvo wrapper for the Utilities, which references the installation in

C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities

— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2198371492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT6WKNPROEOOQMCID5BBP3ZJ46QVAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM3TCNBZGI . You are receiving this because you authored the thread.Message ID: @.***>

christillman commented 2 weeks ago

That might help on that individual computer? Even 1.0.1 should work, this seems to indicate nothing is installed.

On Mon, Jul 1, 2024 at 10:45 PM Madeline Wanjiru @.***> wrote:

Hi Chris,

Okay. Should i reinstall utiliites again? On Sun, 30 Jun 2024 at 01:21, Christopher Tillman @.***> wrote:

I have figured out that this is an error associated with EncounterPro Utilities. I tried to remove my Utilities installation to replicate the error, but it still worked for me.

I went searching the registry and found the CLSID for the ImageManipulation class within Utilities. To my surprise, it was getting its code from here

C:/EncounterPro/Backup/Utilities.orig/EncounterPRO.OS.Utilities/bin/Release/EncounterPRO.OS.Utilities.dll

This would explain why it works on my computer, but on a client computer it could be broken if the utilities installation hadn't worked. I destroyed that dll and retried, and got the same -3 error.

Then I refactored to use the new powerbuilder nvo wrapper for the Utilities, which references the installation in

C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities

— Reply to this email directly, view it on GitHub < https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2198371492>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJT6WKNPROEOOQMCID5BBP3ZJ46QVAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM3TCNBZGI>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2199819480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEGTU2W5WEIVQFL33BQIA3ZKEXOJAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHAYTSNBYGA . You are receiving this because you were assigned.Message ID: @.***>

-- Chris Tillman Developer

MCIR commented 7 hours ago

Hi Chris,

I successfully installed version 1.0.1.0 on the clinic's server computer.

However, I'm encountering installation issues on two of their laptops.

When installing, an error message appears, which I have been unable to read.

Consequently, on these laptops, the application is still displaying errors when attempts are made to view patient charts containing .jpg attachments.

I have recorded a short video, capturing the error message.

Utilities download issue.mp4 https://1drv.ms/v/s!AuBDbs81Gi8WgaR8a95yRFNvRHjloQ?e=jLFjfL

From: Christopher Tillman @.> Sent: Monday, 1 July 2024 21:00 To: christillman/encounterpro_os @.> Cc: Madeline Wanjiru @.>; Author @.> Subject: Re: [christillman/encounterpro_os] Error attaching .jpg attachments. (Issue #69)

That might help on that individual computer? Even 1.0.1 should work, this seems to indicate nothing is installed.

On Mon, Jul 1, 2024 at 10:45 PM Madeline Wanjiru @. <mailto:@.> > wrote:

Hi Chris,

Okay. Should i reinstall utiliites again? On Sun, 30 Jun 2024 at 01:21, Christopher Tillman @. <mailto:@.> > wrote:

I have figured out that this is an error associated with EncounterPro Utilities. I tried to remove my Utilities installation to replicate the error, but it still worked for me.

I went searching the registry and found the CLSID for the ImageManipulation class within Utilities. To my surprise, it was getting its code from here

C:/EncounterPro/Backup/Utilities.orig/EncounterPRO.OS.Utilities/bin/Release/EncounterPRO.OS.Utilities.dll

This would explain why it works on my computer, but on a client computer it could be broken if the utilities installation hadn't worked. I destroyed that dll and retried, and got the same -3 error.

Then I refactored to use the new powerbuilder nvo wrapper for the Utilities, which references the installation in

C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities

— Reply to this email directly, view it on GitHub < https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2198371492>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJT6WKNPROEOOQMCID5BBP3ZJ46QVAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM3TCNBZGI>

. You are receiving this because you authored the thread.Message ID: @. <mailto:@.> >

— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2199819480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEGTU2W5WEIVQFL33BQIA3ZKEXOJAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHAYTSNBYGA . You are receiving this because you were assigned.Message ID: @. <mailto:@.> >

-- Chris Tillman Developer

— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2200818251 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT6WKJ6YBMVC2KJFOVJ43DZKGRLXAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQHAYTQMRVGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJT6WKLKG4SJZNHXIJR7RZDZKGRLXA5CNFSM6AAAAABKDC6K2KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUDFXJEW.gif Message ID: < @.> @.>

christillman commented 3 hours ago

Thanks for the video. It's warning about an unknown publisher, and you are allowing the install anyway. So it seems to work.

1) Do you get the same message with Utilities 1.0.6 on these computers (installed during the EncounterPro install)? 2) Are the Utilities files present at C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities ? 3) What version do you have there? You can check by right-clicking Properties on the dll file and going to the Details tab.

[image: image.png]

On Wed, Jul 17, 2024 at 3:21 AM Madeline Wanjiru @.***> wrote:

Hi Chris,

I successfully installed version 1.0.1.0 on the clinic's server computer.

However, I'm encountering installation issues on two of their laptops.

When installing, an error message appears, which I have been unable to read.

Consequently, on these laptops, the application is still displaying errors when attempts are made to view patient charts containing .jpg attachments.

I have recorded a short video, capturing the error message.

Utilities download issue.mp4 < https://1drv.ms/v/s!AuBDbs81Gi8WgaR8a95yRFNvRHjloQ?e=jLFjfL>

From: Christopher Tillman @.> Sent: Monday, 1 July 2024 21:00 To: christillman/encounterpro_os @.> Cc: Madeline Wanjiru @.>; Author @.> Subject: Re: [christillman/encounterpro_os] Error attaching .jpg attachments. (Issue #69)

That might help on that individual computer? Even 1.0.1 should work, this seems to indicate nothing is installed.

On Mon, Jul 1, 2024 at 10:45 PM Madeline Wanjiru @. <mailto:@.>

wrote:

Hi Chris,

Okay. Should i reinstall utiliites again? On Sun, 30 Jun 2024 at 01:21, Christopher Tillman @. <mailto:@.>

wrote:

I have figured out that this is an error associated with EncounterPro Utilities. I tried to remove my Utilities installation to replicate the error, but it still worked for me.

I went searching the registry and found the CLSID for the ImageManipulation class within Utilities. To my surprise, it was getting its code from here

C:/EncounterPro/Backup/Utilities.orig/EncounterPRO.OS.Utilities/bin/Release/EncounterPRO.OS.Utilities.dll

This would explain why it works on my computer, but on a client computer it could be broken if the utilities installation hadn't worked. I destroyed that dll and retried, and got the same -3 error.

Then I refactored to use the new powerbuilder nvo wrapper for the Utilities, which references the installation in

C:\Program Files (x86)\Common Files\EncounterPRO-OS\EncounterPRO.OS.Utilities

— Reply to this email directly, view it on GitHub <

https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2198371492>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AJT6WKNPROEOOQMCID5BBP3ZJ46QVAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM3TCNBZGI>

. You are receiving this because you authored the thread.Message ID: @. <mailto:@.> >

— Reply to this email directly, view it on GitHub < https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2199819480>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AGEGTU2W5WEIVQFL33BQIA3ZKEXOJAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHAYTSNBYGA>

. You are receiving this because you were assigned.Message ID: @. <mailto:@.> >

-- Chris Tillman Developer

— Reply to this email directly, view it on GitHub < https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2200818251> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJT6WKJ6YBMVC2KJFOVJ43DZKGRLXAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQHAYTQMRVGE> . You are receiving this because you authored the thread. < https://github.com/notifications/beacon/AJT6WKLKG4SJZNHXIJR7RZDZKGRLXA5CNFSM6AAAAABKDC6K2KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUDFXJEW.gif> Message ID: < @.> @.>

— Reply to this email directly, view it on GitHub https://github.com/christillman/encounterpro_os/issues/69#issuecomment-2231214488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEGTU7CVE6PA67T4F4CBITZMU27RAVCNFSM6AAAAABKDC6K2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGIYTINBYHA . You are receiving this because you were assigned.Message ID: @.***>

-- Chris Tillman Developer