First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60091
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kristian Benoit <kbenoit@opersys.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kiki.patch the file world.py did not import types which is needed in the file, so it add it. patch Kristian Benoit 2004-08-11 14:37 0000 321 bytes Details | Diff
kiki-0.9.0.ebuild kiki-0.9.0.ebuild text/plain Rob Cakebread 2004-08-19 22:32 0000 1.87 KB Details
gentoo-makefile.patch Fix linking patch Bryan Østergaard (RETIRED) 2004-08-28 07:28 0000 486 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60091 depends on: Show dependency tree
Show dependency graph
Bug 60091 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-11 14:31 0000
After emerging kiki I could not play, starting a new game did a segfault with
this error:
 File "/usr/share/games/kiki//py/world.py", line 137, in create
    if type (world_dict) == types.StringType:
NameError: name 'types' is not defined
[ERROR] KikiPyAction::perform failed "kikipy action"
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
free(): invalid pointer 0x84fd1e0!


Reproducible: Always
Steps to Reproduce:
1. Emerge kiki
2. Try a new game.

------- Comment #1 From Kristian Benoit 2004-08-11 14:37:16 0000 -------
Created an attachment (id=37247) [edit]
the file world.py did not import types which is needed in the file, so it add
it.

I dont know a lot about python, but it seems to be related to a newer version
of python which need to import types to use types.StringType as opposed to old
versions.

------- Comment #2 From Mr. Bones. 2004-08-18 03:37:38 0000 -------
kiki needs python 2.2 in order to work correctly.  Is that what version of
python you're using?

------- Comment #3 From Mr. Bones. 2004-08-19 17:21:32 0000 -------
Any of the python group feel like taking a shot at making kiki work with python
2.3?

------- Comment #4 From Rob Cakebread 2004-08-19 22:32:08 0000 -------
Created an attachment (id=37783) [edit]
kiki-0.9.0.ebuild

This ebuild will make it compile with 2.3. It says in the Readme it will work
with Python 2.3*, but I don't have a 3D card in my machine to test it on at the
moment. 

------- Comment #5 From Mr. Bones. 2004-08-20 00:15:08 0000 -------
Here's the traceback I get using that ebuild:

Traceback (most recent call last):
  File "/usr/share/games/kiki//py/env.py", line 70, in ?
    execfile(kikipy_path + "world.py")
  File "/usr/share/games/kiki//py/world.py", line 4, in ?
    import random
  File "/usr/lib/python2.3/random.py", line 62, in ?
    import _random
ImportError: /usr/lib/python2.3/lib-dynload/_random.so: undefined symbol: PyMem_Malloc

------- Comment #6 From Bryan Østergaard (RETIRED) 2004-08-28 07:28:25 0000 -------
Created an attachment (id=38391) [edit]
Fix linking

Rob Cakebreads ebuild just needs Kristian Benoits import fix + this little fix
to make it link against the correct library to work with python-2.3. I haven't
tested it against python-2.2 but the game works fine using 2.3 now.

Adjusting the ebuild to include this patch is left as an exercise to the reader
:)

------- Comment #7 From Mr. Bones. 2004-08-30 13:52:03 0000 -------
Huge thanks to the python guys. kiki-0.9.0-r1.ebuild should be more fun with
newer python.

First Last Prev Next    No search results available      Search page      Enter new bug