PokerTournamentClock freezes in a blue screen

Bug #425971 reported by soldy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTK Tournament Poker Clock
Triaged
High
Markus Korn

Bug Description

Hi,
when I start PokerTournamentClock it opens a blue windows and nothing more happens. Can you help me?

Related branches

Revision history for this message
Markus Korn (thekorn) wrote :

Hi soldy,
Thanks for reporting this, whenever you start the poker clock the backgroud should indeed turn blue and a config dialog should appear, which does not happen, correct?
Are you using the debian package from the PPA, or are you running the Poker clock directly from the source?
What's your python version (open a terminal and post the output of python -V ) ?
Can you please run PokerTournamentClock --spawn_server in a Terminal, some debug information should be printed to the Terminal, can you please post them (by typing ALT+TAB you should be able to switch from your blue screen of the clock back to the terminal)

Thanks for debugging this for me,
Markus

Changed in gtk-poker-clock:
status: New → Incomplete
Revision history for this message
soldy (lucagianfelici) wrote :
Download full text (22.6 KiB)

Hi Markus,
I'm using PokerTournamentClock from Games menu under Applications. I have Python 2.6.2.
Here the debug information (I must stop the program with CTRL+C)
---------------------------------------------------------------------------------------------
runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 411, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 494, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 505, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 390, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
    exec fileObj in d, d
  File "/usr/bin/pokerclock_server.py", line 26, in <module>
    from PokerTournamentClock.server.tournament_server import TournamentServerFactory
  File "/usr/lib/python2.6/dist-packages/PokerTournamentClock/server/tournament_server.py", line 22, in <module>
    import simplejson
exceptions.ImportError: No module named simplejson

Failed to load application: No module named simplejson

DEBUG:root:started connection with <twisted.internet.tcp.Connector instance at 0x9e8e4cc>
DEBUG:root:connection failed: Connection was refused by other side: 111: Connessione rifiutata.
DEBUG:root:try to run '/usr/bin/pokerclock_server.py'
ERROR:root:attempt to spawn server failed with errorcode=1
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 694, in run
    runApp(config)
  File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 411, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 494, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 505, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 390, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
    exec fileObj in d, d
  File "/usr/bin/pokerclock_server.py", line 26, in <module>
    from PokerTournamentClock.server.tournament_server import TournamentServerFactory
  File "/usr/lib/python2.6/dist-packages/PokerTournamentClock/server/tournament_server.py", line 22, in <module>
    import simplejson
exceptions.ImportError: No module ...

Revision history for this message
Markus Korn (thekorn) wrote :

Thanks soldy, this information helps alot.
To fix this bug the tournament clock has to use the json modul as default, and fallback to simplejson. And also there need to be some packaging magic to conditional pull-in python-simplejson for python versions <2.6
I will prepare a fix and upload a fixed version to my PPA tomorrow morning.

Thanks again,
and thanks for using this tournament clock

Markus

Changed in gtk-poker-clock:
assignee: nobody → Markus Korn (thekorn)
importance: Undecided → High
status: Incomplete → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.