Re: report guid
On Aug 17, 2015, at 4:23 PM, wwhk10 wwh...@gmail.com wrote: Hi. I am trying to add a report and read in the documentation that each report needs a unique ID. How can I run gnucash-make-guids or uuidgen? I am using the Windows version. I did a search but cannot find these commands. Google turns up many web-based uuid generators. You can use any of them. Just remove the ‘-‘ chanracters from the result after you paste it in to your custom report. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: report guid
Hi. I am trying to add a report and read in the documentation that each report needs a unique ID. How can I run gnucash-make-guids or uuidgen? I am using the Windows version. I did a search but cannot find these commands. Thanks. Wendy Wong -- View this message in context: http://gnucash.1415818.n4.nabble.com/report-guid-tp1444806p4680007.html Sent from the GnuCash - Dev mailing list archive at Nabble.com. ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: report guid
Hi, Quoting J. Alex Aycinena [EMAIL PROTECTED]: Hello, I'm writing a report and see that all reports have a guid and are defined as follows: (gnc:define-report 'version 1 'name reportname 'report-guid c4173ac99b2b448289bf4d11c731af13 Where do the values for these guid's come from? Where do you get a value for a new report? They are random. The easiest way to generate one is to generate a new UUID: uuidgen | sed -e 's/-//g' Thanks in advance for a response. Alex -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: report-guid issue
Hi Derek, All reports appear to have such entry, so I guess it might be so that the hex code is sometimes wrong. I also wonder if this could be related to the Crash in Accounts receivable report and gnucash crashes on open due to missing custom report threads... Any clues? Do you have any saved (custom) reports? Yes, I do. And I saved them with VERY old versions of gnucash. In my .gnucash directory I see the files saved-reports-1.8 and saved-reports-2.0. Is this what we're talking about? The fact is, I don't need my save reports, and would like to get rid of them in the best way (then I guess I can save some reports again with the current version). I tried to mv .gnucash/saved-reports-2.0 .gnucash/saved-reports-2.0.old but it didn't help. Where do I find them? How do I get rid of them? Thanks Davide ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: report-guid issue
Davide Imbeni [EMAIL PROTECTED] writes: Do you have any saved (custom) reports? Yes, I do. And I saved them with VERY old versions of gnucash. In my .gnucash directory I see the files saved-reports-1.8 and saved-reports-2.0. Is this what we're talking about? Yep. And this is exactly what the error message is talking about. The fact is, I don't need my save reports, and would like to get rid of them in the best way (then I guess I can save some reports again with the current version). I tried to mv .gnucash/saved-reports-2.0 .gnucash/saved-reports-2.0.old but it didn't help. Did you restart gnucash? Where do I find them? How do I get rid of them? You did already. Thanks Davide -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: report-guid issue
A great opportunity for me to clarify this a bit. On Tue, Jan 15, 2008 at 02:46:18PM +0100, Davide Imbeni wrote: svn version quite often, and I have recently started to get the following warning message at startup: Your report system includes one or more reports without a proper report-guid field. This report may break without warning in future versions of GnuCash. Please review your saved reports file and update those -^ I suppose I should change the first line to refer to custom reports as well. Derek has already effectively answered your question, but this warning refers specifically to old custom reports that reference their templates by name. It is possible that those report templates could change names in the future causing that custom report to fail. The introduction of the report-guid is designed to prevent that from happening by internally referring to the report with a different field that is unrelated to the name. Now, in .gnucash/books/MyAccounts I've found a number of report-guid entries, followed by long hex strings of the type SchemeOptions=(let ((options (gnc:report-template-new-options/report-guid 2fe3b9833af044abb929a88d5a59620f Transaction Report))) ... one per each report tab I have (it's quite many) that is what is written to the books file by the new code. All reports appear to have such entry, so I guess it might be so that the hex code is sometimes wrong. nope. the code doesn't care what the guid is so long as it's unique. I also wonder if this could be related to the Crash in Accounts receivable report and gnucash crashes on open due to missing custom report threads... the first is a crash caused by still incomplete work on report-guid. The second is an unrelated issue having to do with options code failing when a report template is missing and that option code bringing the whole app down. ONe more point to make. The issue of what to do with old saved reports is still open. Its probably too much to ask the user to manually fix this. We need to be able to either change the saved reports in place, or migrate them all up to another saved-reports-2.x file and possibly abandon the old ones. A signature.asc Description: Digital signature ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel