Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime error #5

Open
ctlxu opened this issue May 5, 2017 · 0 comments
Open

runtime error #5

ctlxu opened this issue May 5, 2017 · 0 comments

Comments

@ctlxu
Copy link

ctlxu commented May 5, 2017

Hi, I got the following error when running a python script. I believe the report lab package installed is 3.4.0. Please help to fix my problem. Thanks.

File "/usr/local/lib/python2.7/site-packages/reportlab/pdfgen/canvas.py", line 1237, in save
self._doc.SaveToFile(self._filename, self)
File "/usr/local/lib/python2.7/site-packages/reportlab/pdfbase/pdfdoc.py", line 211, in SaveToFile
raise RunTimeError("class %s instances can only be saved once" % self.class.name)
NameError: global name 'RunTimeError' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant