Table of contents

Orgzly

flossandroidapp

%3 cluster_a8cdbf6c_d672_4654_86f3_fe0cbb327b48 Orgzly cluster_d3247bdb_7d5c_40d9_afa2_5960a426845c Setup internal Git synchronization cluster_436d9a96_f7ef_4cd8_891c_135cd1c88a88 Troubleshooting _4581c073_7e39_473d_95f4_9cc0a992dc40 External git synchronization, using Termux _5e1f739a_e6ad_4487_a363_3aff0226adbc Loading of translation bundle _e7ab4e23_7440_4cd8_aea0_71360168671a Key file is not found _84484848_1b55_4495_935f_f6e711e4508a java.lang.ClassNotFoundException: com.jcraft.jsch.jce.Random _c4b75793_0d07_4ac2_980c_01346b9ae33b Database update failed while renaming .../.git/config.lock _2e18175d_8c78_46f0_8243_d5069c331e62 Setting up git sync crashes fails, restarting the activity _d4a15228_cae0_46af_bbd1_628b4c77acf1 Invalid private key _1710d269_2a39_4222_8895_e700b34d8e18 Org-mode __0:cluster_a8cdbf6c_d672_4654_86f3_fe0cbb327b48->_1710d269_2a39_4222_8895_e700b34d8e18 __1:cluster_d3247bdb_7d5c_40d9_afa2_5960a426845c->_4581c073_7e39_473d_95f4_9cc0a992dc40

Is an Org-mode editor for [ Android ] , with support for note creation and edition, task scheduling, agenda view and search.

There's some useful scripts here [lytex/orgzly-integrations] which might come in handy to complement Orgzly's own functionality.

DISCARDED

Setup internal Git synchronization

Right now this is experimental and can be enabled on the Settings > App > Developer options.

I still didn't get it to work yet. If you also can't, consider just using the [lytex/orgzly-integrations] scripts.

Troubleshooting

DONE

Setting up git sync crashes fails, restarting the activity

  • Error message

