Package: jack
Version: 3.1.1+cvs20050801-12
Severity: normal
Tags: patch

I see tracebacks like this a lot when the tags have "funny" characters:

Traceback (most recent call last):
  File "/usr/bin/jack", line 235, in ?
    global_error = jack_main_loop.main_loop(mp3s_todo, wavs_todo, space, 
dae_queue, enc_queue, track1_offset)
  File "/var/lib/python-support/python2.3/jack_main_loop.py", line 374, in 
main_loop
    jack_status.dae_stat_upd(i['track'][NUM], ":DAE: " + new_status)
  File "/var/lib/python-support/python2.3/jack_status.py", line 51, in 
dae_stat_upd
    jack_term.tmod.dae_stat_upd(num, string)
  File "/var/lib/python-support/python2.3/jack_t_curses.py", line 262, in 
dae_stat_upd
    status_pad.addstr(map_track_num[num], 0, 
(jack_ripstuff.printable_names[num] + ": " + jack_status.dae_status[num] + " " 
+ jack_status.enc_status[num]))
curses.error: addstr() returned ERR
 *warning* abnormal exit


It's just a display error; it really shouldn't abort jack. The following
patch makes it not abort:


diff -dU3 /tmp/old.py /var/lib/python-support/python2.3/jack_main_loop.py
--- /tmp/old.py 2006-11-30 19:08:06.000000000 -0500
+++ /var/lib/python-support/python2.3/jack_main_loop.py 2006-11-30 
19:00:31.000000000 -0500
@@ -371,7 +371,10 @@
                         else:
                             
exec(jack_helpers.helpers[i['prog']]['status_fkt']) in globals(), locals()
                         if new_status:
-                            jack_status.dae_stat_upd(i['track'][NUM], ":DAE: " 
+ new_status)
+                            try:
+                                jack_status.dae_stat_upd(i['track'][NUM], 
":DAE: " + new_status)
+                            except:
+                                debug("error in dae_stat_upd")
         
                 elif i['type'] == "encoder":
                     if len(i['buf']) == 
jack_helpers.helpers[i['prog']]['status_blocksize']:


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (130, 'unstable'), (120, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages jack depends on:
ii  cdparanoia                    3a9.8-14   An audio extraction tool for sampl
ii  flac                          1.1.2-5    Free Lossless Audio Codec - comman
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-cddb                   1.4-5.1    Python interface to CD-IDs and Fre
ii  python-eyed3                  0.6.10-2   Python module for id3-tags manipul
ii  python-pyvorbis               1.3-1.2    A Python interface to the Ogg Vorb
ii  python-support                0.4.1      automated rebuilding support for p
ii  vorbis-tools                  1.1.1-6    several Ogg Vorbis tools

jack recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to