Re: [QATrack+ 2442] Unable to save report as PDF

112 views
Skip to first unread message

Randle Taylor

unread,
Jul 29, 2021, 12:03:43 PM7/29/21
to Phy Mht, QATrack+
This is usually for one of two reasons:

1) Chrome/chromium is not installed on the machine (QATrack+ uses Chrome to convert HTML->PDF)
2) Directory permissions problem which, assuming you are on Linux, can usually be resolved by:

sudo chown -R www-data:www-data /home/YOURUSERNAME/web/qatrackplus/qatrack/{media,static,cache}
sudo chmod -R ug+rwxs /home/YOURUSERNAME/web/qatrackplus/qatrack/{media,static,cache}

Also you can check the log files to see if there are any errors logged.  Logs will be in the qatrackplus logs directory and /var/log/apache2/error.log
Randy

On Thu, 29 Jul 2021 at 07:57, Phy Mht <optipl...@gmail.com> wrote:
Hello together, 
I'm running two installations of QAT+ on two different machines in the same network. Machine A was my test-machine, machine B is the final server I'm configuring right now after some tryouts with machine A.

My Problem: 
In both machines I have my two LINACs defined and I also have a testlist containing a couple of tests. 
When I try to export a revied session (Perform QC -> All QC -> magnifying glass -> choose the specific test -> use "Export"-Button) OR when I try to export a report (trends and analysis -> reports) everything works just fine on my prototype-machine A. 

When I try the very same thing after performing and reviewing the very same testlist on my machine B, I cannot export the result list as PDF. When I try to use the green way, I just receive a message

Error 500 Server Error 
Sorry, the server experienced an error processing your request. The site admin has            been notified. 

When I try to use the blue way, there is no report on the right side of the page to choose. 

Can somebody help me with that issue? 

(Sorry, not a native speaker) 

--
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/618ef49e-6cda-470e-a97d-a604e576c374n%40googlegroups.com.

Vannyat

unread,
Feb 7, 2025, 4:24:34 AMFeb 7
to QATrack+
Dear all, 
I'm tryting to follow these sugguestion s 

sudo chown -R www-data:www-data /home/YOURUSERNAME/web/qatrackplus/qatrack/{media,static,cache}
sudo chmod -R ug+rwxs /home/YOURUSERNAME/web/qatrackplus/qatrack/{media,static,cache}

Then I got internal server error. I can't access my server now. 
May I know if anyone knows the solution? I am frustrated now since I didn't backup my data. 

Thank you !

Randle Taylor

unread,
Feb 7, 2025, 8:47:43 AMFeb 7
to Vannyat, QATrack+
Hi,

Your records are unlikely to be lost, as they are still in the database.  If you set `DEBUG = True` in local_settings.py and then restart QATrack+  you will be able to view a full traceback of what error is occurring.

Randy

Reply all
Reply to author
Forward
0 new messages