Back

yomichan: a tool for reading books with Anki vocab deck integration

#86
I just downloaded the plugin for the first time from the shared plugins, and Anki now dumps this error when starting up:
Code:
Error in yomichan.py
Traceback (most recent call last):
  File "/usr/share/anki/ankiqt/ui/main.py", line 2685, in loadPlugins
    __import__(nopy)
  File "/home/me/.anki/plugins/yomichan.py", line 1, in <module>
    from yomichan_plugin import yomichan_plugin
  File "/home/me/.anki/plugins/yomichan_plugin/yomichan_plugin.py", line 22, in <module>
    from core.reader import MainWindowReader
  File "/home/me/.anki/plugins/yomichan_plugin/core/reader.py", line 26, in <module>
    import reader_util
  File "/home/me/.anki/plugins/yomichan_plugin/core/reader_util.py", line 101
      field: replaceMarkupInField(value, markup) for field, value in fields.items()
                                                   ^
  SyntaxError: invalid syntax
This is on Ubuntu 10.10 with Python 2.6.6 and Anki 1.2.7

Edit: Checked first post, and it says I need Python 2.7. Not sure how feasible it is for me to upgrade that before Ubuntu 11.4 is released.
Edited: 2011-02-21, 1:11 am
Reply

Messages In This Thread