Bug#441369: jack: crashes on terminal resize

2007-10-23 Thread Felix C. Stegerman
* Martin Michlmayr <[EMAIL PROTECTED]> [2007-10-20 12:31]:
> * Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 12:46]:
> > No, it didn't.  I've been using jack a lot in the past weeks, and
> > [for the reasons mentioned] resize the window quite often.  I
> > updated some packages yesterday, including jack, and noticed the
> > problem today.
>
> Sorry for the long delay with this problem!  I finally looked at it
> today.  My big problem is that I don't know anything about ncurses,
> so it's a bit hard for me to tackle this problem.  I found that I'm
> able to reproduce your problem.  When I put an try:/except: pass
> around that particular code, I get an exception somewhere else.  I
> repeated that a few times... until I noticed that this is obviously
> no solution.
>
> I have no idea why jack uses its own ncurses module (apparently from
> Python 1.4) but it seems it really needs that module.  So in the end
> I decided to switch back to jack's curses module.  However, we'd
> lose UTF-8 support.  But I solved this by linking to ncursesw
> instead of ncurses.
>
> In other words, your bug will be gone in the next upload and we'll
> still have UTF-8 support.  I'll do an upload later today.
>
> Apologies again for the delay.  When the new version is in the
> archive, I'd appreciate it if you would tell me whether it works for
> you.

I've run a quick test and it seems to work fine as before.

And since I haven't had much time [and didn't really feel like making
any time either] to continue re-ripping my cd collection I haven't
really been inconvenienced by this bug ;-)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


signature.asc
Description: Digital signature


Bug#441369: jack: crashes on terminal resize

2007-10-20 Thread Martin Michlmayr
* Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 12:46]:
> No, it didn't.  I've been using jack a lot in the past weeks, and [for
> the reasons mentioned] resize the window quite often.  I updated some
> packages yesterday, including jack, and noticed the problem today.

Sorry for the long delay with this problem!  I finally looked at it
today.  My big problem is that I don't know anything about ncurses, so
it's a bit hard for me to tackle this problem.  I found that I'm able
to reproduce your problem.  When I put an try:/except: pass around
that particular code, I get an exception somewhere else.  I repeated
that a few times... until I noticed that this is obviously no
solution.

I have no idea why jack uses its own ncurses module (apparently from
Python 1.4) but it seems it really needs that module.  So in the end I
decided to switch back to jack's curses module.  However, we'd lose
UTF-8 support.  But I solved this by linking to ncursesw instead of
ncurses.

In other words, your bug will be gone in the next upload and we'll
still have UTF-8 support.  I'll do an upload later today.

Apologies again for the delay.  When the new version is in the
archive, I'd appreciate it if you would tell me whether it works for
you.

Thanks.
-- 
Martin Michlmayr
http://www.cyrius.com/



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



Bug#441369: jack: crashes on terminal resize

2007-09-12 Thread Felix C. Stegerman
* Martin Michlmayr <[EMAIL PROTECTED]> [2007-09-10 20:24]:
> * Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 12:46]:
> > No, it didn't.  I've been using jack a lot in the past weeks, and
> > [for the reasons mentioned] resize the window quite often.  I
> > updated some packages yesterday, including jack, and noticed the
> > problem today.
>
> That's bad.  I'm away on holidays for a week now, but I'll look into
> this later this month.  In the meantime, you can grab the previous
> version of jack from http://snapshot.debian.net/

Thanks.  I'd forgotten about snapshot.debian.net.

> One more question: does it always fail in the same way (i.e. is the
> Python traceback always the same)?

It looks that way.  I've tried 4 times and got the same error each
time.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


signature.asc
Description: Digital signature


Bug#441369: jack: crashes on terminal resize

2007-09-10 Thread Martin Michlmayr
* Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 12:46]:
> No, it didn't.  I've been using jack a lot in the past weeks, and [for
> the reasons mentioned] resize the window quite often.  I updated some
> packages yesterday, including jack, and noticed the problem today.

That's bad.  I'm away on holidays for a week now, but I'll look into
this later this month.  In the meantime, you can grab the previous
version of jack from http://snapshot.debian.net/

One more question: does it always fail in the same way (i.e. is the
Python traceback always the same)?
-- 
Martin Michlmayr
http://www.cyrius.com/



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



Bug#441369: jack: crashes on terminal resize

2007-09-09 Thread Felix C. Stegerman
* Martin Michlmayr <[EMAIL PROTECTED]> [2007-09-09 12:35]:
>
> * Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 11:19]:
> >
> > Since jack was updated recently, it crashes when resizing [the
> > rxvt window it's running in].
>
> And this definitely didn't happen with 3.1.1+cvs20050801-14?  I
> guess there was a reason jack had its own ncurses library then. :(

No, it didn't.  I've been using jack a lot in the past weeks, and [for
the reasons mentioned] resize the window quite often.  I updated some
packages yesterday, including jack, and noticed the problem today.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


signature.asc
Description: Digital signature


Bug#441369: jack: crashes on terminal resize

2007-09-09 Thread Martin Michlmayr
* Felix C. Stegerman <[EMAIL PROTECTED]> [2007-09-09 11:19]:
> Since jack was updated recently, it crashes when resizing [the rxvt
> window it's running in].

And this definitely didn't happen with 3.1.1+cvs20050801-14?  I guess
there was a reason jack had its own ncurses library then. :(
-- 
Martin Michlmayr
http://www.cyrius.com/



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



Bug#441369: jack: crashes on terminal resize

2007-09-09 Thread Felix C. Stegerman
Package: jack
Version: 3.1.1+cvs20050801-15
Severity: important

Since jack was updated recently, it crashes when resizing [the rxvt
window it's running in].

,[ /home/felix/x.jack_error ]
| Traceback (most recent call last):
|   File "/usr/bin/jack", line 238, 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.4/jack_main_loop.py", line 167, in 
main_loop
| jack_term.tmod.sig_winch_handler(None, None)
|   File "/var/lib/python-support/python2.4/jack_t_curses.py", line 181, in 
sig_winch_handler
| stdscr.addstr(jack_term.size_y - 1, 0, (jack_display.bottom_line + " " * 
(jack_term.size_x - len(jack_display.bottom_line) - 1 ))[:jack_term.size_x - 
1], A_REVERSE)
| error: addstr() returned ERR
|  *warning* abnormal exit
`

This is rather unfortunate for me as I always resize the window to
full width after editing the freedb information so I can see [most of]
the track names _and_ the ripping/encoding progress [without
scrolling].


- Felix


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (890, 'testing'), (880, 'stable'), (870, 
'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-2-powerpc
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages jack depends on:
ii  cdda2wav   9:1.1.6-1 Dummy transition package for iceda
ii  cdparanoia 3.10+debian~pre0-5+b1 audio extraction tool for sampling
ii  python 2.4.4-6   An interactive high-level object-o
ii  python-cddb1.4-5.1   Python interface to CD-IDs and Fre
ii  python-eyed3   0.6.14-1  Python module for id3-tags manipul
ii  python-pyvorbis1.3-1.2   A Python interface to the Ogg Vorb
ii  python-support 0.6.4 automated rebuilding support for p
ii  vorbis-tools   1.1.1-14  several Ogg Vorbis tools

jack recommends no packages.

-- no debconf information

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


signature.asc
Description: Digital signature