Akylas / OSS-DocumentScanner

Android document document scanning app
https://www.akylas.fr
MIT License
703 stars 24 forks source link

[BUG] TypeError: Cannot read properties of undefined (reading 'replace') #276

Open ivoarch opened 1 month ago

ivoarch commented 1 month ago

Version

1.10.3 build 91

What platform are you using?

Android

OS Version

14

What happened?

After trying to configure the sync to my webdav (koofr cloud) account every time I try to sync or just open the app I get msg TypeError: Cannot read properties of undefined (reading 'replace') , I have setup to auto sync in open .

When I configure my webdav sync I check status before press save button and result is Successful !

Any help , I missing something ? Thanks.

Relevant log output

No response

Code of Conduct

jotoeri commented 1 month ago

Sounds similar to the error on Android, when exporting a document to pdf. Screenshot_20240808-230723_OSS Dokumentenscanner

pz-93 commented 4 weeks ago

I had the same issue when trying to sync to a Nextcloud WebDav using password authentification. I seemed to have solved it by using an "App password" instead of the user account password. I don't know if there's a similar feature in your cloud, but here's the steps for Nextcloud: Settings > Security > Create new app password (bottom of the page) > In OSS Document Scanner, select Password and copy the app password generated by Nextcloud.

ivoarch commented 3 weeks ago

I had the same issue when trying to sync to a Nextcloud WebDav using password authentification. I seemed to have solved it by using an "App password" instead of the user account password. I don't know if there's a similar feature in your cloud, but here's the steps for Nextcloud: Settings > Security > Create new app password (bottom of the page) > In OSS Document Scanner, select Password and copy the app password generated by Nextcloud.

I use a separate password for webdav , but I find the issue. I missing to add remote folder to sync I leave this empty in the setup menu . Is strange because when I test is show Successful w/o adding remote folder name to this field .

Thanks .

farfromrefug commented 3 weeks ago

@ivoarch thanks i will prevent that from happening