c-okelly / anki-remote-decks

Addon for Anki - Creating remote decks in Google Docs
https://ankiweb.net/shared/info/911568091
MIT License
71 stars 15 forks source link

400 Client Error: Bad Request for URL #98

Closed whoub2020 closed 3 years ago

whoub2020 commented 3 years ago

I get an error when trying to create cards from a Google Docs file. This error appears on new decks, documents I've previously been able to convert, and on both Anki 2.1.44 and 2.1.46 [

Screen Shot 2021-08-23 at 15 13 01

](url)

whoub2020 commented 3 years ago

After the error message, The deck is created but there are no cards within it

BrunhildeVanDeBouwe commented 3 years ago

I get the same error message - but if I delete all the images in google docs, it works fine.

DanielB1235 commented 3 years ago

Same error message with decks with pictures. Text only decks still work fine.

hjordisasta commented 3 years ago

I have the same issue, have not been able to solve it

leoprob98 commented 3 years ago

I have the same problem.

c-okelly commented 3 years ago

It seems that Google must have changed the URL for images. Will have a proper look into it this evening

c-okelly commented 3 years ago

There has not been much activity recently as there was a lot of issue related to breaking API changes within Anki.

I will make sure to investigate this though since it seems more likely it is on the Google side of it

hjordisasta commented 3 years ago

There has not been much activity recently as there was a lot of issue related to breaking API changes within Anki.

I will make sure to investigate this though since it seems more likely it is on the Google side of it

Is there any way that you know of to make it work for the time being?

Thanks in advance,

c-okelly commented 3 years ago

Only real solution would be to remove all the image or manually patch the code but I don't know just yet what the issue is the with the URLs.

Once I know what the issue is I will push a release as quick as I know what the fix is!

I might not be till later this week I can actually dig into it

c-okelly commented 3 years ago

Ok I have gotten to the bottom of what the issue is and it should not be a big fix. Will hopefully push the fix tomorrow once I do some more testing!

leoprob98 commented 3 years ago

Thank you so much! @c-okelly

c-okelly commented 3 years ago

Sorry will get it done today

c-okelly commented 3 years ago

Ok have a working building but just doing some more testing before I push will def be completed by Wednesday this week!

c-okelly commented 3 years ago

This issue should be closed by 9c06a75ec5b5a7e1142bbd0b3e73d81a01208bd6 . I have added a new build to the ankiweb addon so should be able to update it via the normal way in Anki.

Let me know if there are any existing issues

c-okelly commented 3 years ago

Also reading over some of the code I wrote a few years ago was a trip. None of it would pass a code review i would do now!

hjordisasta commented 3 years ago

THANK YOU!! I'm so so glad all my decks work now hahah. Do you think there will be an update on the text formatting soon - so bold/italics/underlining (+colors) would sync and appear on the cards in anki too?

BrunhildeVanDeBouwe commented 3 years ago

Thanks a lot!!!

leoprob98 commented 3 years ago

Thank you so much! @c-okelly

francisbeynon commented 3 years ago

This issue should be closed by 9c06a75 . I have added a new build to the ankiweb addon so should be able to update it via the normal way in Anki.

Let me know if there are any existing issues

Hi @c-okelly ,

Thank you for working on this bug and update. Unfortunately I still can't see images when using the remote anki deck. I'm using a macbook pro and ipad. Is there still an image issue with apple products? Many thanks