← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 634798] Re: anki crashed with AttributeError in __getattr__()

 

** Attachment added: "Maverick pbuilder log"
   https://bugs.edge.launchpad.net/ubuntu/+source/anki/+bug/634798/+attachment/1699064/+files/last_operation.log

** Description changed:

+ SRU Test Case:
+ 1. File -> Download -> Shared Deck
+ 2. Select any shared deck
+ 3. Click download and watch it crash
+ 4. Upgrade to -proposed package
+ 5. File -> Download -> Shared Deck
+ 6. Select any shared deck
+ 7. Click download and watch it work
+ 
+ ------------------------------------------------
+ 
  Binary package hint: anki
  
  Crashes when trying to download a shared deck.
  
  Traceback (most recent call last):
    File "/usr/share/anki/ankiqt/ui/getshared.py", line 166, in accept
      if not self.parent.saveAndClose(hideWelcome=True, parent=self):
    File "/usr/share/anki/ankiqt/ui/main.py", line 859, in saveAndClose
      self.deck.rollback()
    File "/usr/share/anki/anki/deck.py", line 2230, in rollback
      self.s.clear()
    File "/usr/share/anki/anki/hooks.py", line 59, in repl
      return old(*args, **kwargs)
    File "/usr/share/anki/anki/db.py", line 74, in __getattr__
      return getattr(self.__dict__['_session'], k)
  AttributeError: 'Session' object has no attribute 'clear'
  
  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: anki 0.9.9.8.6-2
  ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Sep 10 13:16:23 2010
  ExecutablePath: /usr/bin/anki
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  InterpreterPath: /usr/bin/python2.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/anki
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/anki']
  SourcePackage: anki
  Title: anki crashed with AttributeError in __getattr__()
  UserGroups: adm admin cdrom dialout dip lpadmin netdev plugdev sambashare vboxusers

-- 
anki crashed with AttributeError in __getattr__()
https://bugs.launchpad.net/bugs/634798
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to anki in ubuntu.