Custom Reports Mgration from 2.2.9 to 2.3.17?

David T. sunfish62 at yahoo.com
Sat Dec 4 19:52:40 EST 2010


Well, this is odd. Here is the first thing in ~/Library:

dhtmbp:Library david$ ls -l G*
Gnucash-2.2.9:
total 0
drwxr-xr-x    3 david  david   102 Mar 11  2010 Library
drwxr-xr-x  121 david  david  4114 Mar 11  2010 bin
drwxr-xr-x    6 david  david   204 Mar 11  2010 etc
drwxr-xr-x   33 david  david  1122 Mar 11  2010 include
drwxr-xr-x    7 david  david   238 Mar 11  2010 info
drwxr-xr-x  103 david  david  3502 Mar 11  2010 lib
drwxr-xr-x    3 david  david   102 Mar 11  2010 man
drwxr-xr-x   36 david  david  1224 Mar 11  2010 share
drwxr-xr-x    3 david  david   102 Mar 11  2010 var

Gnucash-2.3.x:
total 0
drwxr-xr-x    3 david  david   102 Mar 13  2010 Library
drwxr-xr-x  200 david  david  6800 Mar 13  2010 bin
drwxr-xr-x   14 david  david   476 Mar 13  2010 etc
drwxr-xr-x   80 david  david  2720 Mar 13  2010 include
drwxr-xr-x   10 david  david   340 Mar 13  2010 info
drwxr-xr-x  281 david  david  9554 Mar 13  2010 lib
drwxr-xr-x   11 david  david   374 Mar 13  2010 libexec
drwxr-xr-x    3 david  david   102 Mar 13  2010 man
drwxr-xr-x    3 david  david   102 Mar 13  2010 sbin
drwxr-xr-x   58 david  david  1972 Mar 13  2010 share
drwxr-xr-x    5 david  david   170 Mar 13  2010 var

the Gnucash-2.2.9 folder is 131.1 MB; the Gnucash-2.3.17 is 301 MB. I'll note that the app bundles are 121 MB and 221 MB respectively. That's a lot of stuff.

I do see the folder in Library/Application Support, and config.user there included an absolute reference to the duplicate report file. So, I think that explains how it kept loading the file. But frankly, the error message is not very helpful, and does practically nothing to help a user resolve the problem (what user is going to know what a guid is, let alone how to find the report that has it hidden away somewhere, and then change this hidden data elemant?).

David


--- On Fri, 12/3/10, John Ralls <jralls at ceridwen.us> wrote:

> From: John Ralls <jralls at ceridwen.us>
> Subject: Re: Custom Reports Mgration from 2.2.9 to 2.3.17?
> To: "David T." <sunfish62 at yahoo.com>
> Cc: "devel gnucash" <gnucash-devel at gnucash.org>
> Date: Friday, December 3, 2010, 8:39 PM
> 
> On Dec 3, 2010, at 5:03 PM, David T. wrote:
> 
> > Can anyone shed light on why my custom reports did not
> migrate from 2.2.9 to 2.3.17? Currently, none of them have
> (Mac OSX), and that is problematic. Is there something I
> should look for, or something I should do to salvage them?
> > 
> 
> Sorry, your thread got hijacked by Anthony. I thought I'd
> replied to your message too, but it looks like I didn't.
> 
> UpdateDirs should have copied (not moved) your config
> files, including saved reports, from ~/.gnucash to
> ~/Library/Application Support/Gnucash. Please see if they're
> there. (If you had them somewhere else, like inside the
> 2.2.9 app bundle, then it's up to you to copy them over.)
> 
> I have no idea where the ~/Library/Gnucash-version folders
> came from. 2.3.x (for x >= 10, IIRC) makes the link for
> fooling hardcoded paths in /Library, not ~/Library -- and
> 2.2.9 put it in /opt. What's in them?
> 
> I'll have to look at the report loading code... it should
> pay attention to $GNC_DOT_PATH (set to ~/Library/Application
> Support/Gnucash in the launcher script). If it isn't, it's a
> bug and I'll fix it. The whole reason for changing from
> .gnucash to App Support was to expose those files to Finder
> and Spotllight.
> 
> Does equile need an extra library or module that isn't in
> the bundle?
> 
> Regards,
> John Ralls


      


More information about the gnucash-devel mailing list