xt=u:object_r:ipacm_socket:s0 tclass=sock_file permissive=0
11-06 23:58:14.609  3761  9709 W MediaProvider: Forgot to handle a top level directory in getContentUriForFile?
11-06 23:58:14.626  3761  9709 E MediaProvider: insertFileIfNecessary failed
11-06 23:58:14.626  3761  9709 E MediaProvider: java.lang.IllegalArgumentException: Primary directory logs not allowed for content://media/external_primary/file; allowed directories are [Download, Documents]
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.ensureFileColumns(MediaProvider.java:3877)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.ensureUniqueFileColumns(MediaProvider.java:3515)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.insertFile(MediaProvider.java:4287)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.insertInternal(MediaProvider.java:4873)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.insert(MediaProvider.java:4573)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.insertFileForFuse(MediaProvider.java:9075)
11-06 23:58:14.626  3761  9709 E MediaProvider: 	at com.android.providers.media.MediaProvider.insertFileIfNecessaryForFuse(MediaProvider.java:9170)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
11-06 23:58:14.639 25009 29610 E AndroidRuntime: Process: com.orgzly, PID: 25009
11-06 23:58:14.639 25009 29610 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at android.os.AsyncTask$4.done(AsyncTask.java:415)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:923)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: Caused by: a9.o0: Loading of translation bundle failed for [g9.a, es_ES]
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v9.c.a(TranslationBundle.java:88)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v9.a.a(GlobalBundleCache.java:45)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v9.b.a(NLS.java:13)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v9.b.b(NLS.java:15)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at g9.a.b(JGitText.java:3)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at i9.f1.r(LockFile.java:46)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at i9.m2.G(RefDirectoryUpdate.java:30)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at s9.d1.t(RefUpdate.java:31)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at i9.f0.e(FileRepository.java:143)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v8.n.a(InitCommand.java:181)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v8.g.t(CloneCommand.java:31)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v8.g.m(CloneCommand.java:16)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at m5.g.l(GitRepo.java:39)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at m5.g.n(GitRepo.java:3)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at m5.g.o(GitRepo.java:18)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.c(GitRepoActivity.kt:9)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.doInBackground(GitRepoActivity.kt:3)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	... 4 more
11-06 23:58:14.639 25009 29610 E AndroidRuntime: Caused by: java.util.MissingResourceException: Can't find bundle for base name g9.a, locale es_ES
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1561)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1384)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:1076)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at v9.c.a(TranslationBundle.java:13)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	... 22 more
11-06 23:58:14.639 25009 29610 E AndroidRuntime: Caused by: java.lang.ClassCastException: g9.a cannot be cast to ResourceBundle
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2644)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1498)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.findBundle(ResourceBundle.java:1462)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.findBundle(ResourceBundle.java:1416)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.findBundle(ResourceBundle.java:1416)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1358)
11-06 23:58:14.639 25009 29610 E AndroidRuntime: 	... 24 more
11-06 23:58:14.655  1459  1958 W ActivityTaskManager:   Force finishing activity com.orgzly/.android.ui.repo.git.GitRepoActivity
11-06 23:58:14.659  1459 30091 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
11-06 23:58:14.676  1459  1958 D ActivityTrigger: ActivityTrigger activityPauseTrigger
11-06 23:58:14.688 25009 29610 I Process : Sending signal. PID: 25009 SIG: 9
11-06 23:58:14.701  1459  1537 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
11-06 23:58:14.701  1459  1537 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
11-06 23:58:14.707  1459  1958 D CompatibilityInfo: mCompatibilityFlags - 0
11-06 23:58:14.707  1459  1958 D CompatibilityInfo: applicationDensity - 420
11-06 23:58:14.708  1459  1958 D CompatibilityInfo: applicationScale - 1.0
11-06 23:58:14.748  1459  3847 D CompatibilityInfo: mCompatibilityFlags - 0
11-06 23:58:14.748  1459  3847 D CompatibilityInfo: applicationDensity - 420
11-06 23:58:14.748  1459  3847 D CompatibilityInfo: applicationScale - 1.0
11-06 23:58:14.753  1459  3847 D CompatibilityInfo: mCompatibilityFlags - 0
11-06 23:58:14.753  1459  3847 D CompatibilityInfo: applicationDensity - 420
11-06 23:58:14.753  1459  3847 D CompatibilityInfo: applicationScale - 1.0
11-06 23:58:14.790  2000  2015 I chatty  : uid=10084(com.android.systemui) HeapTaskDaemon expire 1 line
11-06 23:58:14.793  1459  1958 I ActivityManager: Process com.nextcloud.client (pid 27600) has died: cch+75 CEM
11-06 23:58:14.799   716   716 I Zygote  : Process 27600 exited due to signal 9 (Killed)
11-06 23:58:14.806  1459  2060 I WindowManager: WIN DEATH: Window{24973a4 u0 com.orgzly/com.orgzly.android.ui.repos.ReposActivity}
11-06 23:58:14.806  1459  3818 I ActivityManager: Process com.orgzly (pid 25009) has died: fg  TOP
11-06 23:58:14.806  1459  2060 W InputDispatcher: Attempted to unregister already unregistered input channel '24973a4 com.orgzly/com.orgzly.android.ui.repos.ReposActivity (server)'
11-06 23:58:14.807   716   716 I Zygote  : Process 25009 exited due to signal 9 (Killed)
11-06 23:58:14.809  1459  3815 I WindowManager: WIN DEATH: Window{56d233b u0 com.orgzly/com.orgzly.android.ui.repo.git.GitRepoActivity}
11-06 23:58:14.809  1459  3815 W InputDispatcher: Attempted to unregister already unregistered input channel '56d233b com.orgzly/com.orgzly.android.ui.repo.git.GitRepoActivity (server)'
11-06 23:58:14.811  1459  1626 I libprocessgroup: Successfully killed process cgroup uid 10156 pid 27600 in 17ms
11-06 23:58:14.812  1459  1626 I libprocessgroup: Successfully killed process cgroup uid 10319 pid 25009 in 0ms
11-06 23:58:14.815  1459  3817 I WindowManager: WIN DEATH: Window{18f12bf u0 com.orgzly/com.orgzly.android.ui.main.MainActivity}
11-06 23:58:14.815  1459  3817 W InputDispatcher: Attempted to unregister already unregistered input channel '18f12bf com.orgzly/com.orgzly.android.ui.main.MainActivity (server)'
11-06 23:58:14.819  1459  1958 I WindowManager: WIN DEATH: Window{1a9f539 u0 com.orgzly/com.orgzly.android.ui.repo.git.GitRepoActivity EXITING}
11-06 23:58:14.820  1459  2607 I WindowManager: WIN DEATH: Window{87f7f4f u0 com.orgzly/com.orgzly.android.ui.settings.SettingsActivity}
11-06 23:58:14.821  1459  2607 W InputDispatcher: Attempted to unregister already unregistered input channel '87f7f4f com.orgzly/com.orgzly.android.ui.settings.SettingsActivity (server)'
11-06 23:58:14.833  1459  3818 D CompatibilityInfo: mCompatibilityFlags - 0
11-06 23:58:14.833  1459  3818 D CompatibilityInfo: applicationDensity - 420
11-06 23:58:14.833  1459  3818 D CompatibilityInfo: applicationScale - 1.0
11-06 23:58:14.836  1459  1521 W ActivityManager: setHasOverlayUi called on unknown pid: 25009
11-06 23:58:14.837  1459  1521 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10319; state: DISABLED
11-06 23:58:14.837  1459  1538 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10319; state: ENABLED
11-06 23:58:14.847   716   716 D Zygote  : Forked child process 30097
11-06 23:58:14.850  1459  1538 I ActivityManager: Start proc 30097:com.orgzly/u0a319 for top-activity {com.orgzly/com.orgzly.android.ui.repos.ReposActivity}
  • Fix

    Looks like a permissions problem. Use a folder inside the Documents directory as internal sync point. Same has to be done with key entry

