Problem starting, following error

Help
2004-10-03
2013-04-15
  • Timothy Grant Vogelsang

    File "/usr/local/bin/pypanel", line 769, in ?
      PyPanel(display.Display())
    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'

     
    • Jon Gelo

      Jon Gelo - 2004-10-07

      Which Window Manager are you using?  The code was unable to determine your current desktop number ..

       
    • Timothy Grant Vogelsang

      Blackbox 0.65.0 for FreeBSD 5.2.1-RELEASE

      Sorry, should have mentioned that :)

       
    • Jon Gelo

      Jon Gelo - 2004-10-08

      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) ..

       
    • Konstantin Sobolev

      Hmm, I'm having the same error under WindowMaker 0.91

       
    • Konstantin Sobolev

      fixed it by commenting 'EWMH = 0' under 'if wm == "wmaker"', I guess WM uses EWMH now.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks