Data not show on pdf report when downloded

180 views
Skip to first unread message

stanislav bozhikov

unread,
May 21, 2023, 6:12:03 AM5/21/23
to QATrack+
Hi there

I have some troubles seeing data on the pdf report

here is what I get 
service-event-summary-3.pdf

stanislav bozhikov

unread,
May 21, 2023, 1:18:27 PM5/21/23
to QATrack+
Here is the log File
report-stderr.txt

tbe...@gmail.com

unread,
May 22, 2023, 2:13:06 AM5/22/23
to QATrack+
Hi,

it looks like the bug fixed with qatrack 3.1.1.2

which chrome/qatrack version do you run?


regards
Thomas

Paolo Togni

unread,
May 22, 2023, 3:24:36 AM5/22/23
to tbe...@gmail.com, QATrack+
I have a similar issue with both qatrack 3.1.2 and 3.1.3. I tryed it just with firefox and edge so far. No idea about chrome. BTW I need it to work with edhe since I cannot install chrome on Planning PCs.

Regards
Paolo T

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/dbde1d72-78f2-4a71-b13a-c2791f827ef5n%40googlegroups.com.

stanislav bozhikov

unread,
May 22, 2023, 3:56:54 AM5/22/23
to QATrack+
I am Running Qatrack+ 3.1.1.3

stanislav bozhikov

unread,
May 22, 2023, 3:58:06 AM5/22/23
to QATrack+
It is hosted on Debian 11 Server 

stanislav bozhikov

unread,
May 22, 2023, 4:07:23 AM5/22/23
to QATrack+
Chrome version 113......

tbe...@gmail.com

unread,
May 22, 2023, 5:33:34 AM5/22/23
to QATrack+
Hi,

I just checked with my installation, inside /var/www I have the following additional folders for chrome:
.local
.pki

As far as I remember the pdfs are generated with chrome which is run as user www-data. The user home if www-data is /var/www (I am using ubuntu server).
In your logfile you get a " mkdir: cannot create directory '/var/www/.local': Permission denied". Try to create the folder and give www-data user and group the right to write to it. This might help.
The .pki folder is only needed if you use self signed certificates, if I remember correctly.

@Paolo: I was talking about the Chrome version installed on the server to convert the html pages to PDF files. That can only be done with google chrome (not firefox or even chromium)

regards
Thomas

stanislav bozhikov

unread,
May 22, 2023, 2:41:33 PM5/22/23
to QATrack+
this do not help :( still it is the same
report-stderr.txt

stanislav bozhikov

unread,
May 22, 2023, 3:35:47 PM5/22/23
to QATrack+


I found solution . it seems that updating google chrome brakes the application ...

tbe...@gmail.com

unread,
May 24, 2023, 2:44:37 AM5/24/23
to QATrack+
Hi,

in your error logs there are still these two errors:
mkdir: cannot create directory '/var/www/.local/share': Permission denied
touch: cannot touch '/var/www/.local/share/applications/mimeapps.list': No such file or directory
try to get rid of these by creating those folders and files by hand.

I run google-chrome-stable/stable,now 113.0.5672.126-1 amd64 on my system and It works here.

regards
Thomas

stanislav bozhikov

unread,
May 24, 2023, 4:14:36 AM5/24/23
to QATrack+
for me it do not work I do not way . bu I have that folder created
Screenshot 2023-05-24 111048.png

tbe...@gmail.com

unread,
May 25, 2023, 2:14:27 AM5/25/23
to QATrack+
Hi,

I you have no more errors in you log file, then I am out of ideas too.
Maybe Randle can come up with something.

regards
Thomas

stanislav bozhikov

unread,
May 25, 2023, 4:37:28 AM5/25/23
to QATrack+
It Works with old version . So I am fine.
it is a linux server I am not using Chrome for other then converting to pdf ....
So it is OK.

Randle Taylor

unread,
May 25, 2023, 9:15:10 AM5/25/23
to stanislav bozhikov, QATrack+
Glad you got it working again.  In debugging this one thing I think is impacting things is the qatrack_core/css/fonts.css.  I think that opening `qatrack/qatrack_core/static/adminlte/css/admin-lte.pdf.css` and removing the `@import url('../../qatrack_core/css/fonts.css')` line then running `python manage.py collectstatic` again may resolve the problem as well.

Randy

stanislav bozhikov

unread,
May 25, 2023, 12:10:38 PM5/25/23
to Randle Taylor, QATrack+
I was thinking about that


From: Randle Taylor <randle...@gmail.com>
Sent: Thursday, May 25, 2023 4:14:30 PM
To: stanislav bozhikov <bozhikov....@gmail.com>
Cc: QATrack+ <qat...@googlegroups.com>
Subject: Re: [QATrack+ 3207] Re: Data not show on pdf report when downloded
 

stanislav bozhikov

unread,
May 25, 2023, 12:23:52 PM5/25/23
to QATrack+
  1. Glad you got it working again.  In debugging this one thing I think is impacting things is the qatrack_core/css/fonts.css.  I think that opening `qatrack/qatrack_core/static/adminlte/css/admin-lte.pdf.css` and removing the `@import url('../../qatrack_core/css/fonts.css')` line then running `python manage.py collectstatic` again may resolve the problem as well.

Do not help . :(

danj...@googlemail.com

unread,
Jun 6, 2023, 12:16:13 PM6/6/23
to QATrack+
We're having the same problem following a Chrome update pushed out by our hospital. I tried your suggestion Randy and it has fixed the problem for us, so many thanks for that!

I wonder how many more times Chrome updates are going to break the PDF reports?!

Thanks,
Dan

stanislav bozhikov

unread,
Jun 21, 2023, 2:34:31 AM6/21/23
to QATrack+
I am not updating chrome   ..for to fix
Reply all
Reply to author
Forward
0 new messages