Pt.Reports in 3.1.0

omo66 wrote on Monday, October 19, 2009:

I upgraded 3.0.1 to 3.1.0 release.
I got an error when trying to generate reports:
NOTE: Document’-Carotid Doppler.pdf’ cannot be converted to JPEG. Perhaps ImageMagick is not installed?

Iam sure ImageMagick is installed
?

bradymiller wrote on Wednesday, October 21, 2009:

hey,

As I recall, there were security fixes that went into this process from 3.0.1 to 3.1.0. Just judging from the message I’m thinking there may be an illegal character issue with your file. You wouldn’t by chance know the full name of the file in the documents directory? (this would help to fix this bug) Do any other pdf files convert ok?

-brady

omo66 wrote on Wednesday, October 21, 2009:

it seemed to be server related.

The problems are with production Ubunto 8.0.4 server ( I have to look at php.ini gain)

My testing Fedora server did fine with this same release 3.1.0

I think that the default location is documents and PID number but still did not work sofar

The in-FAX and In-Sacnner (fax_view, fax_dispatch.php) are converting  documents fine into jpeg.
I made sure that all folder are writable for www-data.

omo66 wrote on Thursday, October 22, 2009:

I kept testing on more patients charts.

In one chart I had 14 PDFs, it only converted the last 7 of them ( Ubuntu server.)

bradymiller wrote on Thursday, October 22, 2009:

hey,

Out of curiosity from your initial message, what is the actual name of the file in your documents directory with "-Carotid Doppler.pdf" in it, that hyphen just seems weird there?

-brady

omo66 wrote on Thursday, October 22, 2009:

I removed patient information due to HIPPA.
You are right with this question because I found out that error message display file name differently from the actual name inside the documents folder. My staff are attaching date then space then name of patient to PDF scanned files. I think this is what making this error.
Here is a real example.

‘bouchra.pdf’ cannot be converted to JPEG. Perhaps ImageMagick is not installed?

THE REAL FILE NAME INSIDE DOCUMENTS:

2009-07-03 bouchra.pdf

Thanks

omo66 wrote on Thursday, October 22, 2009:

I looked again , I think No,

the date was inserted by OEMR automatically.

omo66 wrote on Tuesday, October 27, 2009:

There still a problem with displaying documents inside pat.reports.

I found out that all old documents ( before upgrade to V 3.1.0) will NOT display in the report. Any new scanned document uploaded WILL show up on the report.

It is not a true ImageMagick issue…
I am afraid that the translation made last time or else had affected this release in many ways ( see other reported bugs)

Thanks

bradymiller wrote on Wednesday, October 28, 2009:

hey,

Are there any permission differences (in owners, groups, or w,r,x) between the old and new files (unconverted pdf files) in the documents directories ? Note the security mechanism has changed whereas previous to 3.1.0 was very insecure. Very curious if there are any permission differences in your working fedora version (if differences in ubuntu especially). If there are differences, have you modified these at all in the previous version?

Below are the changes to files regarding this issues since 3.0.1:

-brady

  : http://openemr.cvs.sourceforge.net/viewvc/openemr/openemr/controllers/C_Document.class.php?r1=1.6&r2=1.7
  : http://openemr.cvs.sourceforge.net/viewvc/openemr/openemr/interface/patient_file/report/custom_report.php?r1=1.19&r2=1.20