Comments (12)
Note: Item 1 above already exists as closed ticket #20. If we decide to build that new function, the #20 code could be moved there.
from bank2ynab.
I don't think this is a good idea, on further consideration. It goes against the try-except flow we're using. The CLI output at the moment is superfluous, I agree, but I don't think this is the right approach as it will end up duplicating code. I think a better approach would be to tell the user what folder is being used once the file list is found. I'll play with this a bit and get back to you.
from bank2ynab.
Please review the code over in #58 and see what you think of the output.
from bank2ynab.
goes against the try-except flow we're using
You're right. I like the idea of being consistent. I just tested #58 as you asked, using an invalid path, and it acted odd to me: first it complained about the directory not found, and then it processed a file, then it complained again, and processed the other file. I understand, technically, that it just does a fallback to the default which is where 2 files happen to be, but that doesn't rhyme with the error messages then. Thoughts?
from bank2ynab.
from bank2ynab.
Do you feel this looks like what you expected:
Your specified download directory was not found: /home/torben/Downloadsx
Parsing file: elbi_umsaetze_20171024191306.csv
Using format: AT Raiffeisen Bank
Writing file: fixed_elbi_umsaetze_20171024191306.csv
Done!
Your specified download directory was not found: /home/torben/Downloadsx
Parsing file: finstatus_20171024191324.csv
Using format: AT Raiffeisen VISA
Writing file: fixed_finstatus_20171024191324.csv
Done!
2 files processed.
from bank2ynab.
Yeah, that's what I would've expected. Maybe it would be better to specify the format first, but that makes sense to me.
from bank2ynab.
I'm sorry but that output doesn't make sense to me as a user...
- "First it says it can't find the download, and then it still processes something? How?" Maybe it should then also state what directory it defaults to. That would clear up some confusion.
- "It has already told me once that it couldn't find my directory; small wonder that it still can't find it half a second later, eh?" I understand that it happens because of where it is in the code, but it doesn't look too smart.
I hope I didn't offend, it isn't meant to!
from bank2ynab.
from bank2ynab.
necessary to state it for each section in case of custom directories being set in the individual formats.
That's a valid point!
from bank2ynab.
Changed things around a bit. Example output below.
python bank2ynab.py
Format: AT Raiffeisen Bank
Can't find: c:\users\example-username\Downloads
Trying: D:\Users\nocalla\Downloads
Parsing file: elbi_umsaetze_ (2).csv
Writing file: fixed_elbi_umsaetze_ (2).csv
Removing file: elbi_umsaetze_ (2).csv
Done!
Format: IE Bank of Ireland
Can't find: c:\users\example-username\Downloads
Trying: D:\Users\nocalla\Downloads
Parsing file: test_BOI_TransactionExport.csv
Writing file: fixed_test_BOI_TransactionExport.csv
Removing file: test_BOI_TransactionExport.csv
Done!
2 files processed.
from bank2ynab.
This should be resolved appropriately in master now.
from bank2ynab.
Related Issues (20)
- K&H HU new bank format HOT 4
- Uploading transactions to YNAB silently fails HOT 19
- NO Sparebank 1 VISA - no output data HOT 10
- SE Länsförsäkringar checking - import broken - date format has changed
- Code refactor & migrate parsing functionality to Pandas
- Transformation map for payee names HOT 13
- Seems like it is not supporting ING anymore. HOT 6
- Extraction of transaction information from the memo HOT 1
- "Done! 0 files processed." HOT 8
- Label and README Github action fails for Pull Requests from external forks into Develop HOT 6
- John Lewis Partnership Card provider and data format changed HOT 1
- Bank format: IE PTSB
- Output file not showing Swedish letters å, ä and ö HOT 7
- No output file for this bank HOT 1
- Incorrect merging of duplicate inflow and outflow columns
- Linting Github action is failing
- PL Alior Bank format
- NL ING Checking 2020 works, but not when the bank web interface is set to English HOT 5
- filename pattern of "BE BNP Paribas Fortis Export” matches “NL Rabobank-2018” files HOT 3
- Question: two budgets with different accounts in same bank HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bank2ynab.