camelot-dev / camelot-dev/excalibur

Staying in refresh page and not displaying document

Open
#51 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

127.0.0.1 - - [08/May/2019 17:29:26] "GET /workspaces/35dd602d-2eec-44e7-a51f-36f6b4e4862b HTTP/1.1" 200 -
ERROR:root:exception: access violation writing 0x0E80C1B0
Traceback (most recent call last):
File "c:\users\naveen\appdata\local\programs\python\python37-32\lib\site-packages\excalibur\tasks.py", line 44, in split
with Ghostscript(*gs_call, stdout=null) as gs:
File "c:\users\naveen\appdata\local\programs\python\python37-32\lib\site-packages\camelot\ext\ghostscript\__init__.py", line 93, in Ghostscript
stderr=kwargs.get('stderr', None))
File "c:\users\naveen\appdata\local\programs\python\python37-32\lib\site-packages\camelot\ext\ghostscript\__init__.py", line 39, in __init__
rc = gs.init_with_args(instance, args)
File "c:\users\naveen\appdata\local\programs\python\python37-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 0x0E80C1B0

Contributor guide

Open the contributing guide

Research direction

Start with excalibur/tasks.py:44 and the Camelot Ghostscript wrapper at camelot/ext/ghostscript/__init__.py and _gsprint.py, then reproduce the /workspaces/35dd602d-2eec-44e7-a51f-36f6b4e4862b request on the reported Python 3.7 32-bit setup. Done means the workspace no longer remains on refresh and the document is displayed without the access-violation traceback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.