On Tue, 13 Sep 2005, Joerg Lehmann wrote:
I finally released version 2.3.0 of PyTone, which you can find under
http://www.luga.de/pytone/download/PyTone-2.3.0.tar.gz
Compared to the last prerelease only the fixes to the osd and termtitle plugins by Dag have been added.
The following bug is still present when starting pytone in a (default) 80x24 xterm using onecolumn-layout. If I enlarge the window to 80x27, pytone starts without problems. I remember sending a fix for something similar (might be related to twocolumn layout only).
Could you test this on your system and verify if this happens there too ?
[dag@emyn ~]$ pytone Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/pytone/pytone.py", line 277, in ? m = mainscreen.mainscreen(stdscr, songdbids, playerids, plugins) File "/usr/lib/python2.3/site-packages/pytone/mainscreen.py", line 63, in __init__ self.connectborders() File "/usr/lib/python2.3/site-packages/pytone/mainscreen.py", line 272, in connectborders win.update() File "/usr/lib/python2.3/site-packages/pytone/playlistwin.py", line 213, in update self.updatescrollbar() File "/usr/lib/python2.3/site-packages/pytone/playlistwin.py", line 68, in updatescrollbar self.drawscrollbar(self.playlist.top, len(self.playlist)) File "/usr/lib/python2.3/site-packages/pytone/window.py", line 243, in drawscrollbar self.vline(3, xpos, curses.ACS_CKBOARD, self.ih-4, self.colors.scrollbar) File "/usr/lib/python2.3/site-packages/pytone/window.py", line 117, in vline self.win.vline(x, y, c, n, attr) error: wmove() returned ERR Locals by frame, innermost last
Frame ? in /usr/lib/python2.3/site-packages/pytone/pytone.py at line 285 cwd = /usr/lib/python2.3/site-packages/pytone sigtermhandler = <function sigtermhandler at 0xb1456b8c> 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 0xb7d77330> songdbname = music plugins = [(<module 'termtitle' from '/usr/lib/python2.3/site-packages/pytone/plugins/termtitle.pyc'>, <termtitle.config instance at 0xb1444f4c>), (<module 'osdtitle' from '/usr/lib/python2.3/site-packages/pytone/plugins/osdtitle.pyc'>, <osdtitle.config instance at 0xb144470c>)] songdbids = ['data', 'music'] 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 0xb1456ae4> gettext = <module 'gettext' from '/usr/lib/python2.3/gettext.pyc'> imp = <module 'imp' (built-in)> version = <module 'version' from '/usr/lib/python2.3/site-packages/pytone/version.pyc'> pathname = /usr/lib/python2.3/site-packages/pytone/plugins/alarm.py cursescleanup = <function cursescleanup at 0xb14568ec> 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'> fp = <open file '/usr/lib/python2.3/site-packages/pytone/plugins/alarm.py', mode 'U' at 0xb14692a0> description = ('.py', 'U', 1) 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)> pluginpath = ['/home/dag/.pytone/plugins/', '/usr/lib/python2.3/site-packages/pytone/plugins'] 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 = __init__() takes exactly 2 arguments (1 given) name = alarm pluginconfig = <osdtitle.config instance at 0xb144470c> signal = <module 'signal' (built-in)> userpluginpath = /home/dag/.pytone/plugins/ m = None __doc__ = None globalpluginpath = /usr/lib/python2.3/site-packages/pytone/plugins pluginmodule = <module 'osdtitle' from '/usr/lib/python2.3/site-packages/pytone/plugins/osdtitle.pyc'> locallocaledir = /usr/lib/python2.3/site-packages/pytone/../locale os = <module 'os' from '/usr/lib/python2.3/os.pyc'> songdbid = music songdbmanager = <songdbmanager(songdb manager service, stopped)>
Frame __init__ in /usr/lib/python2.3/site-packages/pytone/mainscreen.py at line 63 screen = <_curses.curses window object at 0xb7d77330> windowslayout = {'playerwin': (3, 80, 0, 0, 15), 'playlistwin': (2, 80, 21, 0, 15), 'iteminfowin': (6, 80, 3, 0, 15), 'filelistwin': (12, 80, 9, 0, 15)} plugins = [(<module 'termtitle' from '/usr/lib/python2.3/site-packages/pytone/plugins/termtitle.pyc'>, <termtitle.config instance at 0xb1444f4c>), (<module 'osdtitle' from '/usr/lib/python2.3/site-packages/pytone/plugins/osdtitle.pyc'>, <osdtitle.config instance at 0xb144470c>)] songdbids = ['data', 'music'] playerids = ['main', None] self = <mainscreen.mainscreen instance at 0xb3499cac>
Frame connectborders in /usr/lib/python2.3/site-packages/pytone/mainscreen.py at line 272 win = <playlistwin.playlistwin instance at 0xb143c74c> borderends = [] mainwindows = [<filelistwin.filelistwin instance at 0xb34a4f8c>, <playerwin.playerwin instance at 0xb349e5ec>, <iteminfowin.iteminfowin instance at 0xb34a4b4c>, <playlistwin.playlistwin instance at 0xb143c74c>] self = <mainscreen.mainscreen instance at 0xb3499cac>
Frame update in /usr/lib/python2.3/site-packages/pytone/playlistwin.py at line 213 autoplaymode = [Random] self = <playlistwin.playlistwin instance at 0xb143c74c>
Frame updatescrollbar in /usr/lib/python2.3/site-packages/pytone/playlistwin.py at line 68 self = <playlistwin.playlistwin instance at 0xb143c74c>
Frame drawscrollbar in /usr/lib/python2.3/site-packages/pytone/window.py at line 243 xpos = 79 top = 82 scrollbarbegin = -1 scrollbarheight = 0 total = 83 self = <playlistwin.playlistwin instance at 0xb143c74c>
Frame vline in /usr/lib/python2.3/site-packages/pytone/window.py at line 121 c = 4194401 attr = 512 self = <playlistwin.playlistwin instance at 0xb143c74c> n = -4 y = 79 x = 3
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]