moosicd produces traceback when killed with a signal

Bug #74580 reported by Forest Bond
4
Affects Status Importance Assigned to Milestone
moosic (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

To reproduce:
---------------------------------------------
$ moosicd -S -c ~/moosicast/moosicd
07:01:45PM [NOTICE] Starting up.
[ press ctl-c ]
Traceback (most recent call last):
  File "/usr/bin/moosicd", line 6, in ?
    main(sys.argv)
  File "/usr/lib/python2.4/site-packages/moosic/server/main.py", line 511, in main
    queue_consumer()
  File "/usr/lib/python2.4/site-packages/moosic/server/main.py", line 206, in queue_consumer
    time.sleep(0.05)
  File "/usr/lib/python2.4/site-packages/moosic/server/main.py", line 467, in quit
    data.log(Log.NOTICE, "Killed by signal %d (PID: %d)." %
TypeError: int argument required
07:01:47PM [NOTICE] Shutting down (PID: 2835).
---------------------------------------------

I will attach a patch shortly.

-Forest

Related branches

Revision history for this message
Forest Bond (forest-bond) wrote :

Attached is a patch that fixes this issue. It was created using dbs-edit-patch.

Revision history for this message
Steve Kowalik (stevenk) wrote :

moosic (1.5.2-2ubuntu1) feisty; urgency=low

  * Apply patch from Forest Bond to fix traceback on Ctrl-C. (LP: #74580)
  * Modify Maintainer address.

 -- Steve Kowalik <email address hidden> Mon, 19 Feb 2007 22:51:20 +1100

In future, please subscribe ubuntu-universe-sponsors, so that your patch can be applied quickly, instead of me stumbling over it. :-)

Changed in moosic:
status: Unconfirmed → Fix Committed
Revision history for this message
Steve Kowalik (stevenk) wrote :

moosic 1.5.2-2ubuntu1 has landed in Feisty, closing this bug.

Changed in moosic:
status: Fix Committed → 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.