[Bug 869422] Re: Cannot download a shared deck. Get Exception.

2011-10-06 Thread Patrick Sabin
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/869422

Title:
  Cannot download a shared deck. Get Exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anki/+bug/869422/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 869422] [NEW] Cannot download a shared deck. Get Exception.

2011-10-06 Thread Patrick Sabin
Public bug reported:

Whenever I try to download a shared deck I get an exception:

File is corrupt or not an Anki database. Click help for more info.

Debug info:
Traceback (most recent call last):
  File /usr/share/anki/ankiqt/ui/main.py, line 716, in loadDeck
self.deck = DeckStorage.Deck(deckPath)
  File /usr/share/anki/anki/deck.py, line 2814, in Deck
deck.rebuildQueue()
  File /usr/share/anki/anki/deck.py, line 685, in rebuildQueue
self.checkDue()
  File /usr/share/anki/anki/deck.py, line 665, in checkDue
stmt % 0, now=time.time()+self.delay0).rowcount
  File /usr/share/anki/anki/db.py, line 114, in statement
return self.execute(text(sql), kwargs)
  File /usr/share/anki/anki/db.py, line 90, in execute
x = self._session.execute(*a, **ka)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py, line 701, 
in execute
clause, params or {})
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1194, 
in execute
params)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1274, 
in _execute_clauseelement
return self.__execute_context(context)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1305, 
in __execute_context
context.parameters[0], context=context)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1404, 
in _cursor_execute
context)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py, line 1397, 
in _cursor_execute
context)
  File /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py, line 
299, in do_execute
cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such index: ix_cards_priorityDue 
u'update cards  indexed by ix_cards_priorityDue set isDue = 1 where type = 0 
and isDue = 0 and priority in (1,2,3,4) and combinedDue = ?' 
(1317928713.984924,)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: anki 1.0.1-1
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Oct  6 21:05:45 2011
InstallationMedia: Ubuntu 9.10 Karmic Koala - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en
 LANG=de_AT.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: anki
UpgradeStatus: Upgraded to natty on 2011-04-28 (161 days ago)

** Affects: anki (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/869422

Title:
  Cannot download a shared deck. Get Exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anki/+bug/869422/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 786491] [NEW] lfm crashes at startup, because of UnicodeDecodeError

2011-05-22 Thread Patrick Sabin
Public bug reported:

Binary package hint: lfm

If I start lfm it raises immediately a UnicodeDecodeError:

Traceback (most recent call last):
  File /usr/bin/lfm, line 27, in module
lfm_start(sys.argv)
  File /usr/share/lfm/lfm/lfm.py, line 924, in lfm_start
path = curses.wrapper(main, prefs, paths1, paths2)
  File /usr/lib/python2.7/curses/wrapper.py, line 43, in wrapper
return func(stdscr, *args, **kwds)
  File /usr/share/lfm/lfm/lfm.py, line 848, in main
ret = app.run()
  File /usr/share/lfm/lfm/lfm.py, line 197, in run
self.display()
  File /usr/share/lfm/lfm/lfm.py, line 153, in display
self.lpane.display()
  File /usr/share/lfm/lfm/lfm.py, line 358, in display
self.display_files()
  File /usr/share/lfm/lfm/lfm.py, line 465, in display_files
buf = tab.get_fileinfo_str_short(res, w, self.pos_col1)
  File /usr/share/lfm/lfm/lfm.py, line 753, in get_fileinfo_str_short
buf = '%(type_chr)c%(fname)s %(size)7s %(mtime2)12s' % res

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lfm 2.2-1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sun May 22 12:20:23 2011
InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_AT:en
 PATH=(custom, user)
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: lfm
UpgradeStatus: Upgraded to natty on 2011-05-03 (19 days ago)

** Affects: lfm (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug natty ubuntu-une

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/786491

Title:
  lfm crashes at startup, because of UnicodeDecodeError

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 786491] Re: lfm crashes at startup, because of UnicodeDecodeError

2011-05-22 Thread Patrick Sabin
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/786491

Title:
  lfm crashes at startup, because of UnicodeDecodeError

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 786491] Re: lfm crashes at startup, because of UnicodeDecodeError

2011-05-22 Thread Patrick Sabin
I discovered that the program only crashes on some directories. On some
others it works fine. I am not yet sure what the reason is. I tried it
on a directory with a file named รถ and it worked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/786491

Title:
  lfm crashes at startup, because of UnicodeDecodeError

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs