Hi,
I recently added a new CD to my mp3-collection and wanted to listen to it - so I go to this directory via left column->filesystem->artist->new_album and try to add it to the (empty) playlist via 'i' (without entering the directory in the left column) ... this is what I get instead:
Traceback (most recent call last): File "/usr/local/pytone/src/pytone.py", line 273, in ? m.run() File "/usr/local/PyTone-2.2.3/src/mainscreen.py", line 125, in run self.channel.process() File "/usr/local/PyTone-2.2.3/src/hub.py", line 167, in process handler(item) File "/usr/local/PyTone-2.2.3/src/playlist.py", line 117, in playlistchanged self.win.update() File "/usr/local/PyTone-2.2.3/src/playlistwin.py", line 180, in update adddict = {"playstarthours": time.localtime(item.playstarttime)[3], TypeError: a float is required Locals by frame, innermost last
Frame ? in /usr/local/pytone/src/pytone.py at line 280 sigtermhandler = <function sigtermhandler at 0xb79ed95c> helper = <module 'helper' from '/usr/local/PyTone-2.2.3/src/helper.py'> curses = <module 'curses' from '/usr/lib/python2.3/curses/__init__.pyc'> locale = <module 'locale' from '/usr/lib/python2.3/locale.pyc'> stdscr = <_curses.curses window object at 0xb7ca62f0> songdbname = main plugins = [] songdbids = ['main'] mainscreen = <module 'mainscreen' from '/usr/local/PyTone-2.2.3/src/mainscreen.py'> playerids = ['main', None] errors = <module 'errors' from '/usr/local/PyTone-2.2.3/src/errors.py'> log = <module 'log' from '/usr/local/PyTone-2.2.3/src/log.py'> cursessetup = <function cursessetup at 0xb79ed8ec> gettext = <module 'gettext' from '/usr/lib/python2.3/gettext.pyc'> version = <module 'version' from '/usr/local/PyTone-2.2.3/src/version.pyc'> cursescleanup = <function cursescleanup at 0xb79ed924> config = <module 'config' from '/usr/local/PyTone-2.2.3/src/config.py'> events = <module 'events' from '/usr/local/PyTone-2.2.3/src/events.py'> hub = <module 'hub' from '/usr/local/PyTone-2.2.3/src/hub.py'> __builtins__ = <module '__builtin__' (built-in)> __file__ = /usr/local/pytone/src/pytone.py sys = <module 'sys' (built-in)> services = <module 'services' from '/usr/local/PyTone-2.2.3/src/services/__init__.py'> __name__ = __main__ network = <module 'network' from '/usr/local/PyTone-2.2.3/src/network.py'> e = [Errno 17] File exists: '/home/gx/swimmer/.pytone' signal = <module 'signal' (built-in)> m = <mainscreen.mainscreen instance at 0xb79f606c> __doc__ = None locallocaledir = /usr/local/pytone/src/../locale os = <module 'os' from '/usr/lib/python2.3/os.pyc'> songdbid = main songdbmanager = <songdbmanager(songdb manager service, started)>
Frame run in /usr/local/PyTone-2.2.3/src/mainscreen.py at line 136 self = <mainscreen.mainscreen instance at 0xb79f606c> skipcount = 0 key = 105
Frame process in /usr/local/PyTone-2.2.3/src/hub.py at line 169 self = <hub.channel instance at 0xb79f770c> item = playlistchanged([playlistitem: id=0],0/0,off,None) handler = <bound method playlist.playlistchanged of <playlist.playlist instance at 0xb723a2ec>> timeout = None subscribedevent = events.playlistchanged block = False
Frame playlistchanged in /usr/local/PyTone-2.2.3/src/playlist.py at line 117 self = <playlist.playlist instance at 0xb723a2ec> event = playlistchanged([playlistitem: id=0],0/0,off,None)
Frame update in /usr/local/PyTone-2.2.3/src/playlistwin.py at line 180 i = 0 item = playlistitem: id=0 autoplaymode = attr = 0 self = <playlistwin.playlistwin instance at 0xb723a28c>
Regards Stefan