Package: python-tofu
Version: 0.5-3
Severity: normal

Running

python run_demo.py --server
in one window
and
python run_demo.py --client localhost username
in the other window
gives nothing but a blank game board.
When you hit any key, you get an error message much like this:

$ python run_demo.py --client localhost localhost
* Tofu * IDLER created !
Exception in Tkinter callback
Traceback (most recent call last):
        File "lib-tk/Tkinter.py", line 1348, in __call__
                return self.func(*args)
        File "/usr/share/doc/python-tofu/examples/demo.py", line 419, in 
on_move_right
                def on_move_right (self, event = None): 
self.player_character.action = Action(ACTION_MOVE_RIGHT)
AttributeError: 'NoneType' object has no attribute 'action'
Traceback (most recent call last):
        File "run_demo.py", line 76, in ?
                tofu.client.serve_forever(hostname)
        File "/var/lib/python-support/python2.4/tofu/client.py", line 251, in 
serve_forever
                tofu.NOTIFIER.transport.loseConnection()
AttributeError: 'Notifier' object has no attribute 'transport'
$ 

Note that it works when run as:
$ run_demo.py --single username

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-tofu depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.5      automated rebuilding support for p
ii  python-twisted-core           2.5.0-2    Event-based framework for internet

Versions of packages python-tofu recommends:
ii  python-cerealizer             0.6-1      secure pickle-like module for Pyth

-- no debconf information



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

Reply via email to