Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57667 - Cymbaline 1.2f crashes on startup
Summary: Cymbaline 1.2f crashes on startup
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 18:45 UTC by Shahar Goldin
Modified: 2005-01-25 08:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shahar Goldin 2004-07-19 18:45:45 UTC
 
Comment 1 Shahar Goldin 2004-07-19 18:54:37 UTC
Emerge Info:
# emerge info                                             
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.1
distcc 2.16 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb/rules /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"

Python version: # python -V
Python 2.3.4


Different errors come up depending on whether I provide a directory full of songs, a directory full of directories full of songs, or no directory at all:
A directory full of songs:

#cymbaline /mp3/Carbon_Leaf-Shadows_in_the_Banquet_Hall/
Traceback (most recent call last):
  File "/usr/bin/cymbaline", line 42, in ?
    curses.wrapper(main.main)
  File "/usr/lib/python2.3/curses/wrapper.py", line 44, in wrapper
    res = func(stdscr, *rest)
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 192, in main
    ui.fullredraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 121, in fullredraw
    redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 250, in progress
    progress = self.progress_bar(ratio)
UnboundLocalError: local variable 'ratio' referenced before assignment
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 38, in run
    ui.redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 250, in progress
    progress = self.progress_bar(ratio)
UnboundLocalError: local variable 'ratio' referenced before assignment
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 38, in run
    ui.redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 250, in progress
    progress = self.progress_bar(ratio)
UnboundLocalError: local variable 'ratio' referenced before assignment

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/playlist.py", line 54, in run
    ui.fullredraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 121, in fullredraw
    redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 251, in progress
    return elapsed + progress + total
TypeError: can only concatenate list (not "str") to list

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 106, in run
    ui.fullredraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 121, in fullredraw
    redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 251, in progress
    return elapsed + progress + total
TypeError: can only concatenate list (not "str") to list

Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/playlist.py", line 54, in run
    ui.fullredraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 121, in fullredraw
    redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 251, in progress
    return elapsed + progress + total
TypeError: can only concatenate list (not "str") to list


Directory full of directories full of songs:
# cymbaline /mp3/
Traceback (most recent call last):
  File "/usr/bin/cymbaline", line 42, in ?
    curses.wrapper(main.main)
  File "/usr/lib/python2.3/curses/wrapper.py", line 44, in wrapper
    res = func(stdscr, *rest)
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 176, in main
    loadpl()
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 59, in loadpl
    okay = pl.init(_args)
  File "/usr/lib/python2.3/site-packages/cypack/playlist.py", line 96, in init
    okay = self.loaddirs(dirs)
  File "/usr/lib/python2.3/site-packages/cypack/playlist.py", line 630, in loaddirs
    os.path.walk(directory, visit, self)
  File "/usr/lib/python2.3/posixpath.py", line 290, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.3/posixpath.py", line 282, in walk
    func(arg, top, names)
  File "/usr/lib/python2.3/site-packages/cypack/playlist.py", line 618, in visit
    lst.append(Track(path, codec))
  File "/usr/lib/python2.3/site-packages/cypack/track.py", line 15, in __init__
    self.mkname()
  File "/usr/lib/python2.3/site-packages/cypack/track.py", line 39, in mkname
    while n[0] in string.digits:
IndexError: string index out of range
(Hangs until keyboard interrupt)
(hangs some more)
KeyboardInterrupt

cymbaline with no directory argument:
$ cymbaline
Traceback (most recent call last):
  File "/usr/bin/cymbaline", line 42, in ?
    curses.wrapper(main.main)
  File "/usr/lib/python2.3/curses/wrapper.py", line 44, in wrapper
    res = func(stdscr, *rest)
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 191, in main
    player.play()
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 138, in play
    if pl.do_play:
AttributeError: Playlist instance has no attribute 'do_play'
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/usr/lib/python2.3/site-packages/cypack/main.py", line 38, in run
    ui.redraw()
  File "/usr/lib/python2.3/site-packages/cypack/ui.py", line 74, in redraw
    debug( player.progress())
  File "/usr/lib/python2.3/site-packages/cypack/player.py", line 222, in progress
    t = pl.track
AttributeError: Playlist instance has no attribute 'track'
(Hangs until keyboard interrupt)
KeyboardInterrupt
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-22 02:14:35 UTC
This package is getting removed from portage as it is broken and not well supported upstream...