You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating blank pdfs, I get an Internal Server Error. When analyzing the error I found it to be twofold:
First, _pdfblankgen() wants two parameters: count and game, but getpdf calls it with req, count and game. This raises an error which is caught and handeled by return error(req, u"Das war keine Zahl...") which is wrapped in your custom handler function and then failes with
Replacing _pdfblankgen(req, int(count), game) with _pdfblankgen(int(count), game) should take care of the first issue so that the second issue does not occure.
The text was updated successfully, but these errors were encountered:
When generating blank pdfs, I get an Internal Server Error. When analyzing the error I found it to be twofold:
First,
_pdfblankgen()
wants two parameters:count
andgame
, butgetpdf
calls it withreq
,count
andgame
. This raises an error which is caught and handeled byreturn error(req, u"Das war keine Zahl...")
which is wrapped in your custom handler function and then failes withReplacing
_pdfblankgen(req, int(count), game)
with_pdfblankgen(int(count), game)
should take care of the first issue so that the second issue does not occure.The text was updated successfully, but these errors were encountered: