Line of Python 2 print syntax breaks xml conversion when run with Python 3.x set up
Some DUNE users are trying to run the xml conversion tool while they have a 3.x version of Python set up from Larsoft. There seems to be one line in Project.py that was not converted to Python 3 print syntax:
File "/cvmfs/fermilab.opensciencegrid.org/products/common/db/../prd/project_py/v1_4_0/NULL/bin/Project.py", line 629
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(list)?
#2 Updated by Vito Di Benedetto about 2 months ago
- Assignee changed from Yuyi Guo to Vito Di Benedetto
- Status changed from New to Assigned
I missed this, I just assigned this issue to me.
There is a updated local product area for Project-py that can be set up with:
Then all other setup from the wiki are the same.
That version is working with both python 2 and 3.
However I'll try to publish a new version of Project-py on CVMFS by tonight or by at least by tomorrow morning.