Both the parser and the lexer attempt to write out parse tables each
time they are run, if they have been told to do so.
If an application that uses ply is installed in an area only root can
write to, this will cause the application to crash.
I'm currently using the following hacky fix:
Wrap line 176 in lex.py with
try:
# line 176
except IOError:
pass
Wrap line 2549 in yacc.py with
try:
# line 2549
except IOError:
pass
This removed annoying error messages and program crashes.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---