hanging on opening old file

David Reiser dbreiser at earthlink.net
Mon Feb 25 23:36:38 EST 2008


Ooh. Ooh. Someone who can actually benefit from the reason I renamed  
the fink package when gnucash 2.0 came out.

Theoretically, you could make a copy of your existing data file (you  
don't want to be trying to take a data file back and forth now). Then  
just 'fink install gnucash' or 'fink install gnucash2', and fink  
should take care of removing one and replacing it with the other.  
Either one is invoked with 'gnucash' in an xterm window. Once they're  
both built, you should be able to switch back and forth in about 30  
seconds (once you've quit the version you're changing from). The data  
file incompatibility means that if you try this switching, you will  
always want to start with either an explicit path/filename or --nofile  
to keep gnucash from opening the wrong data file.

OTOH, it has been a loooong time since I tried running 1.8.11 (and I  
only maintain the newer version package). So you probably do want to  
wait until after your taxes are done to try the fink version of 2.2.3  
(or 4). (and there have been slib/guile problems with the macports  
version lately)

When 2.0 first came out, you could take a data file back and forth  
across versions. and I did it several times. But 2.2 made a couple  
changes that result in difficulties if you try going back to 1.8.x (or  
even 2.0.x) after saving the file from 2.2.x.

Good luck.

Dave
On Feb 25, 2008, at 11:17 PM, Scott Lipcon wrote:

> That would have been embarrassing!   I just double checked, both in  
> starting
> gnucash normally, and in starting with --nofile and using File:Open  
> to open
> my data file, and there is no hidden popup window anywhere.
>
> At this point I've got gnucash 1.8.12 installed via fink and 2.2.3  
> installed
> via macports, and 1.8.12 works fine, 2.2.3 simply hangs.   fink has a
> 2.2.3build available in its "unstable" branch - maybe I'll try to
> install that to
> see if its something about how macports built gnucash thats the  
> problem
> (unfortunately, I'll probably have to remove 1.8.12 to do that, so  
> I'm going
> to have to wait until after my taxes are done)
>
> Scott
>
> On 2/25/08, Derek Atkins <warlord at mit.edu> wrote:
>>
>> Can you check around and see if, perhaps, there's a popup window
>> that popped up BEHIND the main window?
>>
>> -derek
>>
>>
>> "Scott Lipcon" <slipcon at gmail.com> writes:
>>
>>> One more bit of information - I ran with --debug:
>>>
>>> when I open the old data file,  the following is in the  
>>> gnucash.tracefile
>>> in $TMP:
>>>
>>> * 21:54:11  INFO <gnc.commodity> [gnc_commodity_table_insert] insert
>>> 0x7ce29c0 XPT into nsp=0x872c1e0 CURRENCY
>>> * 21:54:11  INFO <gnc.commodity> [gnc_commodity_table_insert] insert
>>> 0x7ce2b30 XAG into nsp=0x872c1e0 CURRENCY
>>> * 21:54:11  INFO <qof.session> [qof_session_load] new book=0x7649180
>>> * 21:54:11  INFO <qof.engine> [qof_event_generate_internal] id=3
>>> hi=0x7c6d2f0 han=0x1a0080 data=0x0
>>> * 21:54:11  INFO <qof.engine> [qof_event_generate_internal] id=2
>>> hi=0x21db200 han=0x40ae40 data=0x0
>>> * 21:54:11  INFO <qof.engine> [qof_event_generate_internal] id=1
>>> hi=0x21699f0 han=0x307310 data=0x0
>>> * 21:54:11  INFO <gnc.account> [xaccAccountCommitEdit] freeing  
>>> splits
>> for
>>> account 0x871a498 ()
>>>
>>>
>>>
>>> (the first few lines are repeated many times for different codes -  
>>> and
>>> nothing is output after the last "freeing splits" line)
>>>
>>>
>>> Any ideas?
>>>
>>> Scott
>>>
>>> On 2/23/08, Scott Lipcon <slipcon at gmail.com> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm hoping someone can help here.... I've been using gnucash 1.8  
>>>> for
>> many
>>
>>>> years, first on Linux then on MacOS X using fink.   I upgraded to  
>>>> OSX
>> 10.5today and installed gnucash
>>
>>>> 2.2.3 using Macports instead of fink.
>>>>
>>>> When I start gnucash, it hangs trying to open my old data.   So I  
>>>> run
>>>> gnucash --nofile and it opens successfully.   When I try to open my
>> file
>>>> from there, it again hangs.    I'm working from a fresh .gnucash
>> directory,
>>>> and my data file is in a different directory.
>>>>
>>>> I've let it sit for many minutes, its not taking a lot of CPU  
>>>> time, or
>>>> apparently making any progress.
>>>>
>>>> I don't know where to go from here - any suggestions?
>>>>
>>>> Thanks
>>>> Scott
>>>>
>>
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>>
>>>
>>
>>
>> --
>>       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
>>       warlord at MIT.EDU                        PGP key available
>>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

--
David Reiser
dbreiser at earthlink.net






More information about the gnucash-user mailing list