#33 Client shut downs: switzerland.lib.tweaked_cerealizer.NonCer

open
nobody
client (17)
5
2011-09-25
2011-09-25
Pavol Luptak
No

When I run switzerland client to my switzerland server, I received in few seconds:

nterface is now eth0
Logging events to /var/log/switzerland-client.log
Looking for ntpd...
Couldn't run ntpdc. Will try something else...
Believing the maximum clock error reported by 3 timeservers
We believe this system's clock is accurate to within 0.029249 seconds
Connecting to trip.sk:7778
couldn't connect to trip.sk:7778
root@trip:/home/wilder/Desktop/switzerland-0.1.0# ./switzerland-client -s trip.sk
--------------------------------------------------------------------------------
Welcome to Switzerland.
READ THE PRIVACY AND SECURITY SECTIONS OF THE README.txt!!

Once you've done that... this is a Version Zero alpha release. It's sure to
break at some point. If/when that happens, please let us know by email
(switzerland-devel@eff.org), IRC (#switzerland on irc.oftc.net) or bug report
( https://sourceforge.net/tracker/?func=browse&group_id=233013&atid=1088569 )
--------------------------------------------------------------------------------
interface is now eth0
Logging events to /var/log/switzerland-client.log
Looking for ntpd...
Couldn't run ntpdc. Will try something else...
Believing the maximum clock error reported by 3 timeservers
We believe this system's clock is accurate to within 0.032157 seconds
Connecting to trip.sk:7778
Private IP: '172.16.0.2' ; Public IP: '188.167.97.186'
Traceback (most recent call last):
File "./switzerland-client", line 46, in <module>
Alice.main()
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/client/Alice.py", line 166, in main
me = Alice(config=AliceConfig(getopt=True))
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/client/Alice.py", line 91, in __init__
self.link.send_message("parameters", [self.params])
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/common/Protocol.py", line 198, in send_message
cerealizer.dump(msg, self.sockfile)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 582, in dump
Dumper().dump(obj, file)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 145, in dump
self.collect(root_obj)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 187, in collect
handler.collect(obj, self)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 336, in collect
for i in obj: dumper.collect(i)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 187, in collect
handler.collect(obj, self)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 359, in collect
for i in obj.itervalues(): dumper.collect(i)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 187, in collect
handler.collect(obj, self)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 318, in collect
for i in obj: dumper.collect(i)
File "/home/wilder/Desktop/switzerland-0.1.0/switzerland/lib/tweaked_cerealizer.py", line 186, in collect
if not handler: raise NonCerealizableObjectError("Object of class/type '%s' cannot be cerealized! Use cerealizer.register to extend Cerealizer support to other classes." % obj.__class__)
switzerland.lib.tweaked_cerealizer.NonCerealizableObjectError: Object of class/type '<type 'sys.version_info'>' cannot be cerealized! Use cerealizer.register to extend Cerealizer support to other classes.

Discussion