-
Notifications
You must be signed in to change notification settings - Fork 26
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
FreeAgent #6
Comments
Thanks Dave, that is exactly what I'm looking to pull it into! How do I go about setting this up? |
I've created a pull request, there should be instructions in there. Probably just a merge. But you'll definitely want to tidy up the JS! |
I feel I might be doing something wrong, I just can't get it to pull the CSV file at the end for me. So, I've cd'ed into: cd /Users/Alfie/Downloads/barclays-bank-pdf-to-csv-master/ - which works Then, npm install Which brings the below up: Alfies-Macbook-Pro:barclays-bank-pdf-to-csv-master Alfie$ npm install Then I open the index file, and drag the PDF's in, but still no joy from there, it pulls in the pdf, but doesn't render the final file? Any ideas? |
Sadly, no. |
Trying with your one, but also tried the original! Is it working for you? |
I just used the command-line version. Worked quite well. Now in FreeAgent categorising everything! |
Did you do anything different from the above to me? Sorry I've really got myself stuck with it haha! |
node statement-parser ../Statements/ |
Sorry to be thick, I'm hoping you can help me get it running! So, in terminal: git clone https://github.com/penrosestudio/barclays-bank-pdf-to-csv.git Which installs it, then npm install, which just gives an error: npm ERR! install Couldn't read dependencies npm ERR! System Darwin 14.1.0 If I try: node statement-parser <Users/Alfie/Statements> I get the error: Did you do anything different? Am I missing a step? Thanks |
You don't appear to be in the barclays-bank-pdf-to-csv directory! you're in /Users/Alfie :) Caught me first time too! |
good catch! I was literally typing that out :) |
Ah I see! So do i need to redirect this with cd? |
As I noted above: node statement-parser ../Statements/ Where you have cd-ed to the barclays directory and ../Statements/ contains the PDFs... |
I thought I had done this, apologies again for my lack of understanding of this! cd /users/Alfie/barclays-bank-pdf-to-csv node statement-parser /Statements/ Which is where my folder is, however it still pulls the below error? module.js:340 |
That should be in ./node_modules/async/lib/async.js |
Okay, I've resolved that... However, now it is showing: Alfies-MBP:barclays-bank-pdf-to-csv Alfie$ node statement-parser /Statements/ /Users/Alfie/barclays-bank-pdf-to-csv/statement-parser.js:12 |
There's something weird going on here. I worked for me straight away. |
I did just try this, and the same error is coming up again and again... If not that error, it's telling me the folder doesn't contain any PDF's. |
What command are you using to invoke? |
I'm slightly unsure as to what you mean? The full reading is: node statement-parser /Statements/ or node statement-parser /Users/Alfie/barclays-bank-pdf-to-csv/Statements/ |
And you're positive you have *.pdf in there? |
Inside /Statements/ is 5 .pdf files only, nothing else in the folder! |
And they're definitely Barclays business? I accidentally downloaded personal the first time... |
All business yep! |
All i can say is works for me and delegate to the software owner :( |
It's really annoying as I have around 1,500 lines in these statements I want to transfer into a CSV file/Freeagent... Just can't just past this step. Even in the web only verison nothing seems to come up! Thank you for your help though! |
If we assume a non-disclosure, do you want me to try one? |
That would be over and above what I would expect, and would be greatly, greatly appreciated if you could so do! |
Thanks Dave, I've popped you an email! |
I think I've resolved it! It was because the extension was .PDF not .pdf! |
D'oh! OK, I'll delete your statement without opening On Fri, Jan 9, 2015 at 9:17 PM, AlfieGreen [email protected] wrote:
|
Thanks Dave! Hopefully it will help anyone else who stumbles across the same problem! |
File a bug :) The author is awake :)
|
yup, will fix that |
Closing as we have a separate issue (#9) |
My clone is sufficient to get data into FreeAgent.
The code is nasty, since I'm not a JavaScript guy (yet), the date stuff should have a hash for month, and/or got through a Date object, but hey.
Feel free to plunder (and make useful to people) or not!
The text was updated successfully, but these errors were encountered: