brandon-rhodes / luca

Bookkeeping in Python
68 stars 16 forks source link

Code mistakes #9

Open Kaladin182 opened 4 years ago

Kaladin182 commented 4 years ago

Hi,

I got stuck at the very beginning, and it's a shame, because I have a lot of interest on it.

EDIT: probably a more experienced user would be able to override those "errors", but I'm unfortunately not in that group.

Thanks for your work.

brandon-rhodes commented 4 years ago

It sounds like you are running the project, which is written in Python 2, against too recent a version of Python — do you have a Python 2 on your system you could try it with?

I should warn you that the project is not regularly maintained, and that only a couple of features probably still work. Which of its several different abilities were you interested in trying out?

Kaladin182 commented 4 years ago

Well, it seems the mistake is mine then, my apologies. I didn’t read it was developed for Python 2, just went through the docs and tried to follow the Tallying “quickstart”, but I’m a Python 3-gen user and thought it was just outdated code, but honestly, I wrote it without expectations of getting an answer. I appreciate you did.

I just want to make basic balances of my small business accounting, but I’m having a hard time finding tools for it.

My current code gets the invoices and reduce them to an “items+totals” plain text list, the next step would be a module/library that gets them and make a double entry basic balance, not asking for too much. If you happen to know how to proceed... or a tool to make it happen I would really appreciate it.

Again, sorry for the missunderstanding and thanks for your answer.

El 21 abr 2020 13:49 +0100, Brandon Rhodes notifications@github.com, escribió:

It sounds like you are running the project, which is written in Python 2, against too recent a version of Python — do you have a Python 2 on your system you could try it with? I should warn you that the project is not regularly maintained, and that only a couple of features probably still work. Which of its several different abilities were you interested in trying out? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

brandon-rhodes commented 4 years ago

Many Python projects have a "setup.py" where you can look to see if they declare a version number:

https://github.com/brandon-rhodes/luca/blob/6b6f7e6ac77cb94d3694a9812d71683f9ce91c6b/setup.py#L17

All that luca does is tally different categories — it does not, alas, do a true double-entry balance. For that I used to use a trusty old command line tool called "ledger":

https://www.ledger-cli.org/

Have you tried it out? It might be that you can output text that ledger could then read and process!