After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707998 - orca can't find its modules after recent python dir changes
orca can't find its modules after recent python dir changes
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-12 22:19 UTC by Kalev Lember
Modified: 2013-09-12 22:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update orca executable for the recent python dir changes (928 bytes, patch)
2013-09-12 22:19 UTC, Kalev Lember
committed Details | Review

Description Kalev Lember 2013-09-12 22:19:01 UTC
I'm trying to run Orca under jhbuild and getting a traceback when orca tries to load its modules. Looks like a fallout from commit 38ee6dcf7ce6b20260c6498b31d31e74d7246680 that moved Orca's python modules from lib64 to lib.

$ jhbuild run orca
Traceback (most recent call last):
  • File "/media/build/gnome/bin/orca", line 42 in <module>
    from orca import debug
ImportError: No module named 'orca'

... and the orca executable has:

pyexecdir = '${exec_prefix}/lib64/python3.3/site-packages'.replace('${exec_prefix}', '/media/build/gnome')

The modules however are not installed in lib64/python3.3, but lib/python3.3.
Comment 1 Kalev Lember 2013-09-12 22:19:22 UTC
Created attachment 254823 [details] [review]
Update orca executable for the recent python dir changes

... so that orca finds its modules after commit
38ee6dcf7ce6b20260c6498b31d31e74d7246680
Comment 2 Joanmarie Diggs (IRC: joanie) 2013-09-12 22:28:37 UTC
Review of attachment 254823 [details] [review]:

And orca can be jhbuilt without weird python foo in the .jhbuildrc. Setting to accepted-commit_now, as "hell yeah!" ain't a status it seems.

THANK YOU!!
Comment 3 Kalev Lember 2013-09-12 22:30:15 UTC
Thanks!

Attachment 254823 [details] pushed as f1ea839 - Update orca executable for the recent python dir changes