-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi , my proplem in the import #11845
Comments
Hi there! Is it possible to try a newer alpha? 58 is pretty old at this point - https://github.com/ankidroid/Anki-Android/releases If it is still happening we can look again of course - unfortunately I do not see your report in our crash database, so I'm not sure what is going on there 🤔 |
Is it possible for you to share the deck you're trying to import? |
I can't seem to reproduce this when building from the latest main - I tried importing a few decks with the legacy schema, and didn't get any errors/crashes. Maybe it is related to the content of your local collection? If you use one of the alternate builds to import into a fresh collection, does it make a difference? |
You mentioned it could be related to the content of the collection so I focused on it. I get the error message (as in the picture above) when I export a deck with a card with a sound tag (e.g. [sound:sound.mp3]) but media are not included during export.
I will try to find exact steps to the crash too. |
@pavreh you have my continued gratitude for detailed reports and all of the testing effort, it is a huge help to the project, thank you! @aliffhasf (and pavreh) hopefully we get this fixed quickly of course :-) |
I created a card with '[sound:nosuchfile.mp3]' on the desktop, exported it to an apkg, then imported it into AnkiDroid with the legacy schema, and it imported ok for me. Any other ideas about how to reproduce it? Can you share a file (privately) that triggers this? |
I found exporting from AnkiDroid was saving 0 byte files, but wasn't sure whether that was some issue with the sim I was using or some greater issue, so I tested by exporting from the desktop version and copying the file over. Sounds like it's exporting 0 byte files for you too? |
Yes, exports from AnkiDroid (legacy schema) are 0 byte files. |
There is the file which causes the error when imported to AnkiDroid 2.16alpha85 with the legacy schema. |
The continue statement appears to have been lost in the Kotlin conversion. Closes ankidroid#11845
The continue statement appears to have been lost in the Kotlin conversion. Closes ankidroid#11845
Thanks pavreh. Turns out that I was testing with the wrong schema before - there are two ways to toggle it, and I'd changed one but not the other. |
The continue statement appears to have been lost in the Kotlin conversion. Closes #11845
The continue statement appears to have been lost in the Kotlin conversion. Closes ankidroid#11845
I can't import ready-made cards when they are downloaded and I see a logo that says send error reports..
AnkiDroid Version = 2.16alpha58
Android Version = 12
Manufacturer = Xiaomi
Model = M2101K6I
Hardware = qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 12; M2101K6I Build/SKQ1.210908.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.71 Mobile Safari/537.36
ACRA UUID = 5eb45ddc-4406-4e1c-a2f7-4e2a995255af
Scheduler = std2
Crash Reports Enabled = true
DatabaseV2 Enabled = true
The text was updated successfully, but these errors were encountered: