FS#26150 - [orca] should NOT depend on python2-json-py

Attached to Project: Arch Linux
Opened by Chris Brannon (cmb) - Thursday, 29 September 2011, 18:46 GMT
Last edited by Ionut Biru (wonder) - Thursday, 29 September 2011, 19:09 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Orca uses the JSON implementation from Python's standard library; it
does not use python2-json-py.
python2-json-py shadows the json module from Python's standard library,
causing this version of orca to fail.
E.G., /usr/lib/python2.7/site-packages/orca/settings_manager.py contains
the line
from json import load,
but python2-json-py provides no load function.

Steps to reproduce:
Try to start orca. You'll get a traceback like this one:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/orca/orca.py", line 526, in <module>
from settings_manager import SettingsManager
File "/usr/lib/python2.7/site-packages/orca/settings_manager.py", line 33, in <module>
from json import load
ImportError: cannot import name load
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 29 September 2011, 19:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  orca-3.2.0-2
Comment by Ionut Biru (wonder) - Thursday, 29 September 2011, 18:55 GMT
thanks for reporting this. i'll drop the dependency asap

Loading...