-
Notifications
You must be signed in to change notification settings - Fork 47
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
Crash on the correct Python 3 script with Syntax error
#22
Comments
It looks like you were running doxypypy under Python 2 for Python 3 code. Please try it again running doxypypy under Python 3. Just use your favorite Python package manager to install it for Python 3 and tell Doxygen to use that version. Since doxypypy uses the Python interpreter to figure out Python code, running it under Python 2 for Python 3 code isn't supported. |
You are right. I am using it on Windows (that is clear from the error message). When installing doxypypy (and using the Python Launcher for Windows), I just typed So, I did install doxypypy via Then, when changing the To summarize, I can confirm it works fine on Windows for Python 2.7 (32 bit), Python 3.4 (32 bit), and also for Python 3.5 (64 bit). Thanks a lot, |
Excellent news, thank you. It's probably something we should add to the documentation. It's important to run doxypypy with the version of Python used by the source being analyzed. |
Hi and thanks for the filter. I have started the asciidoc porting to Python 3, and I have used Doxygen to get a big picture. The script was converted with
2to3
. The syntax error is reported for theprint(line, file=f)
(which is not what is normally used, in my opinion, anyway):The problem can be manifested at the sources from https://github.com/pepr/asciidoc/tree/py3dev, commit point
a1799470619
. The last official Doxygen and graphviz were installed. When the line is replaced byf.write(line + '\n')
, the filter works fine -- see commitd64db2f9bed
.The text was updated successfully, but these errors were encountered: