Closed ravedata closed 4 years ago
win10 64bit python35 32bit Ghostscript9.05 32bit
another issue is registry value may under HKEY_CURRENT_USER not HKEY_LOCAL_MACHINE
is this bug resolved?
Issue: OSError: exception: access violation writing 0x0EA8B7B0
System config: Windows-10-10.0.17134-SP0 64bit Python 3.7.3 OpenCV 4.1.0 Camelot 0.7.2 NumPy 1.16.2 Ghostscript 132bit
Issue: OSError: exception: access violation writing 0x0EA8B7B0 Python 3.7.3 Camelot 0.7.2 Ghostscript 32bit
Windows 7 Python 3.7.1 Ghostscript 64bit
File "C:\Users\mhssm015\AppData\Local\Programs\Python\Python37-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 0x0DECE6A8
I am also facing the same issue. Has anyone able to resolve this?
Same issue here Python 3.7-32bit Ghostscript 32bit Windows 10
Just went through this : https://github.com/camelot-dev/camelot/issues/31
Solved installing camelot from the repo instead of pip install .
@vinayak-mehta @donfal71
Hi Guys,
I'm new to Python and installed required files for Camelot, ghostscript and facing issue which has mentioned above. But you guys are giving solution that "installing camelot from the repo instead of pip install ." Can i know repo means GIT ?? Using pycharm studio how can i install camelot from repo or any other options to resolve issue. Could you please help me telling indetail how to install Camelot using repo with all steps. So that i can work on my project work.
I first use "pip install camelot-py[cv]", I got same error. I uninstalled the camelot-py package with "pip uninstall camelot-py". Then download the source from git, install the package with "python setup.py install"
Problem solved.
Hi,
Earlier I was using Python 3.7 and gs64winc and everything was working fine. I had to change the interpretor to Pyton 3.5 32 bit for comaptibility issues with external app UiPath. After this I got an error "Make sure that ghostscript is installed". I uninstalled 64 bit ghost script and reinstalled 32 bit ghost script and changed the path in Environment variables accordingly. But now I am getting the following error:-
File "", line 1, in
extractAndSaveTable_20181102_kaiji("C://vedant//JapanesePdfSample//20181102_kaiji.pdf","C://vedant//JapanesePdfSample//JapaneseSampleExcel//")
File "", line 196, in extractAndSaveTable_20181102_kaiji
tables1 = cm.read_pdf(decryptedFileNameWithPath,pages='1-end',line_scale=40,shift_text=[''])
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\io.py", line 106, in read_pdf layout_kwargs=layout_kwargs, **kwargs)
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\handlers.py", line 161, in parse layout_kwargs=layout_kwargs)
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\parsers\lattice.py", line 351, in extract_tables self._generate_image()
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\parsers\lattice.py", line 193, in _generate_image with Ghostscript(*gs_call, stdout=null) as gs:
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\ext\ghostscript__init__.py", line 93, in Ghostscript stderr=kwargs.get('stderr', None))
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\ext\ghostscript__init.py", line 39, in init__ rc = gs.init_with_args(instance, args)
File "C:\Users\hp\AppData\Local\Programs\Python\Python35-32\lib\site-packages\camelot\ext\ghostscript_gsprint.py", line 167, in init_with_args rc = libgs.gsapi_init_with_args(instance, len(argv), c_argv)
OSError: exception: access violation writing 0x0CEBB7B0
Please suggest.