Hi, I got the following traceback when pressing 'r' on a directory on a vanilla pytone.
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/pytone/pytone.py", line 273, in ? m.run() File "/usr/lib/python2.3/site-packages/pytone/mainscreen.py", line 125, in run self.channel.process() File "/usr/lib/python2.3/site-packages/pytone/hub.py", line 167, in process handler(item) File "/usr/lib/python2.3/site-packages/pytone/filelistwin.py", line 158, in keypressed self.items.randominsertrecursiveselection() File "/usr/lib/python2.3/site-packages/pytone/filelist.py", line 89, in randominsertrecursiveselection songs = self.getselected().getcontentsrecursiverandom() File "/usr/lib/python2.3/site-packages/pytone/item.py", line 1112, in getcontentsrecursiverandom return _genrandomchoice(songs) NameError: global name '_genrandomchoice' is not defined Locals by frame, innermost last
Frame ? in /usr/lib/python2.3/site-packages/pytone/pytone.py at line 280 sigtermhandler = <function sigtermhandler at 0xb7927c6c> helper = <module 'helper' from '/usr/lib/python2.3/site-packages/pytone/helper.pyc'> 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 0xb7d773e0> songdbname = cd plugins = [(<module 'plugins.xterm' from '/usr/lib/python2.3/site-packages/pytone/plugins/xterm/__init__.py'>, <plugins.xterm.xterm.xtermconfig instance at 0xb0c068cc>)] songdbids = ['main', 'cd'] mainscreen = <module 'mainscreen' from '/usr/lib/python2.3/site-packages/pytone/mainscreen.pyc'> playerids = ['main', None] errors = <module 'errors' from '/usr/lib/python2.3/site-packages/pytone/errors.pyc'> log = <module 'log' from '/usr/lib/python2.3/site-packages/pytone/log.pyc'> cursessetup = <function cursessetup at 0xb7927bc4> gettext = <module 'gettext' from '/usr/lib/python2.3/gettext.pyc'> version = <module 'version' from '/usr/lib/python2.3/site-packages/pytone/version.pyc'> cursescleanup = <function cursescleanup at 0xb7927c34> config = <module 'config' from '/usr/lib/python2.3/site-packages/pytone/config.pyc'> events = <module 'events' from '/usr/lib/python2.3/site-packages/pytone/events.pyc'> hub = <module 'hub' from '/usr/lib/python2.3/site-packages/pytone/hub.pyc'> __builtins__ = <module '__builtin__' (built-in)> __file__ = /usr/lib/python2.3/site-packages/pytone/pytone.py sys = <module 'sys' (built-in)> services = <module 'services' from '/usr/lib/python2.3/site-packages/pytone/services/__init__.pyc'> __name__ = __main__ network = <module 'network' from '/usr/lib/python2.3/site-packages/pytone/network.pyc'> e = [Errno 17] File exists: '/home/dag/.pytone' name = xterm pluginconfig = <plugins.xterm.xterm.xtermconfig instance at 0xb0c068cc> signal = <module 'signal' (built-in)> m = <mainscreen.mainscreen instance at 0xb0b9344c> __doc__ = None pluginmodule = <module 'plugins.xterm' from '/usr/lib/python2.3/site-packages/pytone/plugins/xterm/__init__.py'> locallocaledir = /usr/lib/python2.3/site-packages/pytone/../locale os = <module 'os' from '/usr/lib/python2.3/os.pyc'> songdbid = cd songdbmanager = <songdbmanager(songdb manager service, stopped)>
Frame run in /usr/lib/python2.3/site-packages/pytone/mainscreen.py at line 136 self = <mainscreen.mainscreen instance at 0xb0b9344c> skipcount = 0 key = 114
Frame process in /usr/lib/python2.3/site-packages/pytone/hub.py at line 169 self = <hub.channel instance at 0xb0c1044c> item = keypressed(114) handler = <bound method filelistwin.keypressed of <filelistwin.filelistwin instance at 0xb0c1078c>> timeout = None subscribedevent = events.keypressed block = False
Frame keypressed in /usr/lib/python2.3/site-packages/pytone/filelistwin.py at line 158 self = <filelistwin.filelistwin instance at 0xb0c1078c> event = keypressed(114) key = 114
Frame randominsertrecursiveselection in /usr/lib/python2.3/site-packages/pytone/filelist.py at line 89 self = <filelist.filelist instance at 0xb0c107cc>
Frame getcontentsrecursiverandom in /usr/lib/python2.3/site-packages/pytone/item.py at line 1112 self = <item.filesystemdir instance at 0xb09896ec> songs = [song(Air/10_000_Hz_Legend/01 - Air - Electronic Performers.mp3) in cd database, song(Air/10_000_Hz_Legend/02 - Air - How Does It Make You Feel.mp3) in cd database, song(Air/10_000_Hz_Legend/03 - Air - Radio #1.mp3) in cd database, song(Air/10_000_Hz_Legend/04 - Air - The Vagabond.mp3) in cd database, song(Air/10_000_Hz_Legend/05 - Air - Radian.mp3) in cd database, song(Air/10_000_Hz_Legend/06 - Air - Lucky and Unhappy.mp3) in cd database, song(Air/10_000_Hz_Legend/07 - Air - Sex Born Poison.mp3) in cd database, song(Air/10_000_Hz_Legend/08 - Air - People In The City.mp3) in cd database, song(Air/10_000_Hz_Legend/09 - Air - Wonder Milky Bitch.mp3) in cd database, song(Air/10_000_Hz_Legend/10 - Air - Dont Be Light.mp3) in cd database, song(Air/10_000_Hz_Legend/11 - Air - Caramel Prisoner.mp3) in cd database]
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]