Can't create new deck

Bug #667066 reported by barnaba
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anki (Ubuntu)
Incomplete
Undecided
Rolf Leggewie

Bug Description

Binary package hint: anki

Hello. I'm using ubuntu 10.10 on amd64 architecture. I had some decks, possibly from previous versions of anki. After discovering error I removed .anki, but error is still ocurring. I'm using Anki 0.9.9.8.6

What I did:

I started anki, and clicked Create button (or File > New - same effect).

What I expected:

New deck.

What happened:
Following error occured:

An error occurred. Please:
Restart Anki.
If it does not fix the problem, please copy the following
into a bug report:

Traceback (most recent call last):
  File "/usr/share/anki/ankiqt/ui/main.py", line 871, in onNew
    if not self.saveAndClose(hideWelcome=True): return
  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'

-----

The Tools menu is inactive, so I downloaded random deck via download menu and restarted anki. After restarting Anki the Tools menu was active, but there was no option Tools > Advanced > Full Database Check. I've run Tools > Advance > Check Database, and restarted Anki again. After completing those steps I still wasn't able to create new deck.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

is this still an issue ten+ years later?

Changed in anki (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
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.