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

an empty csv file for 2017 charles schwab. suggestions on debugging? #3

Open
jonchui opened this issue Apr 3, 2018 · 1 comment
Open

Comments

@jonchui
Copy link

jonchui commented Apr 3, 2018

Thanks for putting this together!

on my mac, used http://macappstore.org/pdftotext/, to convert pdf to text, but when i ran through to convert to csv, i got an empty one via the

python /code/GitHub/stock-gain-tax-import/process-schwab-2017.py 1099\ -\ charles\ schwab.txt > 1099\ -\ charles\ schwab.csv

command

@andreasg123
Copy link
Owner

Thanks for trying my software. I just installed pdftotext with Homebrew. That should have installed the version you are using. You can check like this:

pdftotext -v
pdftotext version 3.03
Copyright 1996-2011 Glyph & Cog, LLC

I used that version and still got the same result (different copyright symbol in the text file but same output from my Python script). Are you sure that you called pdftotext like this:

pdftotext -layout "1099 - charles schwab.pdf"

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