lernid crashed with ValueError in items_in_section()

Bug #649271 reported by Rafał Cieślak
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lernid
Invalid
Undecided
Unassigned
desktopcouch (Ubuntu)
New
Medium
Unassigned
lernid (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: lernid

It happens when I run it. There is log from console when I run lernid -v:

DEBUG:root:logging enabled
INFO:root:Connecting to discovered local port.
Traceback (most recent call last):
  File "/usr/bin/lernid", line 439, in <module>
    window = NewLernidWindow()
  File "/usr/bin/lernid", line 418, in NewLernidWindow
    window.finish_initializing(builder)
  File "/usr/bin/lernid", line 92, in finish_initializing
    if HAVE_APPINDICATOR and Preferences.get('show_appindicator'):
  File "/usr/lib/python2.6/dist-packages/lernid/CouchDBPreferences.py", line 75, in get
    klass = cls.get_instance()
  File "/usr/lib/python2.6/dist-packages/lernid/CouchDBPreferences.py", line 66, in get_instance
    cls._instance = cls()
  File "/usr/lib/python2.6/dist-packages/lernid/CouchDBPreferences.py", line 31, in __init__
    self._database = CouchDatabase(self._db_name, create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 56, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 153, in __init__
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 64, in _reconnect
    super(CouchDatabase, self)._reconnect(uri=uri)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 183, in _reconnect
    **self._server_class_extras)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 39, in __init__
    oauth_tokens = desktopcouch.local_files.get_oauth_tokens(ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 325, in get_oauth_tokens
    oauth_consumer_secrets = cf.items_in_section("oauth_consumer_secrets")[0]
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 190, in items_in_section
    raise ValueError("Section %r not present." % (section_name,))
ValueError: Section 'oauth_consumer_secrets' not present.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: lernid 0.7
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Mon Sep 27 22:12:17 2010
ExecutablePath: /usr/bin/lernid
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/lernid
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.utf8
PythonArgs: ['/usr/bin/lernid']
SourcePackage: lernid
Title: lernid crashed with ValueError in items_in_section()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
John S. Gruber (jsjgruber) wrote :

I suspect that this is a desktopcouch or desktopcouch related user environment problem. Marking as invalid for Lernid.

Changed in lernid:
status: New → Invalid
Revision history for this message
John S. Gruber (jsjgruber) wrote :

Appears to be a desktopcouch problem, as mentioned above. If you are still having trouble with this you may wish to try to get around it by deleting the ~/.config/desktopcouch/desktopcouch.conf and matching key in your keyring.

Changed in lernid (Ubuntu):
status: New → Invalid
Changed in desktopcouch (Ubuntu):
importance: Undecided → Medium
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.