Skip to content

Fixes error on Anki >=1.2.2#15

Open
mkasu wants to merge 7 commits intoLakedaemon:masterfrom
mkasu:patch-1
Open

Fixes error on Anki >=1.2.2#15
mkasu wants to merge 7 commits intoLakedaemon:masterfrom
mkasu:patch-1

Conversation

@mkasu
Copy link
Copy Markdown

@mkasu mkasu commented Sep 3, 2011

On Anki >=1.2.2 there is an exception when you have JxPlugin installed and try to load decks:

"Error during startup:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 103, in init
self.maybeLoadLastDeck(args)
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 785, in maybeLoadLastDeck
r = self.loadDeck(path, interactive=False, sync=False)
File "/home/kolcon/.anki/plugins/JxPlugin/ui_menu.py", line 183, in newLoadDeck
code = oldLoadDeck(deckPath, sync, interactive, uprecent,media)
TypeError: loadDeck() takes at most 5 arguments (6 given)"

This is kind of dirty hack by just removing the argument which is too much :P.

(I've edited your windows7 Branch as it is the most current one. For some reason github wants me to send a pull request for the :master branch, so it lists 7 commits).

@Lakedaemon
Copy link
Copy Markdown
Owner

Sorry JxPlugin is abandonware...I have touched it for ages as I
developped next a n anki client for the nintendo ds and as development
on this stopped too I'm no coding a soft for android that helps people
read japabnese novels

you are welcome to fork the code and distribute it (it's gpl code and I
so loathe gpl code anyway:)

On Sat, 2011-09-03 at 10:01 -0700, mkasu wrote:

On Anki >=1.2.2 there is an exception when you have JxPlugin installed and try to load decks:

"Error during startup:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 103, in init
self.maybeLoadLastDeck(args)
File "/usr/lib/python2.6/site-packages/ankiqt/ui/main.py", line 785, in maybeLoadLastDeck
r = self.loadDeck(path, interactive=False, sync=False)
File "/home/kolcon/.anki/plugins/JxPlugin/ui_menu.py", line 183, in newLoadDeck
code = oldLoadDeck(deckPath, sync, interactive, uprecent,media)
TypeError: loadDeck() takes at most 5 arguments (6 given)"

This is kind of dirty hack by just removing the argument which is too much :P.

(I've edited your windows7 Branch as it is the most current one. For some reason github wants me to send a pull request for the :master branch, so it lists 7 commits).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants