Re: [GNC] Another Potential Software Defect

2022-08-10 Thread Robert Simmons
Also, if you're doing everything in JupyterLab like I am, you can use: %load_ext wurlitzer in the cell to suppress everything from C/C++ in that particular cell. https://pypi.org/project/wurlitzer/ ___ gnucash-user mailing list

Re: [GNC] Another Potential Software Defect

2022-08-10 Thread Robert Simmons
The following is, of course, not recommended. Those errors are pretty difficult to suppress because they're coming from C/C++ stdout. If you want to hide them, contextlib.suppress and contextlib.redirect_stdout both do not work. However, there is a python package called wurlitzer that does the

[GNC] Another Potential Software Defect

2022-08-10 Thread Robert Simmons
Lets see if I can go two for two: Steps to reproduce (using a sqlite file): 1. Run code snippet below. 2. Observe raised exception " [GncSqlColumnTableEntryImpl::add_to_query()] Invalid owner type: 0" import gnucash import gnucash.gnucash_business s = gnucash.Session('sqlite3://test.gnucash',