Sure no problem, willing to help in any way I can.
Anthony
On Fri, Mar 12, 2010 at 5:01 AM, Kyle L. Huff <email address hidden>wrote:
> Great news! I am glad it is working now. If you don't mind, I would like
> to continue testing with your system if possible.
>
> Could you perform a few test for me? Below is another command; which
> when run, will display the color dialog from the applet. If you could
> perform the following steps and provide me with the output I would
> greatly appreciate it.
>
> (the command below will display the preference window for the applet,
> but none of the changes you make here will be saved, none of the options
> are connected to anything, this is just to test the behavior of the eye-
> dropper with your particular combination of GTK and friends.)
>
> Run this from a terminal (you should be able to copy-paste):
>
> cd /usr/share/avant-window-navigator/applets/bandwidth-monitor/
>
> python -c """import gtk
>
> win = gtk.Window()
> win.set_title('Colour Parse Test - bug 534061')
> prefs_box = gtk.VBox()
> win.add(prefs_box)
> prefs_ui = gtk.Builder()
> prefs_ui.add_from_file('bandwidth-monitor.ui')
> prefs_ui.get_object('dialog-notebook').reparent(prefs_box)
> bgColorbutton = prefs_ui.get_object('bgColorbutton')
> def bgColorbutton_color_set_cb(widget):
> color = widget.get_color()
> alpha = float('%2.1f' % (widget.get_alpha() / 65535.0))
> print '---------'
> print 'color object:', color
> print 'object string:', str(color)
> print 'type:', type(color)
> print 'alpha:', alpha
> print '---------'
> return
> bgColorbutton.connect('color-set', bgColorbutton_color_set_cb)
> def close(*args):
> print 'Exiting normally'
> exit()
> prefs_ui.get_object('dialog-notebook').connect('destroy', close)
> win.show_all()
> gtk.main()
> """
>
> With that open, first click on the background color button and select a
> color using the color-wheel, then press 'OK'. Next, click on the
> background color button again, and this time use the eye-dropper to
> select some other color, and press 'OK', now just close the preference
> window and post back here the output.
>
> Thanks!
> Kyle
>
> --
> ValueError in Bandwidth Monitor: unable to parse colour specification
> https://bugs.launchpad.net/bugs/534061
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Awn Extras: New
>
> Bug description:
> Ubuntu 8.10 - Intrepid Ibex
>
> ------------------------------------------------------------------------------------------
> [Got the install information from 9
> http://www.webupd8.org/2009/10/avant-window-navigator-awn-04-available.html
> )]
>
> sudo bash -c "echo 'deb http://ppa.launchpad.net/awn-testing/ppa/ubuntuubuntu_version main' >> /etc/apt/sources.list"
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BF810CD5
>
> and
>
> sudo apt-get install python-awn-trunk python-awn-extras-trunk
> awn-applets-python-extras-trunk awn-applets-c-extras-trunk
>
> ------------------------------------------------------------------------------------------
> GNOME Desktop: ver: 2.24.1; build date: 10/24/2008
>
> ------------------------------------------------------------------------------------------
> Video card: Radeon Mobility M7 LW [Radeon Mobility 7500]; driver: radeon
> (the one that comes with Ubuntu default install)
>
> ------------------------------------------------------------------------------------------
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.5/awn/extras/awnlib.py", line 1462,
> in init_start
> applet_class(applet)
> File
> "/usr/share/avant-window-navigator/applets/bandwidth-monitor/awn-bwm.py",
> line 297, in __init__
> self.prefs.setup()
> File
> "/usr/share/avant-window-navigator/applets/bandwidth-monitor/bwmprefs.py",
> line 65, in setup
> bgColorbutton.set_color(gtk.gdk.color_parse(bgColor))
> ValueError: unable to parse colour specification
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/awn-extras/+bug/534061/+subscribe
>
Kyle,
Here is the output:
-c:8: GtkWarning: Unknown property: GtkVBox.orientation caps-lock- warning avant-window- navigator/ applets/ bandwidth- monitor$
-c:8: GtkWarning: Unknown property: GtkSpinButton.
---------
color object: <GdkColor at 0x9049410>
object string: <GdkColor at 0x9049410>
type: <type 'gtk.gdk.Color'>
alpha: 0.5
---------
Exiting normally
xxxxxxx@xxxxxxxxxxx
:/usr/share/
Sure no problem, willing to help in any way I can.
Anthony
On Fri, Mar 12, 2010 at 5:01 AM, Kyle L. Huff <email address hidden>wrote:
> Great news! I am glad it is working now. If you don't mind, I would like avant-window- navigator/ applets/ bandwidth- monitor/ title(' Colour Parse Test - bug 534061') add_from_ file('bandwidth -monitor. ui') get_object( 'dialog- notebook' ).reparent( prefs_box) get_object( 'bgColorbutton' ) color_set_ cb(widget) : connect( 'color- set', bgColorbutton_ color_set_ cb) get_object( 'dialog- notebook' ).connect( 'destroy' , close) /bugs.launchpad .net/bugs/ 534061 ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ www.webupd8. org/2009/ 10/avant- window- navigator- awn-04- available. html ppa.launchpad. net/awn- testing/ ppa/ubuntuubunt u_version main' >> /etc/apt/ sources. list" ubuntu. com --recv-keys BF810CD5 awn-extras- trunk python- extras- trunk awn-applets- c-extras- trunk ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ python- support/ python2. 5/awn/extras/ awnlib. py", line 1462, class(applet) avant-window- navigator/ applets/ bandwidth- monitor/ awn-bwm. py", avant-window- navigator/ applets/ bandwidth- monitor/ bwmprefs. py", set_color( gtk.gdk. color_parse( bgColor) ) /bugs.launchpad .net/awn- extras/ +bug/534061/ +subscribe
> to continue testing with your system if possible.
>
> Could you perform a few test for me? Below is another command; which
> when run, will display the color dialog from the applet. If you could
> perform the following steps and provide me with the output I would
> greatly appreciate it.
>
> (the command below will display the preference window for the applet,
> but none of the changes you make here will be saved, none of the options
> are connected to anything, this is just to test the behavior of the eye-
> dropper with your particular combination of GTK and friends.)
>
> Run this from a terminal (you should be able to copy-paste):
>
> cd /usr/share/
>
> python -c """import gtk
>
> win = gtk.Window()
> win.set_
> prefs_box = gtk.VBox()
> win.add(prefs_box)
> prefs_ui = gtk.Builder()
> prefs_ui.
> prefs_ui.
> bgColorbutton = prefs_ui.
> def bgColorbutton_
> color = widget.get_color()
> alpha = float('%2.1f' % (widget.get_alpha() / 65535.0))
> print '---------'
> print 'color object:', color
> print 'object string:', str(color)
> print 'type:', type(color)
> print 'alpha:', alpha
> print '---------'
> return
> bgColorbutton.
> def close(*args):
> print 'Exiting normally'
> exit()
> prefs_ui.
> win.show_all()
> gtk.main()
> """
>
> With that open, first click on the background color button and select a
> color using the color-wheel, then press 'OK'. Next, click on the
> background color button again, and this time use the eye-dropper to
> select some other color, and press 'OK', now just close the preference
> window and post back here the output.
>
> Thanks!
> Kyle
>
> --
> ValueError in Bandwidth Monitor: unable to parse colour specification
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Awn Extras: New
>
> Bug description:
> Ubuntu 8.10 - Intrepid Ibex
>
> -------
> [Got the install information from 9
> http://
> )]
>
> sudo bash -c "echo 'deb http://
> sudo apt-key adv --keyserver keyserver.
>
> and
>
> sudo apt-get install python-awn-trunk python-
> awn-applets-
>
> -------
> GNOME Desktop: ver: 2.24.1; build date: 10/24/2008
>
> -------
> Video card: Radeon Mobility M7 LW [Radeon Mobility 7500]; driver: radeon
> (the one that comes with Ubuntu default install)
>
> -------
> Traceback (most recent call last):
> File "/var/lib/
> in init_start
> applet_
> File
> "/usr/share/
> line 297, in __init__
> self.prefs.setup()
> File
> "/usr/share/
> line 65, in setup
> bgColorbutton.
> ValueError: unable to parse colour specification
>
>
>
> To unsubscribe from this bug, go to:
> https:/
>
--
Anthony
<email address hidden>