Re: r22869 - gnucash/trunk/packaging/win32 - Win32 build: Can we get along without libgsf-gnome?

2013-04-09 Thread Derek Atkins
John Ralls  writes:

>> Great news.  And thanks.  I wonder if we need a periodic reset of that
>> directory?
>
> It would be nice if our build machinery could detect updated versions
> of dependencies and automatically build them when found. Jhbuild does
> this, but unfortunately nobody has yet succeeded in getting it to work
> reliably on Win32.

How does it detect that there's been a new release?  In our case we do
want quazi-stable dependencies, in particular on the stable build.  We
don't always want to build against the latest-and-greatest because they
could introduce regressions.  c.f. the libofx crash we're seeing on
windows.

I thought we did have code that would rebuild a dependency if we upgrade
it explicitly, but perhaps not?

> Regards,
> John Ralls

-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
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: sale of stock - transaction posts incorrectly

2013-04-09 Thread Derek Atkins
Hi,

Keith Bellairs  writes:

> I sold a security and entered the amount received in the "Sell" column. I
> entered an asset account (say my checking account) as the "Transfer"
> account in the ledger. After saving the transaction, I jump to the transfer
> account and find that the transaction has been entered with no amount
> entered as either a debit or credit -- just blanks. So that seriously
> unbalances my books. If I try to manually enter the debit amount in the
> receiving asset account, then the account window for that account freezes,
> in that I cannot move out of the highlighted broken transaction. If I then
> try to close the receiving account window I get the warning that there is a
> pending transaction. Clicking Save Transaction allows the window to close,
> but no amount is recorded with the transaction.
>
> When I try this with a different security gnc works correctly. So something
> about this particular security account is busted. Interestingly, dividend
> transactions for the broken security post the income side of the
> transaction correctly.

What are the parent accounts of these two securities?  In particular
what are the parent account type(s) and account currency?

-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
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r22869 - gnucash/trunk/packaging/win32 - Win32 build: Can we get along without libgsf-gnome?

2013-04-09 Thread John Ralls

On Apr 9, 2013, at 7:49 AM, Derek Atkins  wrote:

> John Ralls  writes:
> 
>>> Great news.  And thanks.  I wonder if we need a periodic reset of that
>>> directory?
>> 
>> It would be nice if our build machinery could detect updated versions
>> of dependencies and automatically build them when found. Jhbuild does
>> this, but unfortunately nobody has yet succeeded in getting it to work
>> reliably on Win32.
> 
> How does it detect that there's been a new release?  In our case we do
> want quazi-stable dependencies, in particular on the stable build.  We
> don't always want to build against the latest-and-greatest because they
> could introduce regressions.  c.f. the libofx crash we're seeing on
> windows.

It doesn't automagically detect new releases, it just recognizes that what's 
specified
in its control file is different from what it built last time.
> 
> I thought we did have code that would rebuild a dependency if we upgrade
> it explicitly, but perhaps not?
> 

No, I think it just checks that the dependency is present without a version 
check. If
it's supposed to do more that part is clearly not working.

Regards,
John Ralls



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r22869 - gnucash/trunk/packaging/win32 - Win32 build: Can we get along without libgsf-gnome?

2013-04-09 Thread Christian Stimming
Am Dienstag, 9. April 2013, 10:49:53 schrieb Derek Atkins:
> John Ralls  writes:
> >> Great news.  And thanks.  I wonder if we need a periodic reset of that
> >> directory?
> > 
> > It would be nice if our build machinery could detect updated versions
> > of dependencies and automatically build them when found. Jhbuild does
> > this, but unfortunately nobody has yet succeeded in getting it to work
> > reliably on Win32.
> 
> How does it detect that there's been a new release?  In our case we do
> want quazi-stable dependencies, in particular on the stable build.  We
> don't always want to build against the latest-and-greatest because they
> could introduce regressions.  c.f. the libofx crash we're seeing on
> windows.
> 
> I thought we did have code that would rebuild a dependency if we upgrade
> it explicitly, but perhaps not?

Yes, we have that for most dependencies: We check by pkg-config --atleast-
version, which reliably builds the dependencies anew if we upgraded the 
version number.

We don't clean up all of the dependency installation directories, though, 
which caused the unnecessary big setup package. I don't see much problem in 
that, though, and thus wouldn't invest extra developement time in any 
automatic mechanism here.

Christian
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: sale of stock - transaction posts incorrectly

2013-04-09 Thread Keith Bellairs
Parent accounts are
1 Asset (top-level asset-type CAD)
1.4 Investments (child account asset-type CAD)
1.4.4  (child account stock-type mutual-fund security,
no currency but it is a USD priced commodity)

For fun I changed the currency of "Investments" to USD, but 
continues to be broken. I have a variety of accounts with USD or CAD
currencies. My "default currency" is CAD.

There are other children of Investments that are asset accounts with names
like  and then stocks beneath them. They seem to all post
correctly.

KB


On Tue, Apr 9, 2013 at 10:51 AM, Derek Atkins  wrote:

> Hi,
>
>
>
> What are the parent accounts of these two securities?  In particular
> what are the parent account type(s) and account currency?
>
> -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
>warl...@mit.eduPGP key available
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel