whirm/tgs-pc — Issue #6: global name 'community' is not defined
Author: rauljim
Created: 2012-03-05 12:51:43+00:00
State: open
Labels: bug

$ ./build_resources.sh
Compiling chatmessage.ui...
Compiling main.ui...
Compiling square.ui...
All done!
raul@cidacos:~/git/tgs-pc/src$ ./chat-demo.py
F dispersy/dispersy:337 __init__ | my lan address is 192.16.125.242:0
F dispersy/dispersy:338 __init__ | my wan address is 192.16.125.242:12345
F src/communication:18 __init__ | Dispersy listening at 12345
F dispersy/dispersy:426 __set_socket | update lan address 192.16.125.242:0 -> 192.16.125.242:12345
E dispersy/callback:529 _loop | See stderr for exception
E dispersy/callback:529 _loop |
Traceback (most recent call last):
File "/home/raul/git/tgs-pc/src/dispersy/callback.py", line 518, in _loop
result = call[0].send(actual_time - deadline if call[1] == "desync" else call[1])
File "./chat-demo.py", line 70, in dispersy
self.community = community
NameError: global name 'community' is not defined