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

syntax error while compiling #33

Closed
shibumi opened this issue Nov 14, 2016 · 5 comments
Closed

syntax error while compiling #33

shibumi opened this issue Nov 14, 2016 · 5 comments

Comments

@shibumi
Copy link

shibumi commented Nov 14, 2016

File "./vstruct/defs/windows/win_5_1_i386/win32k.py", line 358
class ACCESS_STATE::__unnamed(vstruct.VStruct):
^
SyntaxError: invalid syntax

@joxeankoret
Copy link
Owner

Version of python, please?

@shibumi
Copy link
Author

shibumi commented Nov 21, 2016

Python 2.7.12

@joxeankoret
Copy link
Owner

joxeankoret commented Nov 22, 2016

Sounds weird, should work properly. Is it Linux?

UPDATE: Found out who you're. I cannot reproduce that problem by running pyew.py. How are you calling it?

@shibumi
Copy link
Author

shibumi commented Nov 22, 2016

I am not running it, I want to compile it for faster execution:
Try this in the pyew root dir. This is the standard procedure what we do in Arch Linux with bigger python projects for better benchmarks.

  python2 -m compileall .
  python2 -O -m compileall .

joxeankoret pushed a commit that referenced this issue Nov 22, 2016
@joxeankoret
Copy link
Owner

Oh, that's different! From what I can tell, it seems that file is never used by VTrace (the part that is failing.) So, it was as easy as removing that file (and a little mod in the z80 disassembler also from VTrace).

Fixed with 41d3d78

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