-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I strongly suggest that you use the latest version from Debian squeeze 1.7.7 ( http://qa.debian.org/developer.php?packages=poker-network ) The "No JSON object could be decoded" error is expected (it means no request was sent). ~$ curl --data '{"type":"PacketPing"}' http://ss.booyaproject.org:19384/POKER_REST [] shows that your server runs as expected. The "Table 'poker.pokertables' doesn't exist" message is something completly different. It suggests that the database has not been initialized properly and the pokertables MySQL table has not been created. Cheers tomas locatelli wrote: > <!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { > font-size: 10pt; font-family:Verdana } --> .hmmessage P > {margin:0px;padding:0px;} body.hmmessage > {font-size:10pt;font-family:Verdana;} Hello there. > > I'm trying to run the poker-network in order to use it with jpoker. > I installed it on debian lenny. > > You can check the addess: > http://ss.booyaproject.org:19384/POKER_REST that gives the error. > Here's the output from the console: > > ./twisted/manhole/telnet.py:8: DeprecationWarning: As of Twisted > 2.1, twisted.protocols.telnet is deprecated. See > twisted.conch.telnet for the current, supported API. poll reactor > already installed Traceback (most recent call last): File > "/usr/sbin/pokerserver", line 32, in <module> run() File > "/usr/lib/python2.5/site-packages/pokernetwork/pokerserver.py", > line 144, in run app.startApplication(application, None) File > "/usr/lib/python2.5/site-packages/twisted/application/app.py", line > 713, in startApplication > service.IService(application).startService() File > "/usr/lib/python2.5/site-packages/twisted/application/service.py", > line 278, in startService service.startService() File > "/usr/lib/python2.5/site-packages/twisted/application/service.py", > line 278, in startService service.startService() File > "/usr/lib/python2.5/site-packages/pokernetwork/pokerservice.py", > line 232, in startService self.cleanupCrashedTables() File > "/usr/lib/python2.5/site-packages/pokernetwork/pokerservice.py", > line 2572, in cleanupCrashedTables > self.cleanupCrashedTable("pokertables.name = %s" % > self.db.literal((description['name'],))) File > "/usr/lib/python2.5/site-packages/pokernetwork/pokerservice.py", > line 2579, in cleanupCrashedTable cursor.execute(sql) File > "/usr/lib/pymodules/python2.5/MySQLdb/cursors.py", line 166, in > execute self.errorhandler(self, exc, value) File > "/usr/lib/pymodules/python2.5/MySQLdb/connections.py", line 35, in > defaulterrorhandler raise errorclass, errorvalue > _mysql_exceptions.ProgrammingError: (1146, "Table > 'poker.pokertables' doesn't exist") [r...@ss > site-packages]#pokerserver ./twisted/manhole/telnet.py:8: > DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is > deprecated. See twisted.conch.telnet for the current, supported > API. poll reactor already installed PokerAuth: get_auth_instance: > trying to load: '' PokerAuth: get_auth_instance: falling back on > pokerauth.get_auth_instance, script not found: '' Traceback (most > recent call last): File > "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line > 251, in dataReceived why = self.lineReceived(line) File > "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1573, > in lineReceived self.allContentReceived() File > "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1641, > in allContentReceived req.requestReceived(command, path, version) > File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line > 807, in requestReceived self.process() --- <exception caught here> > --- File "/usr/lib/python2.5/site-packages/twisted/web/server.py", > line 125, in process self.render(resrc) File > "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 132, > in render body = resrc.render(self) File > "/usr/lib/python2.5/site-packages/pokernetwork/pokersite.py", line > 218, in render args = simplejson.loads(data, encoding = 'UTF-8') > File "/usr/lib/pymodules/python2.5/simplejson/__init__.py", line > 401, in loads return cls(encoding=encoding, **kw).decode(s) File > "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 402, in > decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File > "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 420, in > raw_decode raise JSONDecodeError("No JSON object could be decoded", > s, idx) simplejson.decoder.JSONDecodeError: No JSON object could be > decoded: line 1 column 0 (char 0) > > > > Any idea? Thanks in advance. > > ---------------------------------------------------------------------- > Non sei a casa? Accedi a Messenger dal Web. > <http://www.messenger.it/web/default.aspx> > > ---------------------------------------------------------------------- > > > _______________________________________________ Pokersource-users > mailing list [email protected] > https://mail.gna.org/listinfo/pokersource-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkw2BaAACgkQ8dLMyEl6F20yHgCfaZZzk6ffU+MRqEyEMl/qO09Y sDsAn1sTHYQj40bSK5HyXC/o+uWsb5FM =+or8 -----END PGP SIGNATURE-----
<<attachment: loic.vcf>>
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
