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

cefpython draw fails on windows #22

Open
hugohadfield opened this issue Mar 13, 2019 · 0 comments
Open

cefpython draw fails on windows #22

hugohadfield opened this issue Mar 13, 2019 · 0 comments

Comments

@hugohadfield
Copy link
Member

See pygae/clifford#85
Example error message:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "E:\projects\pyganja\pyganja\script_api.py", line 237, in draw
    render_scene_string_appropriately(str(sc))
  File "E:\projects\pyganja\pyganja\script_api.py", line 223, in render_scene_string_appropriately
    render_cef_script(scene_string, sig=sig, grid=grid, scale=scale, gl=gl)
  File "E:\projects\pyganja\pyganja\script_api.py", line 185, in render_cef_script
    p.start()
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\process.py", line 105, in start
    self._popen = self._Popen(self)
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
    reduction.dump(process_obj, to_child)
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'render_cef_script.<locals>.render_script'
>>> Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "E:\Miniconda3\envs\py3\lib\multiprocessing\spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
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