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

parser.py cannot be run from different directory #44

Open
rvernica opened this issue Jul 31, 2013 · 0 comments
Open

parser.py cannot be run from different directory #44

rvernica opened this issue Jul 31, 2013 · 0 comments

Comments

@rvernica
Copy link

The parser.py script cannot be run from a different directory as the script cannot find the preprocessor.pijnu file:

> python PATH_TO_MEDIAWIKI-PARSER_DIR/parser.py 
Traceback (most recent call last):
  File "/home/vernica/usr/src/mediawiki-parser/parser.py", line 8, in <module>
    preprocessorGrammar = file("preprocessor.pijnu").read()
IOError: [Errno 2] No such file or directory: 'preprocessor.pijnu'
Exit 1
rvernica added a commit to rvernica/mediawiki-parser that referenced this issue Jul 31, 2013
@rvernica rvernica mentioned this issue Jul 31, 2013
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