Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Filling transcription and color throws #29

Closed
jcklie opened this issue Dec 19, 2018 · 1 comment
Closed

Filling transcription and color throws #29

jcklie opened this issue Dec 19, 2018 · 1 comment
Assignees
Milestone

Comments

@jcklie
Copy link

jcklie commented Dec 19, 2018

Describe the bug

When I click on Chinese -> Fill transcription and Color, then I get the following error message:

Error 
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. 
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. 
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site. 
Debug info:
Anki 2.1.5 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Windows 7
Flags: frz=True ao=True sv=1

Caught exception:
  File "E:\AnkiData\addons21\1128979221\fill.py", line 185, in fill_pinyin
    results += update_Pinyin_fields(hanzi, note_dict)
  File "E:\AnkiData\addons21\1128979221\behavior.py", line 143, in update_Pinyin_fields
    format_Pinyin_fields(d)
  File "E:\AnkiData\addons21\1128979221\behavior.py", line 130, in format_Pinyin_fields
    True
<class 'TypeError'>: accentuate() takes 1 positional argument but 2 were given

To Reproduce
Steps to reproduce the behavior:

  1. Open Anki
  2. Click on Chinese -> Fill transcription and Color
  3. Click on Yes
  4. See error

Expected behavior
It fills out my notes

Screenshots

image

Specs (please complete the following information):

  • OS: Windows 7
  • Anki Version 2.1.5 Qt 5.9.2 PyQt 5.9
  • Chinese Support Version v084

Additional context
It looks a bit like #22

@jdlorimer
Copy link
Owner

You're correct, it's exactly the same bug. This is fixed in the development code, which I'll be uploading to AnkiWeb today most likely.

Thanks for the report.

@jdlorimer jdlorimer self-assigned this Dec 20, 2018
@jdlorimer jdlorimer added this to the v1.0 milestone Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants