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

Import File from Simple Mobile Tools Not Selectable #34

Open
7 tasks done
bigboipete opened this issue Apr 21, 2024 · 7 comments · May be fixed by #92
Open
7 tasks done

Import File from Simple Mobile Tools Not Selectable #34

bigboipete opened this issue Apr 21, 2024 · 7 comments · May be fixed by #92
Labels
bug Something is not working

Comments

@bigboipete
Copy link

bigboipete commented Apr 21, 2024

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.0

Affected Android/Custom ROM version

ShiftOS 2.0 L (basically AOSP 8.1)

Affected device model

Shift5me

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Export "All Notes" from Simple Mobile Tools 6.17.0 Pro (Settings > Export Notes)
  2. Import into Fossify Notes (Settings > Import Notes)

Expected behavior

All notes should be imported into Fissify Notes.

Actual behavior

Import from Simple Mobile Tools Notes to Fossify Notes doesn't work - neither with no file extension (as exported from Simple Mobile Tools) nor with txt or json extension. File is found, but not selectable for import.
I also tried "open with" command from Material Files and the stock file manager, both didn't work either. This imports the "All Notes" import file as one note with the whole import file content.

Screenshots/Screen recordings

No response

Additional information

No response

@bigboipete bigboipete added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Apr 21, 2024
@Aga-C
Copy link
Member

Aga-C commented Apr 21, 2024

Unfortunately, that's due to a bug in Simple Notes that has been fixed in Fossify Notes: #13.

Have you exported notes in Simple Notes using Fossify/Simple File Manager? If yes, and you still have Simple Notes, you may try to export all notes with the built-in file manager and import once again.
Alternatively, you may try to export what you currently have in Fossify Notes, change file contents to what you have in old JSON and try to import once again.

@Aga-C Aga-C closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
@Aga-C Aga-C added wontfix This will not be worked on or it is working as intended and removed bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Apr 21, 2024
@bigboipete
Copy link
Author

Correct me, if I'm wrong but as I understand #13, it's just about the missing .json extension at the exported notes file coming from Simple Mobile Tools. I added the extension manually, but as described that didn't help to import all notes at once into Fossify Notes.

Aditionally I don't quite understand your second paragraph:

  1. "...Have you exported notes in Simple Notes using Fossify/Simple File Manager..."
    How could I have it IN Simple Notes. I have an export file from Simple Notes in my file system. And how can I export from Simple Notes using Fossify/Simple File Manager (which I currently don't have installed)?
  2. "...try to export what you currently have in Fossify Notes..."
    I don't have any content in Fossify Notes. The goal is to migrate from Simple Mobile Tool's Notes to Fossify Notes in a single move.
  3. "...change file contents to what you have in old JSON..."
    In what way should I change file contents? What is "old JSON" in the context of the issue?

@Aga-C
If this stays a won't-fix, there is no need to elaborate on this. But in case this post changes your understanding of the issue, you might want to clarify your points a bit. Thanks in advance.

@Aga-C
Copy link
Member

Aga-C commented Apr 22, 2024

My second paragraph was a workaround, what you can do to import your notes. We can't update Simple Notes to resolve its bug, but you can import your notes doing a few more steps as I've described.

@bigboipete
Copy link
Author

bigboipete commented Apr 22, 2024

@Aga-C
I'm sorry, but I still don't get it. My issue is not about updating Simple Notes. The point is, that Fossify Notes is to my experience currently unable to import a Simple Notes "all notes" export file, even with the added .json extension.

I don't know yet, whether the content of Simple Note export file is internally faulty. That wasn't metioned here or in #13. If so, it would explain everything and I'm fine with the wontfix.

Otherwise (aka it's just about the missing .json extension) and given a valid Simple Notes export file, I still don't understand, why this flaw on the Fossify import side can't or won't be fixed.

@PANCHO7532
Copy link

PANCHO7532 commented Nov 24, 2024

Is there any update on this? I can't import literally any backup file, either generated by the Simple Mobile Tools version or by this app, the file is just grayed out on the file explorer and doesn't let you import it
image

@naveensingh
Copy link
Member

naveensingh commented Nov 24, 2024

This seems to be reproducible on older Android versions. I exported notes using Fossify Notes on Android 13 and couldn't select them on Android 8. More investigation is needed to confirm if this bug is caused by Fossify Notes or Android Files.

In the meantime, here's a workaround:

  1. Install a third party file manager. I tested with Fossify File Manager.
  2. Choose your installed file manager from default file explorer dialog's sidebar
  3. Choose your exported notes file.
1 2 3 4

tom93 added a commit to tom93/FossifyOrg-Notes that referenced this issue Feb 14, 2025
Ported from FossifyOrg/Messages#137.

Sometimes Android reports the MIME type as "application/octet-stream"
even if the file has a .json extension (specifically, on Android 8 and
9 for backups exported outside the Download folder). Previously, such
files could not be selected in the file picker when importing.

As a workaround, allow files with that MIME type on Android < 10.

Fixes FossifyOrg#34.
@tom93 tom93 linked a pull request Feb 14, 2025 that will close this issue
4 tasks
@naveensingh naveensingh reopened this Feb 16, 2025
@naveensingh naveensingh added bug Something is not working and removed wontfix This will not be worked on or it is working as intended labels Feb 16, 2025
@bigboipete
Copy link
Author

Thanks @naveensingh for re-opening the issue. As written in the bug description, using an external file manager (Material Files in my case) didn't work for me. It just imports the "all notes" import file as one single note with the 1:1 content of the import file.

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

Successfully merging a pull request may close this issue.

4 participants