lernid crashed with TypeError in _update_url_combo(): object of type 'NoneType' has no len()

Bug #751019 reported by John S. Gruber
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lernid
Fix Released
Medium
John S. Gruber
lernid (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lernid

Happened after someone entered a "let me google that for you" url. For example, reproduce with Event->Open url with url http://lmgtfy.com/?q=gmail. This causes an (annoying) traceback / apport dialog, but doesn't crash or hang lernid, which continues to operate. A second url should be tried as well: http://www.alsa-project.org/alsa-info.sh

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: lernid 0.8
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Tue Apr 5 01:05:19 2011
ExecutablePath: /usr/bin/lernid
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110305)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/lernid -v --config /home/User Name/test.lernid
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
PythonArgs: ['/usr/bin/lernid', '-v', '--config', '/home/User Name/test.lernid']
SourcePackage: lernid
Title: lernid crashed with TypeError in _update_url_combo(): object of type 'NoneType' has no len()
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/lernid/widgets/Browser.py", line 157, in _update_url_combo
     urllen = 150 - len(title)
 TypeError: object of type 'NoneType' has no len()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout fax floppy fuse libvirtd lpadmin netdev plugdev sambashare video

Related branches

Revision history for this message
John S. Gruber (jsjgruber) wrote :
visibility: private → public
tags: removed: need-duplicate-check
description: updated
Changed in lernid:
importance: Undecided → Medium
Changed in lernid (Ubuntu):
assignee: nobody → John S. Gruber (jsjgruber)
Changed in lernid:
assignee: nobody → John S. Gruber (jsjgruber)
Revision history for this message
John S. Gruber (jsjgruber) wrote :

To reproduce start a session and use the Event->Open URL option with, for example, the following URL:

http://www.alsa-project.org/alsa-info.sh

Changed in lernid (Ubuntu):
assignee: John S. Gruber (jsjgruber) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lernid - 0.8.0.1

---------------
lernid (0.8.0.1) natty; urgency=low

  * Closes: LP: #749848: Revert the slide loading function to run synchronously
            rather than using python threads.
  * Closes: LP: #751019: Handle case where web page has no title.
  * Closes: LP: #764069: Revise size parameters passed to poppler page render
            call.
 -- John S Gruber <email address hidden> Mon, 18 Apr 2011 23:58:23 -0400

Changed in lernid (Ubuntu):
status: New → Fix Released
description: updated
Changed in lernid:
status: New → Fix Committed
Changed in lernid:
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.