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

Habitica Avatar does not show correctly #57

Open anhnNguyen48 opened 7 years ago

anhnNguyen48 commented 7 years ago

Hi all,

I installed AnkiHabitica and everything works perfectly, except the showing avatar when I score a Habitica point. I checked at habitica_api.py and the function export_avatar_as_png(), also tried to go to "http://habitica.com/export/avatar-%s.png" with %s is my userID. However, the .png photo I received is a white background with 2 lines of texts on the left side of the frame: {{proflife.p {{profile.s

Does anyone have an idea to help me fix this problem? Thank you.

eshapard commented 7 years ago

This is a problem on Habitica's end. I and a few others have informed them of the issue... hopefully they'll get it fixed soon, but I suspect its low on their list of priorities.

On Wed, Oct 11, 2017 at 12:01 PM, anhnNguyen48 notifications@github.com wrote:

Hi all,

I installed AnkiHabitica and everything works perfectly, except the showing avatar when I score a Habitica point. I checked at habitica_api.py and the function export_avatar_as_png(), also tried to go to " http://habitica.com/export/avatar-%s.png" with %s is my userID. However, the .png photo I received is a white background with 2 lines of texts on the left side of the frame: {{proflife.p {{profile.s

Does anyone have an idea to help me fix this problem? Thank you.

— 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/57, or mute the thread https://github.com/notifications/unsubscribe-auth/AF5-KkodjA-BGtUgemjFmVS40NkFtxfgks5srRCDgaJpZM4P1925 .

khonkhortisan commented 5 years ago

In case this helps at all, this demo app gets the avatar https://github.com/crookedneighbor/habitica-avatar it stacks image layers together instead of making a single image, it works if I embed the iframe in a card, but the pop-up is generated through python instead of html/js. So it's just a language barrier or webpage embed away from working.