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

Help needed - CSV import always fails #91

Open
thehijacker opened this issue Jan 6, 2024 · 3 comments
Open

Help needed - CSV import always fails #91

thehijacker opened this issue Jan 6, 2024 · 3 comments

Comments

@thehijacker
Copy link

Hello,

This looks like a well maintained project and would like to self-host it. Got it up and running using docker image, but now I wish to import from some site I was using before (poraba.com).

I have all the data in csv but everytime I try to import I get an error (There was some issue with importing the file. Please check the error message). But log shows no error.

Can you provide a sample CSV that actually imports so I can edit mine with same column names, delimiter and proper values?

Find my latest csv attempt that failes to import here:

dataExport_4.csv

Thank you.

@alienp4nda
Copy link
Collaborator

alienp4nda commented Jan 6, 2024

v0.0.21 has an import issue and v0.0.22 has a ui build issue. As soon as #89 gets merged this will be fixed.

I will double check this is true with your file later today.

@thehijacker
Copy link
Author

Great. I hope merging will work and I can soon start using it. What are the needed columns for CSV file?

If I understand correctly, my wife can also create an account to use it to track her cars fuel consumption?

Also I kindly ask if you can add Slovenian translation. Made it for her as her English is not that good and I want it to be as easy as possible for her.

Thank you!

@alienp4nda
Copy link
Collaborator

This in reference to using the generic importer. The name of the fields in your csv doesn't matter so long as they can map to the corresponding fields listed below. The ones with required next to them must have a corresponding field in your csv, again name of the field doesn't matter.

fuelQuantity required
perUnitPrice required
totalAmount required
odoReading required
isTankFull required
missedFillup
comments
fillingStation
fillupDate
fuelSubType (i.e. Octane)

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

No branches or pull requests

2 participants