hsadok / guiabolso2csv

Baixe os dados de transações do GuiaBolso em formato csv ou xlsx (Excel).
GNU General Public License v3.0
36 stars 16 forks source link

Issue running #3

Closed diogobarreto closed 5 years ago

diogobarreto commented 5 years ago

Hugo, I don't know if you're still maintaing this, but I had an issue running GuiaBolso... it didn't run, giving multiple errors (printfile, then couldn't import guiabolso archive, etc...). If you're still keeping this going, any help is much appreciated! Kind rgds and happy new year, Diogo

hsadok commented 5 years ago

Hi Diogo,

I'm currently on vacation and not actively maintaining this, but I do care if it works. Would you mind replying with a detailed output and the commands you used to install and run the program?

Moreover, what is your environment? Are you using Linux (if yes, what distro) or macOS?

Thank you very much for reporting this.

Happy new year! Hugo

diogobarreto commented 5 years ago

Hi Hugo,

I tried to install the older version and the new version and, apparently, Python has updated some code references and there is a compilation error. It installs perfectly, the requirements install as well, but I get an error code when I try to execute the guiabolso command:

image

This was a neat little exporter, would love to see it working again.

Kind rgds,

Diogo

diogobarreto commented 5 years ago

Hugo, After fixing many parenthesis in the print commands in both main and guiabolso files (apparently a Python update), I manage to run the program, give my email address, password, year, month and then reach this standstill: image

This is as far as my rudimentary knowledge can take me.

Kind rgds,

Diogo

diogobarreto commented 5 years ago

Hugo,

I managed to get it running for Python version 2.7.16. Hence, it's compatibility with Python's 3+ command that was the issue. If you could upgrade it sometime, looking ahead for a time without Python 2.7 (it was tricky to install PIP), that would be great.

Thanks in advance, Hugo, and sorry for posting so many messages.

Kind rgds,

Diogo

hsadok commented 5 years ago

@diogobarreto Thank you for pointing that out and for taking the time to identify the issue! I have adapted the source code to work with python3. Hopefully this solves your problem.

Best, Hugo