Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61323 - OpenRPG fails to start
Summary: OpenRPG fails to start
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 20:45 UTC by Nathan Adams
Modified: 2004-08-23 14:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Adams 2004-08-22 20:45:53 UTC
OpenRPG fails to start; here's the error message:

$ python2 start.pyw
Traceback (most recent call last):
File "start.pyw", line 3, in ?
import pyver
ImportError: No module named pyver

Reproducible: Always
Steps to Reproduce:
1. cd /usr/share/games/openrpg/
2. python2 start.pyw
3.

Actual Results:  
Traceback (most recent call last):
File "start.pyw", line 3, in ?
import pyver
ImportError: No module named pyver

Expected Results:  
The program should start.

python: 2.3.3
wxpython: 2.4.2.4
openrpg: 1.6.1
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-08-23 03:38:29 UTC
Why are you trying to call the python script directly instead of using the scripts installed in /usr/games/bin?
Comment 2 Nathan Adams 2004-08-23 04:56:28 UTC
Because there is no bloody documentation that even hits that a script may have been installed in /usr/games/bin. Maybe the ebuild could print out such a hint after the rest of the installation is complete...
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-08-23 14:33:02 UTC
Most packages install some kind of executable.  I don't think it's unreasonable to expect people to look in the bin directories.  That is certainly more in line with the "expected" behavior than changing to some place in /usr/share and running python on a file.
Comment 4 Nathan Adams 2004-08-23 14:43:37 UTC
The documentation for OpenRPG expects you to do just that:
http://www.openrpg.com/index.php?page=install

It's pretty crappy in that the 'cd /install/path' is not explicit in their docs, but that is the procedure.

How hard is it to add a print statement to the end of the ebuild?

>>> Run /usr/games/bin/openrpg to play the game. Have fun!

Gentoo already prints out a note about needing to be in the games group. In fact, we should do this for ALL ebuilds IMHO.