MyExpenses icon indicating copy to clipboard operation
MyExpenses copied to clipboard

App crashes during import

Open adrianinsaval opened this issue 2 years ago • 5 comments

Here's a sample of the data I have (I have around 5K lines), I can't get past the third entry when attempting to import from csv, the app crashes every time

_id Account Category Subcategory Tags Income Expense Notes Date time transfer date_idx day week fortnight month year
3 Efectivo Sueldo Sueldo neto   1500000     25/10/2017 15:00:00 0 20171025150000 25 43 20 10 2017
4 Efectivo Transporte Autobús     3300   26/10/2017 09:30:00 0 20171026093000 26 43 20 10 2017
5 Efectivo [Vision]       300000   25/10/2017 16:00:00 1 20171025160000 25 43 20 10 2017
7 Efectivo [MasterCard]       300000   25/10/2017 16:00:00 1 20171025160000 25 43 20 10 2017
9 Efectivo Ingresos varios     176900   Sobras mes de septiembre 26/10/2017 09:34:00 0 20171026093400 26 43 20 10 2017

also it seems I can't import the time of the transactions, this isn't a big deal but would be nice to add this possibility.

And I had a problem with the little data that I did manage to import, you can see on the second row subcategory is Autobús, the app apparently can't handle the tilde and it's shown as a symbol with a question mark instead. But the default categories in spanish use Autobús with the tilde (and several other categories with tildes), do I have to manually change all of these categories to not have tilde? I tried removing the all tildes from my data but then it adds it as a new category anyways, despite the app storing the normalized form of this category in it's database.

I want to buy a license for this app but it's not too useful if I can't import my data. With the free trial I can import data individually for each account but not for all accounts at once, if I buy a license is there an option to import data for all accounts at once? If not, how do I deal with transfers? Will they be duplicated if I the dataset for each account sepparately?

adrianinsaval avatar Jul 12 '23 20:07 adrianinsaval

@adrianinsaval Thank you for the report. In order to allow me to inspect the crash, could you

  • tell me which version of the app you are using.
  • If from F-Droid, please when the app crashes, send the crash report via the dialog that opens after the crash. If from PlayStore, could you make sure, that you have automatic sending of crash reports activated in the settings and communicate the Crashlytics User-ID found in the Debug section of the Settings to [email protected] .

Alternatively in order to reproduce the problems, one or two test files, that trigger the crash, and show the encoding problem, would be great.

mtotschnig avatar Jul 13 '23 16:07 mtotschnig

I'm using the version from F-Droid, at the time I did sent the report with the dialog. By now I "solved" the issue by directly editing the database file from a backup and then restoring that, but I'm for helping in trying to identify the problem here, the file that I used that caused the crash is a large export from another app that may contain sensitive information so I'm not comfortable openly sharing it. I'll see if I can make a minimal file to reproduce the issue.

Regarding the characters with tilde, it's likely that I just chose the wrong encode format. Will test again making sure to use the correct format. But it would still be nice if the program matched the normalized category names (at least optionally).

adrianinsaval avatar Jul 24 '23 21:07 adrianinsaval

On a completely separate note, if I'm not mistaken you receive a better cut of the deal if I buy the license through GitHub sponsors, however I would like to buy a pro license for one year through a one time payment rather than a 1USD tickle every month, is that possible or should I just buy through the app?

adrianinsaval avatar Jul 24 '23 21:07 adrianinsaval

@adrianinsaval Thank you for your interest. Please send a custom amount, and I will send a professional key valid for 1month/$. I have also added this information to the sponsors page.

mtotschnig avatar Jul 25 '23 10:07 mtotschnig

@adrianinsaval and please don't forget to claim your key at [email protected].

mtotschnig avatar Jul 26 '23 09:07 mtotschnig