DONE

Key file is not found

  • Error message

11-07 00:09:46.229 31760  1107 W System.err: w8.z: ssh://git@code.codigoparallevar.com:22/XXX/XXX.git: java.io.FileNotFoundException: /storage/emulated/0/Documents/keys/logs/id_rsa: open failed: EACCES (Permission denied)
11-07 00:09:46.229 31760  1107 W System.err: 	at v8.k.k(FetchCommand.java:137)
11-07 00:09:46.229 31760  1107 W System.err: 	at v8.g.r(CloneCommand.java:113)
11-07 00:09:46.229 31760  1107 W System.err: 	at v8.g.m(CloneCommand.java:37)
11-07 00:09:46.229 31760  1107 W System.err: 	at m5.g.l(GitRepo.java:39)
11-07 00:09:46.229 31760  1107 W System.err: 	at m5.g.n(GitRepo.java:3)
11-07 00:09:46.229 31760  1107 W System.err: 	at m5.g.o(GitRepo.java:18)
11-07 00:09:46.229 31760  1107 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.c(GitRepoActivity.kt:9)
11-07 00:09:46.229 31760  1107 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.doInBackground(GitRepoActivity.kt:3)
11-07 00:09:46.229 31760  1107 W System.err: 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
11-07 00:09:46.229 31760  1107 W System.err: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
11-07 00:09:46.229 31760  1107 W System.err: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
11-07 00:09:46.229 31760  1107 W System.err: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
11-07 00:09:46.229 31760  1107 W System.err: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
11-07 00:09:46.229 31760  1107 W System.err: 	at java.lang.Thread.run(Thread.java:923)
11-07 00:09:46.229 31760  1107 W System.err: Caused by: a9.q0: ssh://git@code.codigoparallevar.com:22/XXX/XXX.git: java.io.FileNotFoundException: /storage/emulated/0/Documents/keys/logs/id_rsa: open failed: EACCES (Permission denied)
11-07 00:09:46.229 31760  1107 W System.err: 	at ca.t0.d(JschConfigSessionFactory.java:229)
11-07 00:09:46.229 31760  1107 W System.err: 	at ca.m3.b1(SshTransport.java:41)
11-07 00:09:46.229 31760  1107 W System.err: 	at ca.w3$d.<init>(TransportGitSsh.java:4)
--
11-07 00:09:46.230 31760  1107 W System.err: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
11-07 00:09:46.230 31760  1107 W System.err: 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
11-07 00:09:46.230 31760  1107 W System.err: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
11-07 00:09:46.230 31760  1107 W System.err: 	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7591)
11-07 00:09:46.230 31760  1107 W System.err: 	at libcore.io.IoBridge.open(IoBridge.java:478)
11-07 00:09:46.230 31760  1107 W System.err: 	... 32 more
11-07 00:09:46.267 31760 31760 W System.err: java.io.IOException: Failed to clone repository ssh://git@code.codigoparallevar.com:22/XXX/XXX.git, ssh://git@code.codigoparallevar.com:22/XXX/XXX.git: java.io.FileNotFoundException: /storage/emulated/0/Documents/keys/logs/id_rsa: open failed: EACCES (Permission denied)
11-07 00:09:46.267 31760 31760 W System.err: 	at m5.g.l(GitRepo.java:92)
11-07 00:09:46.267 31760 31760 W System.err: 	at m5.g.n(GitRepo.java:3)
11-07 00:09:46.267 31760 31760 W System.err: 	at m5.g.o(GitRepo.java:18)
11-07 00:09:46.267 31760 31760 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.c(GitRepoActivity.kt:9)
11-07 00:09:46.267 31760 31760 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.doInBackground(GitRepoActivity.kt:3)
11-07 00:09:46.267 31760 31760 W System.err: 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
11-07 00:09:46.267 31760 31760 W System.err: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
11-07 00:09:46.267 31760 31760 W System.err: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
11-07 00:09:46.267 31760 31760 W System.err: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
11-07 00:09:46.267 31760 31760 W System.err: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
11-07 00:09:46.267 31760 31760 W System.err: 	at java.lang.Thread.run(Thread.java:923)
11-07 00:09:46.267 31760 31760 W System.err: Caused by: a9.q0: ssh://git@code.codigoparallevar.com:22/XXX/XXX.git: java.io.FileNotFoundException: /storage/emulated/0/Documents/keys/logs/id_rsa: open failed: EACCES (Permission denied)
11-07 00:09:46.267 31760 31760 W System.err: 	at ca.t0.d(JschConfigSessionFactory.java:229)
11-07 00:09:46.267 31760 31760 W System.err: 	at ca.m3.b1(SshTransport.java:41)
11-07 00:09:46.267 31760 31760 W System.err: 	at ca.w3$d.<init>(TransportGitSsh.java:4)
FP3:/sdcard/Documents/keys/logs $ mv id_rsa{,.pub} /sdcard/Android/data/com.orgzly/files/keys/

  • When entering that path on the UI, the "Browse" dialog won't reach inside the data directory so you'll need to enter it manually.

  • So far I've not found what is the corresponding route on the Google Play's store (/scard/Android/data/com.orgzly doesn't exist on my device if installed using that marketplace)

DONE

Invalid private key

  • Error message

11-07 00:33:41.713  6298  8574 W System.err: u8.z: ssh://git@code.codigoparallevar.com:22/XXX/XXX.git: invalid privatekey: [B@c2c7414
11-07 00:33:41.714  6298  8574 W System.err: 	at t8.k.k(FetchCommand.java:24)
11-07 00:33:41.714  6298  8574 W System.err: 	at t8.g.r(CloneCommand.java:20)
11-07 00:33:41.714  6298  8574 W System.err: 	at t8.g.m(CloneCommand.java:7)
11-07 00:33:41.714  6298  8574 W System.err: 	at j5.f.l(GitRepo.java:8)
11-07 00:33:41.714  6298  8574 W System.err: 	at j5.f.n(GitRepo.java:1)
11-07 00:33:41.714  6298  8574 W System.err: 	at j5.f.o(GitRepo.java:3)
11-07 00:33:41.714  6298  8574 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.a(Unknown Source:8)
11-07 00:33:41.714  6298  8574 W System.err: 	at com.orgzly.android.ui.repo.git.GitRepoActivity$d.doInBackground(Unknown Source:2)
11-07 00:33:41.714  6298  8574 W System.err: 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
11-07 00:33:41.714  6298  8574 W System.err: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[...]

DONE

Database update failed while renaming .../.git/config.lock

  • Error

Database update failed while renaming /storage/emulated/0/Documents/logs/.git/config.lock
02-15 11:26:20.229  4332  4512 W MediaProvider: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: files._data (code 2067 SQLITE_CONSTRAINT_UNIQUE)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:890)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:756)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:66)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.DatabaseUtils.executeUpdateDelete(DatabaseUtils.java:467)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.SQLiteQueryBuilder.update(SQLiteQueryBuilder.java:697)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.SQLiteQueryBuilder.lambda$update$2(SQLiteQueryBuilder.java:619)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.SQLiteQueryBuilder.$r8$lambda$HsU2MxAJo7HcqvsOurIzkF-GF5M(Unknown Source:0)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.SQLiteQueryBuilder$$ExternalSyntheticLambda4.apply(Unknown Source:10)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.DatabaseHelper.runWithTransaction(DatabaseHelper.java:951)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.util.SQLiteQueryBuilder.update(SQLiteQueryBuilder.java:618)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.updateDatabaseForFuseRename(MediaProvider.java:2915)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.updateDatabaseForFuseRename(MediaProvider.java:2882)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.updateDatabaseForFuseRename(MediaProvider.java:2876)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.renameFileForFuse(MediaProvider.java:3238)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.renameFileCheckedForFuse(MediaProvider.java:3214)
02-15 11:26:20.229  4332  4512 W MediaProvider: 	at com.android.providers.media.MediaProvider.renameForFuse(MediaProvider.java:3420)
02-15 11:26:20.231  4332  4512 I MediaProvider: Retrying database update after deleting conflicting entry
02-15 11:26:20.303  4332  4502 W MediaProvider: Failed to update quota for uri: content://media/external_primary/file/1000003360
02-15 11:26:20.303  4332  4502 W MediaProvider: java.io.FileNotFoundException: No item at content://media/external_primary/file/1000003360
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider.queryForSingleItem(MediaProvider.java:8540)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider.queryForDataFile(MediaProvider.java:8480)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider.queryForDataFile(MediaProvider.java:8472)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider.updateQuotaTypeForUri(MediaProvider.java:704)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider.-$$Nest$mupdateQuotaTypeForUri(Unknown Source:0)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider$4.lambda$onUpdate$1(MediaProvider.java:805)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider$4.$r8$lambda$3D2OHltIfecN7CvhaLyqtkV--uY(Unknown Source:0)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at com.android.providers.media.MediaProvider$4$$ExternalSyntheticLambda1.run(Unknown Source:10)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at android.os.Handler.handleCallback(Handler.java:938)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at android.os.Handler.dispatchMessage(Handler.java:99)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at android.os.Looper.loop(Looper.java:223)
02-15 11:26:20.303  4332  4502 W MediaProvider: 	at android.os.HandlerThread.run(HandlerThread.java:67)
  • Fix?

    Remove Orgzly storage

