What steps will reproduce the problem?
1. export file
2. save as .anki
What is the expected output? What do you see instead?
I can't save with .anki format
What version of the product are you using? On what operating system?
1.2.11
Please provide any additional information below.
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/exporting.py", line 75, in accept
self.exporter.exportInto(file)
File "/usr/share/anki/anki/exporting.py", line 100, in exportInto
res = server.applyPayload(payload)
File "/usr/share/anki/anki/sync.py", line 188, in applyPayload
self.rebuildPriorities(cardIds, self.serverExcludedTags)
File "/usr/share/anki/anki/sync.py", line 220, in rebuildPriorities
self.deck.updateAllPriorities(partial=True, dirty=False)
File "/usr/share/anki/anki/deck.py", line 1163, in updateAllPriorities
new = self.updateTagPriorities()
File "/usr/share/anki/anki/deck.py", line 1193, in updateTagPriorities
new)
File "/usr/share/anki/anki/db.py", line 118, in statements
return self.execute(text(sql), data)
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 934, in execute
clause, params or {})
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
compiled_sql, distilled_params
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 828, in _execute_context
None, None)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
exc_info
File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 196, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 824, in _execute_context
context = constructor(dialect, self, conn, *args)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 438, in _init_compiled
grp, m in enumerate(parameters)]
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/compiler.py", line 367, in construct_params
% bindparam.key)
sqlalchemy.exc.StatementError: A value is required for bind parameter 'pri'
(original cause: InvalidRequestError: A value is required for bind parameter
'pri') u'update tags set priority = ? where id = ?' [{}]
Original issue reported on code.google.com by alberto....@gmail.com on 9 Apr 2015 at 1:55
Original issue reported on code.google.com by
alberto....@gmail.com
on 9 Apr 2015 at 1:55