{"action":"created","issue":{"url":"https://api.github.com/repos/torbengb/bank2ynab/issues/182","repository_url":"https://api.github.com/repos/torbengb/bank2ynab","labels_url":"https://api.github.com/repos/torbengb/bank2ynab/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/torbengb/bank2ynab/issues/182/comments","events_url":"https://api.github.com/repos/torbengb/bank2ynab/issues/182/events","html_url":"https://github.com/torbengb/bank2ynab/issues/182","id":300299113,"number":182,"title":"Output corrupt because filename pattern matched two formats","user":{"login":"torbengb","id":810590,"avatar_url":"https://avatars3.githubusercontent.com/u/810590?v=4","gravatar_id":"","url":"https://api.github.com/users/torbengb","html_url":"https://github.com/torbengb","followers_url":"https://api.github.com/users/torbengb/followers","following_url":"https://api.github.com/users/torbengb/following{/other_user}","gists_url":"https://api.github.com/users/torbengb/gists{/gist_id}","starred_url":"https://api.github.com/users/torbengb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torbengb/subscriptions","organizations_url":"https://api.github.com/users/torbengb/orgs","repos_url":"https://api.github.com/users/torbengb/repos","events_url":"https://api.github.com/users/torbengb/events{/privacy}","received_events_url":"https://api.github.com/users/torbengb/received_events","type":"User","site_admin":false},"labels":[{"id":739556636,"url":"https://api.github.com/repos/torbengb/bank2ynab/labels/PRIORITY:%20HIGH","name":"PRIORITY: HIGH","color":"b60205","default":false},{"id":737801900,"url":"https://api.github.com/repos/torbengb/bank2ynab/labels/bank%20format","name":"bank format","color":"ff8419","default":false},{"id":715366981,"url":"https://api.github.com/repos/torbengb/bank2ynab/labels/bug","name":"bug","color":"ee0701","default":true},{"id":822559481,"url":"https://api.github.com/repos/torbengb/bank2ynab/labels/to%20be%20tested","name":"to be tested","color":"f7f700","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2018-02-26T16:12:49Z","updated_at":"2018-04-11T15:49:41Z","closed_at":null,"author_association":"OWNER","body":"Script language: Python 2.7.12\r\nOperating system: Linux Ubuntu\r\nOS Version: 17.04\r\n\r\nWhat did you DO? (steps to reproduce)\r\n- downloaded CSV file from Raiffeisen (we support that format)\r\n- altered the config file to *not* delete the input file after processing\r\n- started the program.\r\n\r\nWhat did you EXPECT to happen?\r\n- one input file converted to YNAB format.\r\n\r\nWhat ACTUALLY happened?\r\n- input file was converted (presumably success)\r\n- input file was not deleted (because I configured that)\r\n- input file matched another format: Format: DE Deutsche Kreditbank checking (bug?)\r\n- output file was overwritten with new conversion (this created a YNAB CSV file that only contained the header row)\r\n- input file was deleted! (in my testing I should probably change the main config rather than for just 1 format)\r\n\r\nCan you provide other helpful information?\r\nOutput: \r\n\r\n```\r\n$ python bank2ynab.py\r\nbank2ynab 1.1.0-mytestbranch using Python 2.7.12\r\n\r\nFormat: AT Raiffeisen Bank\r\n\r\nError: Can't find download path: c:\\users\\example-username\\Downloads\r\nTrying default path instead:\t /home/torben/Downloads\r\n\r\nParsing input file:  /home/torben/Downloads/elbi_umsaetze_20180226165906.csv\r\nParsed 79 lines\r\nWriting output file: /home/torben/Downloads/fixed_elbi_umsaetze_20180226165906.csv\r\n\r\nFormat: DE Deutsche Kreditbank checking\r\n\r\nError: Can't find download path: c:\\users\\example-username\\Downloads\r\nTrying default path instead:\t /home/torben/Downloads\r\n\r\nParsing input file:  /home/torben/Downloads/elbi_umsaetze_20180226165906.csv\r\nParsed 0 lines\r\nWriting output file: /home/torben/Downloads/fixed_elbi_umsaetze_20180226165906.csv\r\nRemoving input file: /home/torben/Downloads/elbi_umsaetze_20180226165906.csv\r\n\r\nDone! 2 files processed.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/torbengb/bank2ynab/issues/comments/380501789","html_url":"https://github.com/torbengb/bank2ynab/issues/182#issuecomment-380501789","issue_url":"https://api.github.com/repos/torbengb/bank2ynab/issues/182","id":380501789,"user":{"login":"nocalla","id":16230431,"avatar_url":"https://avatars1.githubusercontent.com/u/16230431?v=4","gravatar_id":"","url":"https://api.github.com/users/nocalla","html_url":"https://github.com/nocalla","followers_url":"https://api.github.com/users/nocalla/followers","following_url":"https://api.github.com/users/nocalla/following{/other_user}","gists_url":"https://api.github.com/users/nocalla/gists{/gist_id}","starred_url":"https://api.github.com/users/nocalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nocalla/subscriptions","organizations_url":"https://api.github.com/users/nocalla/orgs","repos_url":"https://api.github.com/users/nocalla/repos","events_url":"https://api.github.com/users/nocalla/events{/privacy}","received_events_url":"https://api.github.com/users/nocalla/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T15:49:41Z","updated_at":"2018-04-11T15:49:41Z","author_association":"COLLABORATOR","body":"@torbengb - I've just pushed an update to the [182-format-collisions branch](https://github.com/torbengb/bank2ynab/tree/182-format-collisions) which passes Travis, but would you mind testing it with your specific case and see if it works for you?"}}
{"actor":{"display_login":"nocalla"}}