-
Notifications
You must be signed in to change notification settings - Fork 11
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
created cash.csv is shown as invalid in Homebank's import menu #3
Comments
@hamvocke I tested a little more since I saw the last commit is about the encoding:
So I'm not exactly sure what the problem with my test csvs might be but there seems to be a bug in the code. I'll try to dig further when I find the time. |
Thanks for reporting. The most recent change around encoding should not be a problem as long as you're using Python 3 (and apparently you are). Did you verify that your input CSV file (the one you downloaded from DKB) actually contains data? Does it look sane in some way to you? Edit: Can reproduce the issue when the input CSV file doesn't contain the required header line. Can you open your downloaded .csv file and check that it contains a line similar to this one?
I just downloaded a fresh csv file for my account and could convert it as expected. |
Hi, my input file didn't contain the header. I'll try again in a few moments :) |
@hamvocke unfortunately it doesn't work with the header line, either. I'll mask my input csv and share it, maybe you can gain some more insights from that
|
Ah, just saw it. |
OK, I'm still not getting it. The output csv looks like this:
But Homebank still doesn't take it. |
Hmm... this is weird. If I take your provided input file:
and convert it via Tested with Homebank 5.2.8 and Python 3.7.4. For completeness, this is what the converted csv output file looks like for me:
|
Hi @hamvocke, I tried it again by copying the exact input you provided here and used the exact outfile for the Import (not Open, like you mentioned), but I get this one-way street sign indicating an error, and can't click "Next" in the Import dialogue. I also tried converting the files from the testfiles directory. The conversion works for all but the empty Cash one (which makes sense), but the created files can't be imported either. Right now I'm a bit confused, not sure what else I could test. |
hi @hamvocke, I was finally able to figure out the problem. I had changed the setting for Separator in Homebank to "Comma" instead of "Semicolon". Turns out this is the problem. Thanks for investigating with me. |
Glad that you worked it out. Let me add this as a hint to the readme, just in case someone will run into this issue in the future. Thanks for reporting back! |
Hi,
unfortunately, the script doesn't seem to produce valid output anymore :(
Homebank Version: 5.2.8
Python Version: 3.7.4
Env: Arch Linux (Kernel 5.3.4-arch1-1-ARCH)
The text was updated successfully, but these errors were encountered: