not work OBLogout Ubuntu 8.04.02

Bug #327451 reported by sirin
2
Affects Status Importance Assigned to Milestone
OBLogout
Fix Released
Low
Andrew Williams

Bug Description

Ubuntu 8.04.02

sirin@zarin:~$ oblogout
Traceback (most recent call last):
  File "/usr/bin/oblogout", line 97, in <module>
    sys.exit(main())
  File "/usr/bin/oblogout", line 92, in main
    app = oblogout.OpenboxLogout(config, local_mode)
  File "/usr/lib/python2.5/site-packages/oblogout/oblogout.py", line 80, in __init__
    self.load_config(config)
  File "/usr/lib/python2.5/site-packages/oblogout/oblogout.py", line 195, in load_config
    self.bgcolor = gtk.gdk.Color("black")
TypeError: an integer is required

Related branches

Revision history for this message
Andrew Williams (nikdoof) wrote :

Yes, this is due to the older pyGTK version. I'll have to put code in to check the pyGTK version, but for the moment this code is for 8.10 and above.

Changed in oblogout:
assignee: nobody → nikdoof
importance: Undecided → Low
status: New → Confirmed
Changed in oblogout:
status: Confirmed → Fix Committed
Revision history for this message
Andrew Williams (nikdoof) wrote :

Fixed in development branch, uses color_parse() instead of depending on the Color() init (which isn't supported in the hardy version).

Changed in oblogout:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.