-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug] Full sync from ankiweb fail #11891
Comments
I tested on another device, that has not had updates for at least weeks if not months, and got the same issue after download (I was not connected, so can’t check if it’s the same stack trace) |
I had a similar error using the lastest alpha version. Whenever I sync, the bug report screen appears. Thus, I can't make ankidroid syncs my collection. I had to downgrade in order to make it work. |
@Feripe-a may I ask what version was the last version that worked for you? |
AnkiDroid Version = 2.16alpha73 Android Version = 11 Manufacturer = Xiaomi Model = 2201117TL Hardware = qcom Webview User Agent = Mozilla/5.0 (Linux; Android 11; 2201117TL Build/RKQ1.211001.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.71 Mobile Safari/537.36 ACRA UUID = b444231e-17cf-4bf2-b7d3-baa13502a9d6 Scheduler = std2 Crash Reports Enabled = true DatabaseV2 Enabled = true |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Hi @Feripe-a |
Waiting for a reply by @Feripe-a, once confirmed issue may be closed. |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Reproduction Steps
Expected Result
Full sync
Actual Result
Collection can't be opened
Debug info
Running PlayDebug from 27ffca5
2022-07-19 20:01:25.597 2378-9532/com.ichi2.anki W/Connection: java.lang.NullPointerException
at com.ichi2.libanki.sync.FullSyncer.download(FullSyncer.kt:110)
at com.ichi2.async.Connection.doInBackgroundSync(Connection.kt:322)
at com.ichi2.async.Connection.doOneInBackground(Connection.kt:131)
at com.ichi2.async.Connection.doInBackground(Connection.kt:125)
at com.ichi2.async.Connection.doInBackground(Connection.kt:55)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
2022-07-19 20:01:25.739 2378-2378/com.ichi2.anki W/DatabaseErrorDialog: java.io.IOException: Cannot run program "sqlite3": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
at java.lang.Runtime.exec(Runtime.java:699)
at java.lang.Runtime.exec(Runtime.java:529)
at java.lang.Runtime.exec(Runtime.java:426)
at com.ichi2.anki.dialogs.DatabaseErrorDialog.onCreateDialog(DatabaseErrorDialog.kt:61)
at com.ichi2.anki.dialogs.DatabaseErrorDialog.onCreateDialog(DatabaseErrorDialog.kt:45)
at androidx.fragment.app.DialogFragment.prepareDialog(DialogFragment.java:665)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:579)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1752)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:493)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1890)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1808)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1751)
at androidx.fragment.app.FragmentManager.executePendingTransactions(FragmentManager.java:614)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:534)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:519)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:515)
at com.ichi2.anki.AnkiActivity.showAsyncDialogFragment(AnkiActivity.java:559)
at com.ichi2.anki.AnkiActivity.showAsyncDialogFragment(AnkiActivity.java:545)
at com.ichi2.anki.DeckPicker.showDatabaseErrorDialog(DeckPicker.kt:1233)
at com.ichi2.anki.DeckPicker.handleDbError(DeckPicker.kt:1446)
at com.ichi2.anki.DeckPicker$mSyncListener$1.onPostExecute(DeckPicker.kt:1722)
at com.ichi2.async.Connection.onPostExecute(Connection.kt:108)
at com.ichi2.async.Connection.onPostExecute(Connection.kt:55)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.access$900(AsyncTask.java:199)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:133)
at java.lang.ProcessImpl.start(ProcessImpl.java:141)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:699)
at java.lang.Runtime.exec(Runtime.java:529)
at java.lang.Runtime.exec(Runtime.java:426)
at com.ichi2.anki.dialogs.DatabaseErrorDialog.onCreateDialog(DatabaseErrorDialog.kt:61)
at com.ichi2.anki.dialogs.DatabaseErrorDialog.onCreateDialog(DatabaseErrorDialog.kt:45)
at androidx.fragment.app.DialogFragment.prepareDialog(DialogFragment.java:665)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:579)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1752)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:493)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1890)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1808)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1751)
at androidx.fragment.app.FragmentManager.executePendingTransactions(FragmentManager.java:614)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:534)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:519)
at com.ichi2.anki.AnkiActivity.showDialogFragment(AnkiActivity.java:515)
at com.ichi2.anki.AnkiActivity.showAsyncDialogFragment(AnkiActivity.java:559)
at com.ichi2.anki.AnkiActivity.showAsyncDialogFragment(AnkiActivity.java:545)
at com.ichi2.anki.DeckPicker.showDatabaseErrorDialog(DeckPicker.kt:1233)
at com.ichi2.anki.DeckPicker.handleDbError(DeckPicker.kt:1446)
at com.ichi2.anki.DeckPicker$mSyncListener$1.onPostExecute(DeckPicker.kt:1722)
at com.ichi2.async.Connection.onPostExecute(Connection.kt:108)
at com.ichi2.async.Connection.onPostExecute(Connection.kt:55)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.access$900(AsyncTask.java:199)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Refer to the support page if you are unsure where to get the "debug info".
Research
Enter an [x] character to confirm the points below:
The text was updated successfully, but these errors were encountered: