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

No such file or directory: 'WebIDLGrammar.pkl' #81

Open
victorlevasseur opened this issue Apr 9, 2016 · 1 comment
Open

No such file or directory: 'WebIDLGrammar.pkl' #81

victorlevasseur opened this issue Apr 9, 2016 · 1 comment

Comments

@victorlevasseur
Copy link

Hi,

I'm trying to build box2d.js (to use ALLOW_MEMORY_GROWTH) on Linux. However, the build process stops because of this error :

python /home/victor/Developpement/emsdk_portable/emscripten/master/tools/webidl_binder.py Box2D_v2.3.1.idl box2d_glue
Traceback (most recent call last):
  File "/home/victor/Developpement/emsdk_portable/emscripten/master/tools/webidl_binder.py", line 42, in <module>
    p = WebIDL.Parser()
  File "/home/victor/Developpement/emsdk_portable/emscripten/master/third_party/WebIDL.py", line 4919, in __init__
    picklefile='WebIDLGrammar.pkl')
  File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 3253, in yacc
    read_signature = lr.read_pickle(picklefile)
  File "/usr/lib/python2.7/site-packages/ply/yacc.py", line 1986, in read_pickle
    in_f = open(filename, 'rb')
IOError: [Errno 2] No such file or directory: 'WebIDLGrammar.pkl'
Makefile:92: recipe for target 'box2d_glue.cpp' failed
make: *** [box2d_glue.cpp] Error 1

@kripken
Copy link
Owner

kripken commented Apr 11, 2016

Does webidl stuff work in general on that machine? try ./tests/runner.py test_webidl in emscripten root. No idea how that could fail, but maybe reinstalling the latest sdk might help?

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

2 participants