Skip to content
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]. Import/Export Function is broken #19

Closed
NA0341 opened this issue Dec 17, 2023 · 23 comments
Closed

[Bug]. Import/Export Function is broken #19

NA0341 opened this issue Dec 17, 2023 · 23 comments
Labels
bug Something isn't working

Comments

@NA0341
Copy link

NA0341 commented Dec 17, 2023

Steps to reproduce:

  1. Export config.
  2. Import config
  3. Click on "Restart" -> The following Message appears: Cannot read properties of undefined (reading 'getActivity')

It needs to be checked whether this is a bug in import or export.

Here's the config file:
alpimaps_settings_2023-12-17.json

OSS Document Scanner Version: 1.1.4 Build 9

System & Device Info:
OS version: 9
Bootloader: G950FXXUCDVI1, VM: ART
Kernel: 4.4.111-21427293
Brand: samsung, Model: SM-G950F
Board: universal8895, Manufacturer: samsung

SDK
Target: 28, Min: 17

Security
Root: false
Encryption: Encrypted (FDE)
Patch level: April 1, 2021

@NA0341 NA0341 changed the title [Bug]. Import Function is broken: Cannot read properties of undefined (reading 'getActivity') [Bug]. Import/Export Function is broken: Cannot read properties of undefined (reading 'getActivity') Dec 17, 2023
@farfromrefug farfromrefug added the bug Something isn't working label Dec 17, 2023
@Raj9039852537
Copy link

Raj9039852537 commented Dec 18, 2023

On export settings received this error

Android 13 motorola

Screenshot_20231218-145631

@farfromrefug
Copy link
Collaborator

@Raj9039852537 thanks i fixed all those bugs. New release today

@Raj9039852537
Copy link

Raj9039852537 commented Dec 19, 2023

@Raj9039852537 thanks i fixed all those bugs. New release today

Not solved in latest version 10
showing same error as above
File gets created by no content gets written

@farfromrefug
Copy link
Collaborator

@Raj9039852537 OK thought it would be fixed. will look again. thanks

@Raj9039852537
Copy link

Raj9039852537 commented Dec 19, 2023

@Raj9039852537 OK thought it would be fixed. will look again. thanks

Thanks
Also manual cropping does not work

@farfromrefug
Copy link
Collaborator

@Raj9039852537 what do you mean ? changing the crop after with the recrop button ?

@Raj9039852537
Copy link

Yes
For example if auto crop done on image which is not precise, I re crop it with recrop button, which selected correct area but clicking on ✔️ button doesn't apply desired changes to the document .

@farfromrefug
Copy link
Collaborator

@Raj9039852537 thanks must have broken something as it was working. will look

@farfromrefug
Copy link
Collaborator

@Raj9039852537 thanks i fixed all those bugs. New release today

Not solved in latest version 10 showing same error as above File gets created by no content gets written

Actually you say the same error but you now the file exists but is empty. Do you still see the error dialog with FileNotFoundException ? I can t reproduce it here but it feels like it creates a folder instead of a file

@Raj9039852537
Copy link

Raj9039852537 commented Dec 20, 2023

I said same error because as you can see in screenshot just taken it provides same exception with just different file name which is actually changed in one commit by you.
Screenshot_20231220-085440

also in error file looked for is inside of a folder which is of same name which doesn't exist

@Raj9039852537
Copy link

Thanks Re crop bug is fixed in release 11

@farfromrefug
Copy link
Collaborator

I said same error because as you can see in screenshot just taken it provides same exception with just different file name which is actually changed in one commit by you.

also in error file looked for is inside of a folder which is of same name which doesn't exist

Ok sorry for now i dont see what the issue is as i cant reproduce. Will try on multiple devices

@user8446
Copy link

user8446 commented Jan 2, 2024

I tried on my Android 14 device and also receive the error:

Screenshot_20240101-190636

A 0 byte file gets saved:

Screenshot_20240101-190704

@farfromrefug
Copy link
Collaborator

@user8446 @Raj9039852537 i think i finally fixed it. Look at the latest version

@user8446
Copy link

user8446 commented Jan 3, 2024

Yes I checked and on my device the backup saves correctly with version 1.2.15.25... nice work!

@Raj9039852537
Copy link

Raj9039852537 commented Jan 4, 2024

@user8446 @Raj9039852537 i think i finally fixed it. Look at the latest version

Export function works fine now. 👍

import function got this error.
Screenshot_20240104-075315

@user8446
Copy link

user8446 commented Jan 4, 2024

I have the same error in import as well.

Sorry I should have checked that.

@farfromrefug
Copy link
Collaborator

@Raj9039852537 @user8446 it is me who is sorry :) will fix it

@farfromrefug
Copy link
Collaborator

@Raj9039852537 @user8446 should be fixed in latest.

@Raj9039852537
Copy link

Finally solved 👍

@user8446
Copy link

user8446 commented Jan 6, 2024

Yes export and import both work as expected!

@NA0341 NA0341 changed the title [Bug]. Import/Export Function is broken: Cannot read properties of undefined (reading 'getActivity') [Bug]. Import/Export Function is broken Jan 14, 2024
@NA0341
Copy link
Author

NA0341 commented Jan 14, 2024

Version 1.2.25 Build 35 produces empty output again.

With the following message: Write TextTask returns no result.

@farfromrefug
Copy link
Collaborator

@NA0341 sorry about that. will fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants