m-i-n-a-r / birday

🎉 A beautiful Kotlin app to remember birthdays and events without having to open Facebook, set alarms or rely on Google Calendar
Other
862 stars 79 forks source link

Import from CSV not working #338

Closed vsahishnu closed 1 month ago

vsahishnu commented 2 months ago

Hi team. I am very happy to have found a FOSS Birthday Manager app. But I am facing a issue preventing me from switching to Birday

I am using the version Birday 4.4.3 from Playstore.

I have a csv which follows the format mentioned in wiki exactly. Still when I do the import, I get the small pop up at the bottom saying "events imported" but non of the records in the csv would have been imported...

Can someone help me with this.

I am on a Redmi Note 13 pro running Android 14

m-i-n-a-r commented 2 months ago

Could you provide the csv itself? You can mask any sensitive data if you want :)

vsahishnu commented 2 months ago

sample.csv

type,name,surname,yearMatter,date,notes BIRTHDAY,Name1,SurName1,true,2000-09-26,importedRec BIRTHDAY,Name2,SurName2,true,2000-09-26,importedRec BIRTHDAY,Name3,SurName3,true,2000-09-25,importedRec

Does this work?

Edit: added the content itself

m-i-n-a-r commented 2 months ago

Thanks. I'll take a look and update the issue!

vsahishnu commented 2 months ago

Thanks a lot. Do lmk if there is anything I can do :)

macmoritz commented 1 month ago

Same issue here. Sadly there is no error message shown.
The app says "import finished", but the data was not imported.

m-i-n-a-r commented 1 month ago

Sorry, forgot to mention: I fixed it! Just be patient, I should publish the update in the next few weeks!

vsahishnu commented 1 month ago

Thats awesome m-i-n-a-r. Thanks for the help :)

Also if possible, can you share some info on what went wrong??

m-i-n-a-r commented 1 month ago

c287ca3d3fd54ce633eb39fb52abc43375788c3d here's the commit. In the previous version, I implemented the support for different separators in the csv, but I did a couple mistakes and I forgot to test :(

vsahishnu commented 1 month ago

Ah ok. No issues. Thanks for the info :)

bytebolt commented 3 weeks ago

Thanks for your work on this app. It looks fantastic! I am still not able to add csv or json in the latest build from June. I originally installed from f-droid which says it's running an older version from 2 months ago, then I tried it with the latest build from the release section.

Here are my findings: 1) JSON and CSV Import : I get import successful but nothing 2) JSON Export: I see blank curly brackets even tho I have dummy data in {} 3) CSV Export: Works as expected and returns a csv file

bytebolt commented 2 weeks ago

Thank you, it's fixed in yesterday's release