Re: [GNC] gnucash-env for python scripts (GnuCash 3.7)
Op zondag 10 november 2019 20:36:28 CET schreef Geert Janssens: > Op zondag 10 november 2019 18:42:12 CET schreef CB: > > Short question: Where to find 'gnucash-env' to run python scripts? All > > python examples suggests following: > > > > # Invoke this script like the following example > > # $ gnucash-env python account_analysis.py gnucash_file.gnucash \ > > # 2010 1 monthly 12 \ > > # debits-show credits-show Assets 'Test Account' > > That info is outdated. gnucash-env has been removed and shouldn't be needed > anymore. > > > Long question: I am unable to successfully run example python scripts. Any > > help would be greatly appreciated. I am including details below - > > apologies > > for long email. > > > > I have built GnuCash 3.7 on my linux computer with python bindings and am > > able to use gnucash executable for general operation through UI. Now, I > > have been trying to use python bindings for some custom analysis in > > python3. I am trying to follow account_analysis.py example from source > > code. However, I am unable to locate 'gnucash-env', which is suggested by > > the example script to invoke it. > > > > Even after adding python3.6/site-packages to PYTHONPATH, I am getting > > following errors. Probably, backend libs are not in path - but I could not > > find any help regarding it. > > Do you have more than one gnucash installation on your system ? For example > a 2.x version installed via your package manager. > > In any case, gnucash is supposed to search for the backend libs relatively > to your python site-packages (it correctly does so on my system), but > perhaps your system lays out its directories differently. > > Is there a directory > /home/CB/bin/builds/gnucash/build-gnucash-3.7/lib/gnucash with several > libraries whose names start with libgncmod ? > There should be at least a libgncmod-backend-xml.so and libgncmod- > backend.dbi.so. > > Regards, > > Geert > I forgot to mention that even on my system the example scripts don't work fully trouble free. Most of them end with an abort due to a double free. It looks like the python bindings are in need of some attention... Regards, Geert ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] question
On the weekend of November 2-3, I upgraded my Mac desktop to a new software program, from Mojave to Catalina. Then, this weekend, I tried to get into my Gnucash app, but discovered that it would not open. I called Apple, and the tech showed me that Gnucash is a 32-bit app, but that Catalina only works with 64-bit apps. Mojave worked with both 32 and 64-bit apps. Are there any plans to upgrade Gnucash to a 64-bit app? Or, is there a workaround for this difficulty? Bill Benson ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] question
Upgrade to 3.7 -derek On Mon, November 11, 2019 7:22 am, William Benson wrote: > On the weekend of November 2-3, I upgraded my Mac desktop to a new > software program, from Mojave to Catalina. Then, this weekend, I tried to > get into my Gnucash app, but discovered that it would not open. I called > Apple, and the tech showed me that Gnucash is a 32-bit app, but that > Catalina only works with 64-bit apps. Mojave worked with both 32 and > 64-bit apps. > > Are there any plans to upgrade Gnucash to a 64-bit app? Or, is there a > workaround for this difficulty? > > Bill Benson > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] question
Hi, Please CC gnucash-user on all replies... On Mon, November 11, 2019 8:35 am, William Benson wrote: > I tried that. Catalina will not ope to any version of gnucash. Bill No, Catalina will definitely open 3.7. There are many people using 3.7 with Catalina. You MAY have to tell your Mac to allow it. It may try to open a dialog asking your permission, but it's possible you have that window minimized if it was asking you a different question and you clicked it away. Please go read the gnucash-user archives about this. We have had several discussions already about GnuCash on Catalina. >> > Please remember to CC this list on all your replies. >> > You can do this by using Reply-To-List or Reply-All. -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create Report on Checking & Exclude one Entity ?
> On Nov 10, 2019 w46d314, at 6:50 PM, Fran_3 wrote: > > Adrian, Thanks for the response. > > I have to admit I have done regular expressions... but I often tire of the > fight... as I ultimately did in this case. > > My solution in this particular case was to port the gnuCash check register > into a spreadsheet and manipulate it from there to exclude the target entity > and ultimately get the desired result. > > Fran3 > > PS - I did try running a Transaction Report on Checking and then hit Ctl F > and searched the Description for the entity name using the "does not match > regex" option... but the results were confusing to me... Sorry, I meant run a Find and then Account Report *instead* of a transaction report. The only reason to do so though would be to search on other than Description, Notes & Memo (all) or if doing it in the transaction report doesn’t work, but in a Find does. But you’ll probably get more mileage trying to figure out the ‘positive’ set that you are looking for and create a search/report based on that criteria. > > Actually I was unsure if I should just enter the entity name in the "does > notmatch regex" search field... > > or if I should enter a regular expression... You should enter a regular expression. > > but just entering the entity name... Vendor X... didn't seem to return all > checking transactions except those to/from Vendor X. It won’t as noted if you use the regex option. You need the expression. Regards, Adrien ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create Report on Checking & Exclude one Entity ?
John, I don’t know of any in particular, and I couldn’t seem to find such info. I found some examples online of doing such a search with the following basic form: ^((?!badword).)*$ It is a negative look-around, not an actual negative search. I tried it in GnuCash to no avail. I haven’t tested it otherwise to know if it works at all, but I’d think something implements it somewhere since there were several hits offering similar advice to such questions. Regards, Adrien > On Nov 10, 2019 w46d314, at 6:06 PM, John Ralls wrote: > > Adrien, > > What regex implementation do you know of that has negating patterns? None of > the ones I know do. > > The Transaction report uses Guile regex which just wraps whatever libc/msvcrt > was used to compile it, generally POSIX Enhanced. It doesn't support negating > patterns and doesn't have an option to find transactions that don't match the > provided pattern. IIRC libc regexes also don't support UTF8 character classes > though they'll match explicit UTF8 characters of the same normalization just > because the bytes are the same. > > The find dialog uses glib pcre (perl-compatible regular expressions) which > are considerably more powerful than POSIX ones but also don't have negating > patterns. However the Find dialog has a "doesn't match" setting. Other bits > of GnuCash use boost::regexes, which understands perl regex syntax. We don't > use the C++ standard library because it doesn't support UTF8. > > Regards, > John Ralls ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create report on checking showing only withdrawals? Or only deposits?
You don’t run the report and then search it. You search from the target register or from the Accounts tab. (usually better results) Then run a report from the result tab. (if you need it, I usually just work from the search results, but reports can give you totals, subtotals and may do some sorting.) Regards, Adrien > On Nov 10, 2019 w46d314, at 7:31 PM, Fran_3 via gnucash-user > wrote: > > I can't seem to create a report on checking (or another asset account) that > only shows goes-outta's... aka withdrawals... aka credits. > I tried running a Transaction Report on Checking then hitting Ctl-F and > setting the parameters to... > Search for "value" where credits are greater than or equal to zero... > But that did not appear to search the the report as I got opening balances > from numerous accounts... and who knows what else. > I made a number of other attempts/experiments but... no joy. > I'm sure this is obvious to those more experienced and hopefully someone will > enlighten me :-) > Thanks, Fran3 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Website Down
Liz writes: > I'm not sure how Dean could read the wiki on gnucash.org with > gnucash.org down. www.gnucash.org is down; code.gnucash.org (== wiki.gnucash.org) is not. > However > https://web.archive.org/web/*/https://wiki.gnucash.org/wiki/GnuCash > last did a snapshot on 22nd September and the information may be there. > > Liz > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create Report on Checking & Exclude one Entity ?
Adrien, Ah, negative lookahead. Nice trick, but GnuCash's Find dialog rejects it with a bogus error about an invalid repetition symbol, even when there isn't one: ^(?!Open). raises the error. The PCRE docs say it's supported: http://www.pcre.org/current/doc/html/pcre2syntax.html#SEC19. Lookahead/lookbehind aren't supported in libc's regex. Regards, John Ralls > On Nov 11, 2019, at 6:40 AM, Adrien Monteleone > wrote: > > John, > > I don’t know of any in particular, and I couldn’t seem to find such info. I > found some examples online of doing such a search with the following basic > form: > > ^((?!badword).)*$ > > It is a negative look-around, not an actual negative search. > > I tried it in GnuCash to no avail. I haven’t tested it otherwise to know if > it works at all, but I’d think something implements it somewhere since there > were several hits offering similar advice to such questions. > > Regards, > Adrien > > >> On Nov 10, 2019 w46d314, at 6:06 PM, John Ralls wrote: >> >> Adrien, >> >> What regex implementation do you know of that has negating patterns? None of >> the ones I know do. >> >> The Transaction report uses Guile regex which just wraps whatever >> libc/msvcrt was used to compile it, generally POSIX Enhanced. It doesn't >> support negating patterns and doesn't have an option to find transactions >> that don't match the provided pattern. IIRC libc regexes also don't support >> UTF8 character classes though they'll match explicit UTF8 characters of the >> same normalization just because the bytes are the same. >> >> The find dialog uses glib pcre (perl-compatible regular expressions) which >> are considerably more powerful than POSIX ones but also don't have negating >> patterns. However the Find dialog has a "doesn't match" setting. Other bits >> of GnuCash use boost::regexes, which understands perl regex syntax. We don't >> use the C++ standard library because it doesn't support UTF8. >> >> Regards, >> John Ralls > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] question
Will do, thanks! On Mon, Nov 11, 2019 at 6:38 AM Derek Atkins wrote: > Hi, > > Please CC gnucash-user on all replies... > > On Mon, November 11, 2019 8:35 am, William Benson wrote: > > I tried that. Catalina will not ope to any version of gnucash. Bill > > No, Catalina will definitely open 3.7. There are many people using 3.7 > with Catalina. You MAY have to tell your Mac to allow it. It may try to > open a dialog asking your permission, but it's possible you have that > window minimized if it was asking you a different question and you clicked > it away. > > Please go read the gnucash-user archives about this. We have had several > discussions already about GnuCash on Catalina. > > >> > Please remember to CC this list on all your replies. > >> > You can do this by using Reply-To-List or Reply-All. > > -derek > > -- >Derek Atkins 617-623-3745 >de...@ihtfp.com www.ihtfp.com >Computer and Internet Security Consultant > > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create report on checking showing only withdrawals? Or only deposits?
Adrien, I ran a find on the check register and looked for... Value has credits greater than zero Looks like that gave me all withdrawals from checking... Then I ran another Ctrl-F and searched for date after... Then again and searched for date before... Looks like that gave me all withdrawals from checking for the period... Then I ran an Account Report to get the totals So thanks for (once again :-) reminding me to search the register and then run an Account Report. That said, my issue with this is you only get the split view... and the Account Report does not give you all the options you have with the Transaction Report... But, going the Transaction Report route will not let me see only deposits or only withdrawals... so your way is best because it actually works :-) Thanks again, Fran3 On Monday, November 11, 2019, 9:43:09 AM EST, Adrien Monteleone wrote: You don’t run the report and then search it. You search from the target register or from the Accounts tab. (usually better results) Then run a report from the result tab. (if you need it, I usually just work from the search results, but reports can give you totals, subtotals and may do some sorting.) Regards, Adrien > On Nov 10, 2019 w46d314, at 7:31 PM, Fran_3 via gnucash-user > wrote: > > I can't seem to create a report on checking (or another asset account) that > only shows goes-outta's... aka withdrawals... aka credits. > I tried running a Transaction Report on Checking then hitting Ctl-F and > setting the parameters to... > Search for "value" where credits are greater than or equal to zero... > But that did not appear to search the the report as I got opening balances > from numerous accounts... and who knows what else. > I made a number of other attempts/experiments but... no joy. > I'm sure this is obvious to those more experienced and hopefully someone will > enlighten me :-) > Thanks, Fran3 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create report on checking showing only withdrawals? Or only deposits?
> On Nov 11, 2019 w46d315, at 12:39 PM, Fran_3 wrote: > > Adrien, > > > I ran a find on the check register and looked for... > > Value has credits greater than zero > > Looks like that gave me all withdrawals from checking... > > > Then I ran another Ctrl-F and searched for date after... > > Then again and searched for date before... > > Looks like that gave me all withdrawals from checking for the period... Note too, you can combine multiple criteria in one shot, so no need to iterate searches. Particularly for date ranges, you can also do a View > Filter By... on the resulting tab to narrow date ranges so you don’t have to make that part of your search criteria if such is your preference. The resulting Account Report *should* respect your Filter By... settings. (which also lets you filter by reconcile status, another possible bonus.) > > > Then I ran an Account Report to get the totals > > So thanks for (once again :-) reminding me to search the register and then > run an Account Report. > > That said, my issue with this is you only get the split view... and the > Account Report does not give you all the options you have with the > Transaction Report... > > But, going the Transaction Report route will not let me see only deposits or > only withdrawals... so your way is best because it actually works :-) Sadly, yes, the Transaction Report is more versitile in what you can display. I like that you have the option to show (or not) the *other* splits that are part of the returned transaction(s). The Account Report does not have this option. Perhaps this would be a good Request For Enhancement you could file (RFE) as a bug report. Maybe the code is similar enough that the ‘Account Report’ would become a specialized version of the ’Transaction Report’ and get you exactly what you are looking for. Regards, Adrien ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] Will the reports file "saved-reports-2.8" recreate itself if deleted or moved?
I have about 40 reports I created for this project and I would like to keep them for future reference. BUT that many reports clutter up the view when retrieving saved report configurations... I may not reference these particular reports for a year so I would like to stash them... that is stash their definitions/configuration file "saved-report-2.8" in another folder until I need those particular reports again. Question 1: If I move the reports config file saved-report-2.8 to a backup folder for future use and then delete it from its normal folder at C:\Users\User-X\AppData\Roaming\GnuCash Will gnuCash recreate a new "saved-report-2.8" file when I re-launch the gnuCash App? Question 2: If months down the road I need to recover the saved-report-2.8 file that I stashed elsewhere... Can I swap the current saved-report-2.8 file with the one I stashed... and visa-versa as needed? Question 3: I made a simple Transaction Report named Test that only looked at the checking account. Then I made a copy of saved-report-2.8 and looked at it with NotePad++. The text in the file, I assume, consist of instructions used by gnuCash to create the report... meaning the contents of saved-report-2.8 is not a language to query the gnuCash data... right? Thanks for any help. Fran3 ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to create report on checking showing only withdrawals? Or only deposits?
On Monday, 11 November 2019 18:39:25 GMT Fran_3 via gnucash-user wrote: > > But, going the Transaction Report route will not let me see only deposits or > only withdrawals... so your way is best because it actually works :-) > Thanks again, Fran3 > > just a thought, can't the transaction report filter txns by "other account" so you can search for only expenses, or exclude income accounts, for example. That might help to only see withdrawals? forgive me if you're already using that filter setting for another purpose, I haven't followed the thread closely. Maf. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Server
On 11/10/2019 10:19 PM, D via gnucash-user wrote: It's a known issue that is being addressed. Do we have any idea/prognosis when gnucash installation downloads will again become available? I am currently in the process of getting a (new) machine ready to replace this ailing one and gnucash is the remaining application not yet installed. Not a serious serious rush, but I want it in place before going "prod". Michael ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] gnucash-env for python scripts (GnuCash 3.7)
Thank for your response. It helped me to find the issue. Geert Janssens-4 wrote > Do you have more than one gnucash installation on your system ? For > example a > 2.x version installed via your package manager. Actually I did, although not from package manager. Removing it from path did not help. However, I realized that I was running things from "build" directory and not from the "install" directory. Switching PYTHONPATH to point to install directory resolved the issue with missing backends. I am still getting some errors with example scripts but they may not be related to missing libraries. Thanks! CB -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Server
Michael, On Mon, November 11, 2019 6:41 pm, Michael or Penny Novack wrote: > On 11/10/2019 10:19 PM, D via gnucash-user wrote: >> It's a known issue that is being addressed. >> > > Do we have any idea/prognosis when gnucash installation downloads will > again become available? I am currently in the process of getting a (new) > machine ready to replace this ailing one and gnucash is the remaining > application not yet installed. Not a serious serious rush, but I want it > in place before going "prod". Downloads are not affected. You can get them from SourceForge (or github). > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Will the reports file "saved-reports-2.8" recreate itself if deleted or moved?
> On Nov 11, 2019, at 1:11 PM, Fran_3 via gnucash-user > wrote: > > I have about 40 reports I created for this project and I would like to keep > them for future reference. > BUT that many reports clutter up the view when retrieving saved report > configurations... > I may not reference these particular reports for a year so I would like to > stash them... that is stash their definitions/configuration file > "saved-report-2.8" in another folder until I need those particular reports > again. > > > Question 1: If I move the reports config file saved-report-2.8 to a backup > folder for future use and then delete it from its normal folder at > C:\Users\User-X\AppData\Roaming\GnuCash > Will gnuCash recreate a new "saved-report-2.8" file when I re-launch the > gnuCash App? > > Question 2: If months down the road I need to recover the saved-report-2.8 > file that I stashed elsewhere... > Can I swap the current saved-report-2.8 file with the one I stashed... and > visa-versa as needed? > > Question 3: I made a simple Transaction Report named Test that only looked at > the checking account. Then I made a copy of saved-report-2.8 and looked at it > with NotePad++. > > The text in the file, I assume, consist of instructions used by gnuCash to > create the report... > > meaning the contents of saved-report-2.8 is not a language to query the > gnuCash data... right? > Thanks for any help. Fran3 > 1. No, unless you create new saved report configs. 2. Yes. Just make sure to shut down GnuCash while you're switching the files. 3. The current version of the file contains the report names and a Scheme (that's a computer programming language) representation of the options you changed from the default values to create the custom report. You are correct that it does not contain queries. Most GnuCash reports work by iterating over the accounting objects in memory rather than using the query framework. Regards, John Ralls ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Will the reports file "saved-reports-2.8" recreate itself if deleted or moved?
Related to Fran3's question 2, are all the reports in one large file or can a user pick and choose which reports [s]he wants to restore from his or her archive? David Carlson On Mon, Nov 11, 2019 at 10:00 PM John Ralls wrote: > > > > On Nov 11, 2019, at 1:11 PM, Fran_3 via gnucash-user < > gnucash-user@gnucash.org> wrote: > > > > I have about 40 reports I created for this project and I would like to > keep them for future reference. > > BUT that many reports clutter up the view when retrieving saved report > configurations... > > I may not reference these particular reports for a year so I would like > to stash them... that is stash their definitions/configuration file > "saved-report-2.8" in another folder until I need those particular reports > again. > > > > > > Question 1: If I move the reports config file saved-report-2.8 to a > backup folder for future use and then delete it from its normal folder at > > C:\Users\User-X\AppData\Roaming\GnuCash > > Will gnuCash recreate a new "saved-report-2.8" file when I re-launch the > gnuCash App? > > > > Question 2: If months down the road I need to recover the > saved-report-2.8 file that I stashed elsewhere... > > Can I swap the current saved-report-2.8 file with the one I stashed... > and visa-versa as needed? > > > > Question 3: I made a simple Transaction Report named Test that only > looked at the checking account. Then I made a copy of saved-report-2.8 and > looked at it with NotePad++. > > > > The text in the file, I assume, consist of instructions used by gnuCash > to create the report... > > > > meaning the contents of saved-report-2.8 is not a language to query the > gnuCash data... right? > > Thanks for any help. Fran3 > > > > 1. No, unless you create new saved report configs. > 2. Yes. Just make sure to shut down GnuCash while you're switching the > files. > 3. The current version of the file contains the report names and a Scheme > (that's a computer programming language) representation of the options you > changed from the default values to create the custom report. You are > correct that it does not contain queries. Most GnuCash reports work by > iterating over the accounting objects in memory rather than using the query > framework. > > Regards, > John Ralls > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > -- David Carlson ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.