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
Hello, I used camelot in a google function but it gives me this error on Ghostscript:
Traceback (most recent call last):
File "/layers/google.python.runtime/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/workspace/tool/thread.py", line 45, in run
tables = camelot.read_pdf(self.path_pdf, pages=str(i + 1), flavor='lattice', backgournd=True, line_scale=40)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/io.py", line 113, in read_pdf
tables = p.parse(
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/handlers.py", line 176, in parse
t = parser.extract_tables(
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/parsers/lattice.py", line 421, in extract_tables
self.backend.convert(self.filename, self.imagename)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/backends/ghostscript_backend.py", line 47, in convert
ghostscript.Ghostscript(*gs_command)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 76, in init
self._instance = gs.new_instance()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/_gsprint.py", line 172, in new_instance
raise GhostscriptError(rc)
ghostscript._gsprint.GhostscriptError: Fatal
And:
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 125, in del
self.exit()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 128, in exit
if self._instance:
AttributeError: 'Ghostscript' object has no attribute '_instance'
The text was updated successfully, but these errors were encountered:
Hello, I used camelot in a google function but it gives me this error on Ghostscript:
Traceback (most recent call last):
File "/layers/google.python.runtime/python/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/workspace/tool/thread.py", line 45, in run
tables = camelot.read_pdf(self.path_pdf, pages=str(i + 1), flavor='lattice', backgournd=True, line_scale=40)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/io.py", line 113, in read_pdf
tables = p.parse(
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/handlers.py", line 176, in parse
t = parser.extract_tables(
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/parsers/lattice.py", line 421, in extract_tables
self.backend.convert(self.filename, self.imagename)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/camelot/backends/ghostscript_backend.py", line 47, in convert
ghostscript.Ghostscript(*gs_command)
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 76, in init
self._instance = gs.new_instance()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/_gsprint.py", line 172, in new_instance
raise GhostscriptError(rc)
ghostscript._gsprint.GhostscriptError: Fatal
And:
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 125, in del
self.exit()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/ghostscript/init.py", line 128, in exit
if self._instance:
AttributeError: 'Ghostscript' object has no attribute '_instance'
The text was updated successfully, but these errors were encountered: