gwibber crashes on startup with application default-font-size set to non-integer (eg. 10.5pt)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
Undecided
|
Ken VanDine | |||
gwibber (Ubuntu) |
Medium
|
Ken VanDine |
Bug Description
Binary package hint: gwibber
this happens everytime i launch broadcast from indicator applet
ProblemType: Crash
Architecture: i386
CheckboxSubmission: 2382617a44f4ba6
CheckboxSystem: 669b662da410063
Date: Wed Mar 24 22:07:43 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gwibber
InterpreterPath: /usr/bin/python2.6
NonfreeKernelMo
Package: gwibber 2.29.92.1-0ubuntu1
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/gwibber
ProcEnviron:
SHELL=/bin/bash
LANG=it_IT.UTF-8
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: gwibber
Title: gwibber crashed with ValueError in render()
Uname: Linux 2.6.32-17-generic i686
UserGroups: adm admin audio cdrom dialout fuse lpadmin plugdev sambashare video
Related branches
- Robert Bruce Park: Disapprove on 2013-03-28
- Bilal Akhtar (community): Approve on 2010-07-09
- gwibber-committers: Pending requested 2010-04-04
-
Diff: 12 lines (+1/-1)1 file modifiedgwibber/gwui.py (+1/-1)
tags: | removed: need-duplicate-check |
sbas (sbas) wrote : | #2 |
sbas (sbas) wrote : | #3 |
same problem at work on another pc.
i upgraded both my laptop and this pc from 9.10 to 10.04 alpha 3. no fresh install.
Duncan Lock (dunc) wrote : | #4 |
When I launch gwibber from the terminal I get this:
** (gwibber:3372): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (gwibber:3372): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (gwibber:3372): WARNING **: Trying to register gtype 'WnckWindowMove
Updating...
Traceback (most recent call last):
File "/usr/bin/gwibber", line 67, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
self.setup_ui()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
small_
File "/usr/lib/
self.
ValueError: invalid literal for int() with base 10: '10.5'
When launched form the Applications menu or the Message menu I get an apport crash.
I'm using the latest Lucid (Linux duncan-desktop 2.6.32-18-generic #27-Ubuntu SMP Fri Mar 26 21:13:44 UTC 2010 x86_64 GNU/Linux) with the latest lucid build of gwibber (2.29.94-0ubuntu1, not the nightly ppa).
sbas (sbas) wrote : | #5 |
same here after updating this morning:
antonio@
** (gwibber:3146): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (gwibber:3146): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (gwibber:3146): WARNING **: Trying to register gtype 'WnckWindowMove
Removing stale, deceptive pid file.
Apache CouchDB has started, time to relax.
Browse your desktop CouchDB at file://
No dbus monitor yet
Updating...
Traceback (most recent call last):
File "/usr/bin/gwibber", line 67, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
self.setup_ui()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
small_
File "/usr/lib/
self.
ValueError: invalid literal for int() with base 10: '8.599609375'
I'm using the latest lucid update: Linux antonio-desktop 2.6.32-19-generic #28-Ubuntu SMP Wed Mar 31 17:46:20 UTC 2010 i686 GNU/Linux
Duncan Lock (dunc) wrote : | #6 |
I've now switched to the nightlies (currently 2.31.1~
Hmmm... figured it out, duh. Gwibber won't start with a non-integer default application font size, like the error says. Mine was intentionally set to 10.5 point in System -> Preferences -> Fonts -> Application Font. sbas's is set to '8.599609375' (huh? Where did you get that value from?). If I set mine to '10', Gwibber starts ok - sbas, could you try changing yours to '9' and seeing if that fixes it for you too?
I'm going to re-title this bug to reflect the actual cause.
summary: |
- gwibber crashed with ValueError in render() + gwibber crashes on startup with system default-font-size set to 10.5pt |
Duncan Lock (dunc) wrote : Re: gwibber crashes on startup with system default-font-size set to 10.5pt | #7 |
This maybe a duplicate of this bug?:
https:/
sbas (sbas) wrote : | #8 |
yes, duncan, gwibber works setting application font size to an integer. i changed the value from 8.6 to 8 and, yes, it works.
8.599609375 is 8.6 :)
summary: |
- gwibber crashes on startup with system default-font-size set to 10.5pt + gwibber crashes on startup with system default-font-size set to non- + integer (eg. 10.5pt) |
Changed in gwibber (Ubuntu): | |
importance: | Undecided → Medium |
Omer Akram (om26er) wrote : Re: gwibber crashes on startup with system default-font-size set to non-integer (eg. 10.5pt) | #9 |
Thanks for taking time to report this bug. This particular bug has already been reported but feel free to report any other bugs you may find
Omer Akram (om26er) wrote : | #10 |
oops wrong bug.
Inash Zubair (inash) wrote : | #11 |
This is definitely a duplicate of #425929. I was hit with the same problem as sbas as I keep my application font size same as sbas's. I've proposed a possible fix for it and have proposed for merging. It's just a one liner. If you open the file /usr/lib/
self.web_
which comes under WebUi.render method and change it to:
self.web_
will fix the problem for you.
sbas (sbas) wrote : | #12 |
thanks Inash, it worked :)
Kamus (kamus) wrote : | #13 |
There is a lot of people affected and I have checked the latest stable version of gwibber and exact line that belongs to gwui.py has not been changed yet.
Changed in gwibber (Ubuntu): | |
status: | New → Confirmed |
Inash Zubair (inash) wrote : | #14 |
Hopefully the change will be merged soon.
Ashley Yakeley (ashley-semantic) wrote : | #15 |
It's specifically "Application Font". I have them all set non-integral, but it works when I set that one from 8.25 to 8.
summary: |
- gwibber crashes on startup with system default-font-size set to non- - integer (eg. 10.5pt) + gwibber crashes on startup with application default-font-size set to + non-integer (eg. 10.5pt) |
Omer Akram (om26er) wrote : | #16 |
Please read comment#11 it should fix the problem
sbas (sbas) wrote : | #17 |
thanks Omer, as i said in comment 12, it fixes the problem.
Omer Akram (om26er) wrote : | #18 |
Ken, can you please review this branch... its a one line fixer.
Changed in gwibber (Ubuntu): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
Changed in gwibber: | |
assignee: | nobody → Ken VanDine (ken-vandine) |
status: | New → Confirmed |
Martin Pool (mbp) wrote : | #19 |
tested branch ready for merge here:
Martin Pool (mbp) wrote : | #20 |
tested branch ready for merge here: https:/
Caracuri (caracuri) wrote : | #21 |
can be fix converting self.web_
this is what i see trying to launch gwibber from terminal:
** (gwibber:23324): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (gwibber:23324): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (gwibber:23324): WARNING **: Trying to register gtype 'WnckWindowMove ResizeMask' as enum when in fact it is of type 'GFlags' python2. 6/dist- packages/ gwibber/ client. py", line 441, in __init__ python2. 6/dist- packages/ gwibber/ client. py", line 53, in __init__ python2. 6/dist- packages/ gwibber/ client. py", line 100, in setup_ui stream_ view = view_class( self.model) python2. 6/dist- packages/ gwibber/ gwui.py" , line 311, in __init__ navigation. render( ) python2. 6/dist- packages/ gwibber/ gwui.py" , line 282, in render icons=self. small_icons) python2. 6/dist- packages/ gwibber/ gwui.py" , line 240, in render web_settings. set_property( "default- font-size" , int(font_size))
Updating...
Traceback (most recent call last):
File "/usr/bin/gwibber", line 67, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
self.setup_ui()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
small_
File "/usr/lib/
self.
ValueError: invalid literal for int() with base 10: '8.599609375'