eshapard / AnkiHabitica

Anki 2.0/2.1 add-on for use with HabitRPG. Automatically scores habits when you reach the end of your Anki timebox and when you review all cards in a deck.
GNU General Public License v3.0
197 stars 31 forks source link

The add-on "AnkiHabitica" has the mistake.what should I do? #21

Closed StacyZD closed 8 years ago

StacyZD commented 8 years ago

I have installed the add-on "AnkiHabitica" many times.But the problem still exists. There is something that we need to notice. I can use the Anki formally beside the software often stuck , even though it remind me there are something wrong . I need your help very much . I hope you can reply soon. default

eshapard commented 8 years ago

OK. The problem is that ankihabitica can only handle profile names that are simple ASCII text. I'm guessing your Anki profile name uses Unicode. I'll try to fix this in a future release.

On Sep 4, 2016 6:09 AM, "StacyZD" notifications@github.com wrote:

I have installed the add-on "AnkiHabitica" many times.But the problem still exists. There is something that we need to notice. I can use the Anki formally beside the software often stuck , even though it remind me there are something wrong . I need your help very much . I hope you can reply soon. [image: default] https://cloud.githubusercontent.com/assets/21984987/18231172/d7bbda9e-72e3-11e6-8c19-0cdd46cbbd0e.PNG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eshapard/AnkiHabitica/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5-Kq-uCuyWSTZh5cBFk-WWk_O0qx2sks5qmsMRgaJpZM4J0iDy .

junsuwhy commented 8 years ago

I also met this problem.

附加元件出現錯誤 請到附加元件的論壇上回報此問題: https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last): File "aqt/progress.pyc", line 69, in handler File "aqt/main.pyc", line 110, in setupProfile File "aqt/main.pyc", line 244, in loadProfile File "anki/hooks.pyc", line 26, in runHook File "/Users/mac/Documents/Anki/addons/ankihabitica.py", line 693, in grab_profile ah.settings.profile = str(aqt.mw.pm.name) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

Thanks.

wapgod commented 8 years ago

I also met this problem, and thanks for your add-on

eshapard commented 8 years ago

No fix yet. Just use a profile name in plain ASCII if you want to use the addon

On Oct 8, 2016 11:55 AM, "wapgod" notifications@github.com wrote:

I also met this problem, and thanks for your add-on

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eshapard/AnkiHabitica/issues/21#issuecomment-252441812, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5-KhFREhfdSf6CI1yRC9a6SblfzRPRks5qx-crgaJpZM4J0iDy .

eshapard commented 8 years ago

user aleadag has fixed this for us. I haven't tested it myself, but it looks good. Download the new version of the addon from github.