#457: BibEditMulti breaks my Atlantis installation
----------------------+-----------------------------------------------------
Reporter: jblayloc | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: v1.0
Component: BibEdit | Version:
Keywords: |
----------------------+-----------------------------------------------------
I installed an atlantis site from scratch on my RHEL5 machine, but it
doesn't work. The exception report says:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/invenio/webinterface_layout.py",
line 85, in ?
from invenio.websearch_webinterface import WebInterfaceUnAPIPages
File "/usr/lib/python2.4/site-
packages/invenio/websearch_webinterface.py", line 125, in ?
from invenio.bibeditmulti_webinterface import
WebInterfaceMultiEditPages
File "/usr/lib/python2.4/site-
packages/invenio/bibeditmulti_webinterface.py", line 210
condition_exact_match = True if
int(current_subfield["conditionSubfieldExactMatch"]) == 0 else False
^
SyntaxError: invalid syntax
Locals by frame, innermost last
I suspect the trouble is that the trinary if isn't supported in Python
2.4....
So should this get patched, or should we raise the minimum Python version
to 2.6?
--
Ticket URL: <http://invenio-software.org/ticket/457>
Invenio <http://invenio-software.org>