Re: [GNC] gnucash-user Digest, Vol 233, Issue 34

2022-08-10 Thread Adrien Monteleone
If I'm not mistaken, Mint has a backup utility. So you can just set it up and make sure the GnuCash locations noted in the Wiki and Guide are included in the paths to be backed up. Regards, Adrien On 8/10/22 9:29 PM, davidcousen...@gmail.com wrote: James

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Adrien Monteleone
Correct. You can register an account at bugs.gnucash.org. Regards, Adrien On 8/10/22 4:02 PM, Robert Simmons wrote: No Bugzilla account. Github account, but it looks like you all only handle PRs there, not issues. ___ gnucash-user mailing list

Re: [GNC] gnucash-user Digest, Vol 233, Issue 34

2022-08-10 Thread davidcousens49
James https://www.gnucash.org/docs/v4/C/gnucash-guide/basics-backup1.html The info https://wiki.gnucash.org/wiki/Configuration_Locations is also useful for backing up user preferences and things like customized reports. To back up to a USB drive on Linux Mint, the drive should appear in the

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

Re: [GNC] How To Get Job Object?

2022-08-10 Thread Robert Simmons
gnucash.Query() looks like the real winner of the swiss army knife function. Replacements for direct SQL queries. This one replaces SELECT max(id) FROM jobs def get_job_maxid(): query = gnucash.Query() query.search_for('gncJob') query.set_book(book) job_ids = list() for

Re: [GNC] How To Get Job Object?

2022-08-10 Thread john
And that's pretty much the way the GUI works too. BTW do you know about the Doxygen-generated docs for the C API? It's a bit patchy in parts, but there's a ton of useful info. You can build it yourself or use our nightly builds at https://code.gnucash.org/docs/MAINT. Regards, John Ralls > On

Re: [GNC] How To Get Job Object?

2022-08-10 Thread john
GUIDs belong to the parent class QofInstance, so you use qof_instance_get_guid(my_job) Regards, John Ralls > On Aug 10, 2022, at 5:42 PM, Robert Simmons wrote: > > I have created a number of Jobs. Now I want to associate an invoice with > one of the jobs. I can see there is a function

Re: [GNC] How To Get Job Object?

2022-08-10 Thread Robert Simmons
When I'm done with all this, I'm going to contribute new example scripts. The current documentation for the Python bindings is very excellent. It's some of the best documentation I've ever seen. It's a pleasure to use and saves a ton of time. Here is the only way that I can find of getting from

[GNC] How To Get Job Object?

2022-08-10 Thread Robert Simmons
I have created a number of Jobs. Now I want to associate an invoice with one of the jobs. I can see there is a function "book.JobLookup()" but the argument this takes is GncGUID. I don't know how to create this GUID object, and the only way I can see to get the GUID is to just do a SQL query

Re: [GNC] gnucash-user Digest, Vol 233, Issue 34

2022-08-10 Thread Glenn Fowler
Hi, Backing up your whole hard drive would be out of scope for this mailing list, but if you want to backup your GnuCash book it's just a file. Just copy/paste it. On Wed, Aug 10, 2022 at 7:07 PM James Baxter via gnucash-user < gnucash-user@gnucash.org> wrote: > > Does anybody know how to make

Re: [GNC] gnucash-user Digest, Vol 233, Issue 34

2022-08-10 Thread James Baxter via gnucash-user
Does anybody know how to make a backup of your hard drive. I am looking to back up Gnucash for the most part. I have a drive that i can plug into the USB port. ThanksJames baxterkangaro...@yahoo.com On Wednesday, August 10, 2022, 12:00:27 PM EDT, gnucash-user-requ...@gnucash.org wrote:

[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',

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Robert Simmons
No Bugzilla account. Github account, but it looks like you all only handle PRs there, not issues. On Wed, Aug 10, 2022 at 4:54 PM Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > Indeed, I just created a test book and created a new Vendor Credit and I > can reproduce. > >

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Adrien Monteleone
Indeed, I just created a test book and created a new Vendor Credit and I can reproduce. Congratulations. You found a bug. Now, why is there different code here? This looks like an opportunity to tidy that up and reduce divergence and complexity. Do you have a GnuCash Bugzilla account or do

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Adrien Monteleone
Nope, I already had a credit note that I ended up not using. (but since you can't delete them, it was available for testing) I had previously deleted the line items so I added some dummy data and couldn't reproduce the effect you described. However, this credit note is to a customer, not from

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Robert Simmons
> I cannot duplicate this on v4.11 running on BigSur. This happens in macOS and in Linux. Here are the steps to reproduce. You will need at least one vendor existing to do this. If you have no vendors, create one called "Acme". 1. Business menu > Vendor > New Bill... 2. Type: Credit Note 3.

Re: [GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Adrien Monteleone
I cannot duplicate this on v4.11 running on BigSur. The highlights change as they should, but the values remain correct and do not change to 0.00. (There is a Subtotal column, and a Subtotal 'total' at the top, neither change for me) What is your GnuCash & OS version? Regards, Adrien On

Re: [GNC] Monthly period in charts should use end-of-month values, not start

2022-08-10 Thread Adrien Monteleone
I guess I read the chart differently. It does make sense to know what you started a period with in regards to an asset like a bank account or cash on hand. (And I also see your point of wanting to know where you ended up.) Though I suppose an option could be added, clearly, your position on

[GNC] Monthly period in charts should use end-of-month values, not start

2022-08-10 Thread Colin Arndt
Hello fellow GnuCashers, I’ve used GnuCash very happily the last few years - it’s a fantastic application with superlative support from both the developers and fellow users on this list. But here’s my issue. Today I created a bar chart report tracking my cash across bank accounts over time.

[GNC] Possible Bug in Credit Note Display

2022-08-10 Thread Robert Simmons
In the Entries part of an open credit note tab, the row focus can be assigned by clicking on a row. This changes the selected row from green to yellow. Also, it changes the value in the Subtotal column to zero. This appears to just be a software defect in the display: there are no changes made to

Re: [GNC] Banks with OFX or CSV account data downloads

2022-08-10 Thread Tom Browder
On Wed, Aug 10, 2022 at 00:00 Tracy wrote: > As with so many things, your mileage may vary, but... Thanks so much, Tracy—that’s very helpful. Some of those banks are in my area. -Tom ___ gnucash-user mailing list gnucash-user@gnucash.org To update

[GNC] Build From Source Near Impossible

2022-08-10 Thread flywire
Re: https://lists.gnucash.org/pipermail/gnucash-user/2022-July/102045.html > You're correct that the Python bindings aren't included. I'd be happy with a non-standard download available that included the bindings. It wouldn't need gui support. ___

Re: [GNC] Third party OFX/CVS providers

2022-08-10 Thread flywire
That never used to be the case but it's still pretty useless for a tax return: Please note that if you wish to download transactions that is more than the 12 month period, you must choose the 'View Statement' option. However, please be advised that it does not have the facility to transfer them in