gwibber crashed with ValueError in load_fonts()

Bug #425929 reported by Mathieu Marquer
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Gwibber
Confirmed
Undecided
Unassigned
gwibber (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: gwibber

Starting gwibber, it crashes.

ProblemType: Crash
Architecture: i386
Date: Mon Sep 7 13:32:40 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gwibber
InterpreterPath: /usr/bin/python2.6
Package: gwibber 2.0.0~bzr396-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
PythonArgs: ['/usr/bin/gwibber']
SourcePackage: gwibber
Title: gwibber crashed with ValueError in load_fonts()
Uname: Linux 2.6.31-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Victor Vargas (kamus) wrote :

Can you try to reproduce this issue in latest version of gwibber? Thanks!

Changed in gwibber (Ubuntu):
status: New → Incomplete
Revision history for this message
Victor Vargas (kamus) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in gwibber (Ubuntu):
status: Incomplete → Invalid
Inash Zubair (inash)
Changed in gwibber (Ubuntu):
status: Invalid → New
Revision history for this message
Inash Zubair (inash) wrote :

As of this writing, revision 20 of gwui.py line 236 tries to convert a float that appears as string to an int. The value is retrieved from global application font preference. If you supposed have 8.5899, the conversion fails, but if you have an int it works ok.

So prior to casting to an int, if the value is first converted to a float, it does the trick of flooring the float value to an integer and the lower bound value is used in setting gwibber's application font size.

Revision history for this message
Omer Akram (om26er) wrote :

Inash can you please try the development release of gwibber from this ppa https://launchpad.net/~gwibber-daily/+archive/ppa and see if the problem is there

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Inash Zubair (inash) wrote :

Omer, I've checked with ~gwibber-daily and it doesn't have the fix. You can check for the linked branch ~inash/gwibber/gwibber-425929 for a one line fixer. It does the job.

Omer Akram (om26er)
Changed in gwibber (Ubuntu):
status: Incomplete → New
Revision history for this message
Omer Akram (om26er) wrote :

might be related to bug 546392

Changed in gwibber (Ubuntu):
status: New → Confirmed
Changed in gwibber:
status: New → Confirmed
Changed in gwibber (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Omer Akram (om26er) wrote :

Inash, can you make a new patch and attach it to bug 546392 so that we could mark this a duplicate of that bug. bug 546392 has more duplicates and also that crash is caused on a newer version. on that bug report we would subscribe the patch reviewers and hopefully get it merged. :-)

Revision history for this message
Inash Zubair (inash) wrote :

Omer, I've changed this and the bug following this one to mark it as a duplicate of bug 546392, and my branch/patch as affecting it as well. Cheers.

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.