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?



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to