OSError: exception: access violation writing 0x00000080 in camelot

0

Python: 3.8.1 camelot-py: 0.7.3 ghostscript:0.6 ghostscript: 0.6

Code:-

import camelot

tables = camelot.read_pdf('testing.pdf')

tables.export('testing.csv', f='csv', compress=True)

Getting this following error while converting 'pdf' to csv format using Camelot.

 OSError: exception: access violation writing 0x00000080

I did try fixing by going through multiple web page but apparently couldn't fix yet.

Any help would be highly appreciated.

Traceback:-

Traceback (most recent call last):
  File "foo/Pratice/Child/testing.py", line 22, in <module>
    tables = camelot.read_pdf('foo\testing.pdf')
  File "foo\Python\Python38-32\lib\site-packages\camelot\io.py", line 113, in read_pdf
    tables = p.parse(
  File "foo\Python\Python38-32\lib\site-packages\camelot\handlers.py", line 171, in parse
    t = parser.extract_tables(
  File "foo\Python\Python38-32\lib\site-packages\camelot\parsers\lattice.py", line 403, in extract_tables
    self._generate_image()
  File "foo\Python\Python38-32\lib\site-packages\camelot\parsers\lattice.py", line 220, in _generate_image
    with Ghostscript(*gs_call, stdout=null) as gs:
  File "foo\Python\Python38-32\lib\site-packages\camelot\ext\ghostscript\__init__.py", line 90, in Ghostscript
    return __Ghostscript(
  File "foo\Python\Python38-32\lib\site-packages\camelot\ext\ghostscript\__init__.py", line 39, in __init__
    rc = gs.init_with_args(instance, args)
  File "foo\Python\Python38-32\lib\site-packages\camelot\ext\ghostscript\_gsprint.py", line 169, in init_with_args
    rc = libgs.gsapi_init_with_args(instance, len(argv), c_argv)
OSError: exception: access violation writing 0x00000080
python
python-camelot
asked on Stack Overflow Feb 18, 2020 by Learner

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0