Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57827 - [ogre] Python Bindings Module Path

Attached to Project: Community Packages
Opened by Steffen Pankratz (kratz00) - Tuesday, 13 March 2018, 20:37 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 16 March 2018, 19:05 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I wanted to try out the Ogre Python bindings, but the Ogre Python modules can not be imported by default.
They get installed in /usr/lib/python3.6/dist-packages/

But Python3 is only looking in:

/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/lib/python3.6/site-packages
/usr/lib/python3.6/site-packages/gtk-2.0

As a workaround I can start Python3 like 'PYTHONPATH=/usr/lib/python3.6/dist-packages/ python3' so the Ogre Python modules get found.

My proposal is to install the Ogre Python modules instead of in /usr/lib/python3.6/dist-packages/, in /usr/lib/python3.6/site-packages/.
If you would be okay with this solution, I have a patch I can provide.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Friday, 16 March 2018, 19:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  ogre 1.10.11-4
Comment by Eli Schwartz (eschwartz) - Tuesday, 13 March 2018, 21:34 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Packages → Upstream Bugs)
  • Task assigned to Sven-Hendrik Haase (Svenstaro)
Comment by Doug Newgard (Scimmia) - Wednesday, 14 March 2018, 03:49 GMT
I believe Debian uses dist-packages.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 16 March 2018, 07:01 GMT
Try now.
Comment by Steffen Pankratz (kratz00) - Friday, 16 March 2018, 18:45 GMT
1.10.11-4 fixes this issue for me, thank you very much!

Loading...