custom reports

41 views
Skip to first unread message

Christopher Lam

unread,
Aug 11, 2016, 1:09:25 PM8/11/16
to piecash
Couple of custom reports.
https://github.com/christopherlam/piecashreports

Just wish to illustrate how easy report writing now is.

Alen Šiljak

unread,
Nov 23, 2017, 7:17:34 AM11/23/17
to piecash
Hi, Chris,

Are the reports from this (now non-existent) repo still available somewhere? Thanks!

I would also share a few items I did recently at [gnucash-portfolio](https://github.com/MisterY/gnucash-portfolio) while experimenting and learning more about piecash and the reporting base Sebastien is building.

All these projects based on piecash could turn out to be a nice extension of GnuCash. I think GnuCash is doing a fair job of keeping records. Now it's just about displaying those in various shapes and forms.

alvesm...@gmail.com

unread,
Dec 9, 2017, 1:11:31 AM12/9/17
to piecash
Hi Alen.

I was looking for reports in Gnucash and I found both the piecash and your gnucash-portfolio projects. Interesting projects. I tried to run your project, but I get the following message, in browser: ImportError: No module named 'decorators'.

I don't know about flask microframework. My computer settings are:
a) Ubuntu 16.04 LTS
b) Python 3.5.4 (Anaconda3)

I tried to run the application in terminal with following steps:
1) export FLASK_APP=path/to/gnucash-portfolio/app/app.py
2) export FLASK_DEBUG=1
3) flask run

Could you suggest any orientation about how to run your application in Ubuntu? I appreciate your help. Thanks.

Alen Šiljak

unread,
Dec 9, 2017, 3:51:16 AM12/9/17
to piecash
Hi!

Glad that you're interested. It seems very likely that you have cloned the repo just as I was actively working on it. I'd ask you to pull the latest version and try the same thing again.
We'll have to work out something in case there are differences on Ubuntu. This project is currently in a very early stage and I'm only developing and running it on Windows. I still need to learn more and set up virtual environments and all the other stuff I don't yet know about.
Currently, I run the web app simply by running app.py file. It takes care of the rest for me.

Other than that, all scripts in the gnucash_portfolio package can be run directly from the terminal. The same goes for the reports. I plan to utilise these and provide access to all the functionality through the web interface, though, as it makes everything so much more convenient.

Well, it seems that I came to the same conclusion as Sebastien in terms of UI so I'm looking forward to more people sharing their views and contributing to this common goal by using the framework and adding to the library of functions available.
Reply all
Reply to author
Forward
0 new messages