Bug 684108 - [abrt] anki-1.2.6-1.fc14: cards.py:200:allTags:AttributeError: 'NoneType' object has no attribute 'tags'
Summary: [abrt] anki-1.2.6-1.fc14: cards.py:200:allTags:AttributeError: 'NoneType' obj...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anki
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Krause
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:28938a68
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-11 06:10 UTC by wbiker
Modified: 2012-08-16 12:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 12:48:08 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.17 KB, text/plain)
2011-03-11 06:10 UTC, wbiker
no flags Details

Description wbiker 2011-03-11 06:10:07 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/anki
comment: As mentioned above I use Anki on two computers. Both with Fedora 14 and KDE.
component: anki
executable: /usr/bin/anki
kernel: 2.6.35.11-83.fc14.x86_64
package: anki-1.2.6-1.fc14
reason: cards.py:200:allTags:AttributeError: 'NoneType' object has no attribute 'tags'
release: Fedora release 14 (Laughlin)
time: 1299823318
uid: 500

backtrace
-----
cards.py:200:allTags:AttributeError: 'NoneType' object has no attribute 'tags'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 619, in <lambda>
    lambda i=i: self.cardAnswered(i))
  File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 510, in cardAnswered
    self.moveToState("getQuestion")
  File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 389, in moveToState
    return self.moveToState("showQuestion")
  File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 413, in moveToState
    self.updateMarkAction()
  File "/usr/lib/python2.7/site-packages/ankiqt/ui/main.py", line 2563, in updateMarkAction
    if self.currentCard.hasTag("Marked"):
  File "/usr/lib/python2.7/site-packages/anki/cards.py", line 204, in hasTag
    return findTag(tag, parseTags(self.allTags()))
  File "/usr/lib/python2.7/site-packages/anki/cards.py", line 200, in allTags
    return (self.fact.tags + "," +
AttributeError: 'NoneType' object has no attribute 'tags'

Local variables in innermost frame:
self: <anki.cards.Card object at 0x7fb6ec831b90>

If that doesn't fix the problem, please copy the following
into a bug report:

How to reproduce
-----
It is not the first occure of an exception. First I did the recommended solution and Choose /tools/Check database. That did not work and all my changes was overwritten :-( (I use Anki on two comuters).
Most of the questions was answerd on another PC so I tried the Download entry in the File menu and overwrote the local database. 
That worked so far until I answered about 20-30 question. Then this exception shows up. 
Restarting Ank shows the problem with Server sync again.

Comment 1 wbiker 2011-03-11 06:10:10 UTC
Created attachment 483643 [details]
File: backtrace

Comment 2 wbiker 2011-03-25 06:03:56 UTC
Package: anki-1.2.6-1.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
Sync database with the server one. Since the data have changed I overwrite the local database with the remote one.
After about 20 vocables the exeption was thrown.


Comment
-----
I use Anki on two computers. Both with Fedora 14 and KDE.

Comment 3 Fedora End Of Life 2012-08-16 12:48:11 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.