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#56912 - [ogre] Cannot launch samples

Attached to Project: Community Packages
Opened by Ashley Whetter (AWhetter) - Sunday, 31 December 2017, 01:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 15:21 GMT
Task Type Bug Report
Category Packages
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 0
Private No

Details

Description:
I cannot run the "bites" sample because the cfg files for ogre are in the wrong directory. The PKGBUILD moves them to /opt/OGRE/samples, but ogre looks for them in the original location of /usr/share/OGRE. The other samples may also fail but I haven't tested.

Additional info:
Tested with ogre 1.10.10-2
If I move the cfg files to /usr/share/OGRE then the sample runs. I can also cd into /opt/OGRE/samples and the sample works.

Steps to reproduce:
Run the "bites" sample with `PYTHONPATH=/usr/lib/python3.6/dist-packages/:$PYTHONPATH python /usr/share/OGRE/Samples/Python/bites_sample.py`.
Click "Select One" on the ogre window.
The window closes with:
...
/usr/share/OGRE/plugins.cfg not found, automatic plugin loading disabled.
...
Error: Shell widget menu has zero width and/or height
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 10 February 2018, 15:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  I think it's fixed but I didn't get an answer from the bug creator.
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 02 January 2018, 08:12 GMT
I looked into this a little bit. What do you reckon is a good fix here?
Comment by Ashley Whetter (AWhetter) - Wednesday, 03 January 2018, 05:13 GMT
Not moving the cfg files from their original location worked for me. The PKGBUILD also changes the permissions of the files so maybe keep changing the permissions and not move the files?
I don't really know if this has any repercussions. I've only been playing about with simple cases at this point.
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 03 January 2018, 11:35 GMT
Not moving them will make the sample browser fail.
Comment by Ashley Whetter (AWhetter) - Wednesday, 03 January 2018, 15:14 GMT
Sorry I meant move the browser as well. It should be in the same folder as the cfg files so still work right?
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 04 January 2018, 15:10 GMT
I'll check it in a bit but you could help me by rebuilding the package with a configuration that you think would work and testing it.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 29 January 2018, 20:32 GMT
Can you check out the newest package?

Loading...