DISCARDED

Loading of translation bundle

FATAL EXCEPTION: AsyncTask #1
02-15 11:33:10.604 31343 32524 E AndroidRuntime: Process: com.orgzly, PID: 31343
02-15 11:33:10.604 31343 32524 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at android.os.AsyncTask$4.done(AsyncTask.java:415)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:923)
02-15 11:33:10.604 31343 32524 E AndroidRuntime: Caused by: a9.o0: Loading of translation bundle failed for [g9.a, es_ES]
02-15 11:33:10.604 31343 32524 E AndroidRuntime: 	at v9.c.a(TranslationBundle.java:88)
  • +Fix

    Settings > Look & Feel & Use English locale+

DISCARDED

java.lang.ClassNotFoundException: com.jcraft.jsch.jce.Random

  • Not found on later versions (though it might have been masked by other errors).

DONE

External git synchronization, using Termux

The plan is the following:

  • Use [Termux] to git clone the repo to a directory

  • Sync Orgzly to that directory

  • Use [Termux:Widget] to create a shortcut that will synchronize the contents of the directory. This is an example of the shortcut code (drop it on ~/.shortcut/ from the perspective of Termux).

#!/bin/sh

set -eux

# Path to documents directory
cd /sdcard/....

# Download changes, and apply local ones on top of remotes
git pull --rebase --autostash

# This triggers an orgzly sync
# https://github.com/orgzly/orgzly-android/issues/231
am broadcast -a com.orgzly.intent.action.SYNC_START com.orgzly/com.orgzly.android.ActionReceiver

git add *.org.txt *.org  # Add all changes
git commit -m 'Auto-synced'
git push