File "/usr/local/bin/pypanel", line 769, in ?
File "/usr/local/bin/pypanel", line 90, in __init__
self.loop(self.display, self.root, self.window, self.panel)
File "/usr/local/bin/pypanel", line 691, in loop
self.updateTasks(dsp, root, win, panel)
File "/usr/local/bin/pypanel", line 612, in updateTasks
self.updatePanel(dsp, root, win, cdt, panel)
File "/usr/local/bin/pypanel", line e507, in updatePanel
panel[DESKTOP].name = str(cdt + 1)
TypeError: unsupported opereand type(s) for +: 'NoneType' and 'int'
Which Window Manager are you using? The code was unable to determine your current desktop number ..
Blackbox 0.65.0 for FreeBSD 5.2.1-RELEASE
Sorry, should have mentioned that :)
That explains it ;) Blackbox 0.65.0 doesn't use EWMH (NetWM standard), so you can expect it not to work properly. However, it looks like they're moving toward getting EWMH implemented in the 0.70 release. Unfortunately, I just tried 0.70.0-beta2 and it still did not work properly with pypanel. The panel relies on several root window properties which Blackbox is not setting (e.g. _NET_CURRENT_DESKTOP) ..
Hmm, I'm having the same error under WindowMaker 0.91
fixed it by commenting 'EWMH = 0' under 'if wm == "wmaker"', I guess WM uses EWMH now.
Log in to post a comment.