[pkg-ggz-maintainers] Bug#574663: Still not solved?!

Tim Enger timenger at googlemail.com
Tue Oct 12 10:47:45 UTC 2010


Hi,

I tested the "workaround" of removing the "from Numeric import *" line
from "/usr/games/ggzboard" on my system (Debian Squeeze)

Unfortunately, I the program doesn'nt work after this.
I get a new error:

$ ggzboard
>>>>> ggzboard: starting with datapath /usr/share/ggz/ggzboard/
modulepath /usr/lib/ggz-python/ggzboard/
>>>>> ggzboard: args ['/usr/games/ggzboard']
Traceback (most recent call last):
  File "/usr/games/ggzboard", line 1266, in <module>
    core.load(gamename, list)
  File "/usr/games/ggzboard", line 200, in load
    os.path.walk(MODULEPATH, self.walker, None)
  File "/usr/lib/python2.6/posixpath.py", line 228, in walk
    func(arg, top, names)
  File "/usr/games/ggzboard", line 193, in walker
    self.loadgame(m.group(1))
  File "/usr/games/ggzboard", line 219, in loadgame
    mod = imp.load_module("ggzboardgame", fileobj, filename, desc)
  File "/usr/lib/ggz-python/ggzboard/module_hnefatafl.py", line 5, in
<module>
    from Numeric import *
ImportError: No module named Numeric


Removing the line "from Numeric import *" here just causes
more problems,

$ ggzboard
>>>>> ggzboard: starting with datapath /usr/share/ggz/ggzboard/
modulepath /usr/lib/ggz-python/ggzboard/
>>>>> ggzboard: args ['/usr/games/ggzboard']
Traceback (most recent call last):
  File "/usr/games/ggzboard", line 1266, in <module>
    core.load(gamename, list)
  File "/usr/games/ggzboard", line 200, in load
    os.path.walk(MODULEPATH, self.walker, None)
  File "/usr/lib/python2.6/posixpath.py", line 228, in walk
    func(arg, top, names)
  File "/usr/games/ggzboard", line 193, in walker
    self.loadgame(m.group(1))
  File "/usr/games/ggzboard", line 219, in loadgame
    mod = imp.load_module("ggzboardgame", fileobj, filename, desc)
  File "/usr/lib/ggz-python/ggzboard/module_hnefatafl.py", line 303, in
<module>
    ggzboardgame = Game()
  File "/usr/lib/ggz-python/ggzboard/module_hnefatafl.py", line 23, in
__init__
    self.board = resize(self.board, (self.width, self.height))
NameError: global name 'resize' is not defined

Is there still no workaround/fix?





More information about the pkg-ggz-maintainers mailing list