twistd crashed with OperationalError in __init__(). Happened many times on a clean hardy install

Bug #227665 reported by Gábor Náray
106
This bug affects 10 people
Affects Status Importance Assigned to Milestone
poker-network (Ubuntu)
Fix Released
Undecided
Loic Dachary

Bug Description

I am just leaving the apport to do the job.

ProblemType: Crash
Architecture: i386
Date: Wed May 7 10:58:15 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/twistd
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: ath_hal fglrx
Package: python-twisted-core 2.5.0-2build2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/twistd --pidfile=/var/run/poker-network-server.pid --python /usr/share/pycentral/python-poker-network/site-packages/pokernetwork/pokerserver.py --logfile=/var/log/poker-network-server.log --quiet --no_save --reactor=poll
ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PythonArgs: ['/usr/bin/twistd', '--pidfile=/var/run/poker-network-server.pid', '--python', '/usr/share/pycentral/python-poker-network/site-packages/pokernetwork/pokerserver.py', '--logfile=/var/log/poker-network-server.log', '--quiet', '--no_save', '--reactor=poll']
SourcePackage: twisted
Title: twistd crashed with OperationalError in __init__()
Uname: Linux 2.6.24-16-generic i686
UserGroups:

Tags: apport-crash
Revision history for this message
Gábor Náray (xlii) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

the init script should be fixed first in poker-network. please check if this fix is enough.

the init script tries to use a script in the pycentraldir; please just
use the site-packages directory.

  pv=$(python -c 'import sys; print sys.version[:3]')
  serverscript=/usr/lib/python$pv/site-packages/pokernetwork/pokerserver.py

same for all other scripts

Loic Dachary (dachary)
Changed in poker-network (Ubuntu):
assignee: nobody → Loic Dachary (dachary)
Loic Dachary (dachary)
Changed in poker-network (Ubuntu):
status: New → In Progress
Revision history for this message
Loic Dachary (dachary) wrote :

The suggested patch has been applied and is available in version 1.7.7 of the package.

r5649 | loic | 2009-04-12 09:45:26 +0200 (Sun, 12 Apr 2009) | 5 lines

pv=$(python -c 'import sys; print sys.version[:3]')
botscript=/usr/lib/python$pv/site-packages/pokernetwork/pokerbot.py

instead of wrong guessing

------------------------------------------------------------------------

Loic Dachary (dachary)
Changed in poker-network (Ubuntu):
status: In Progress → Fix Released
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.