FossifyOrg / Notes

A simple text field for adding quick notes without ads.
https://www.fossify.org
GNU General Public License v3.0
198 stars 16 forks source link

Import File from Simple Mobile Tools Not Selectable #34

Closed bigboipete closed 5 months ago

bigboipete commented 5 months ago

Checklist

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

Aga-C commented 5 months ago

Unfortunately, that's due to a bug in Simple Notes that has been fixed in Fossify Notes: https://github.com/FossifyOrg/Notes/issues/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.

bigboipete commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

@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.