Re: [GNC] 5.5-1 crashing on macOS 14.3

2024-03-07 Thread john
Have any other Mac users upgraded to 14.4 and had GnuCash crash on them at 
startup? Or had it run without trouble?

Regards,
John Ralls


> On Mar 7, 2024, at 17:28, john  wrote:
> 
> First of all, don't send the same email twice from different addresses.
> 
> GnuCash 5.5 is working perfectly well for me on macOS 14.4 Beta (23E5211a) 
> from last week. The 14.4 release *should* be substantially the same, but I'm 
> traveling this month with only the one computer so I'm not going to take any 
> upgrades until I get back home, nor will I be able to build a new package 
> until then.
> 
> If it's crashing there will be a crash report, see 
> https://wiki.gnucash.org/wiki/Stack_Trace#macOS for how to find it. Open a 
> bug report 
> (https://wiki.gnucash.org/wiki/Bugzilla#Commenting_on_existing_bugs_or_entering_new_ones)
>  and attach the crash report.
> 
> Regards,
> John Ralls
> 
> 
>> On Mar 6, 2024, at 11:25, rts.trey via gnucash-user 
>>  wrote:
>> 
>> GnuCash 5.5-1 wouldn't open after OS update.
>> Same version ran fine on previous OS versions.
>> Multiple fresh download/install of new 5.5 GnuCash didn't fix.
>> 
>> Anything I can do to assist troubleshoot/repair the issue?
>> 
>> Anon20
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> 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.
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> 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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Defining Keyboard shortcuts for Menu Functions

2024-03-07 Thread Jean L
You have a typo in your second line (missing > after Primary). I don't 
know whether that screws up the import of the file, or if the typo is 
only in your email, but that could be the reason it's not working?


Jean

On 3/7/2024 5:02 PM, Lincoln A Baxter wrote:

Thanks Jean...

I tried this as follows (while GC was not running):

; control-shift-c for csv import:
(gtk_accel_path 
"/gnc-plugin-csv-import-actions/CsvImportTransAction" 
"c")

; control-shift-o for Ofx import:
(gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction" 
"o")


Then I ran GC, and Control-Shift-o and Control-Shift-c  did nothing.
FWIW I'm running GC version 4.13 on Debian stable. (bookworm) using 
the Xfce window manager.


Thanks for trying, I've decided I can live with  Alt-f-i-o  which does 
seem to work.


Lincoln


On Wed, 2024-03-06 at 09:38 -0800, Jean Laroche wrote:

As shown in
https://wiki.gnucash.org/wiki/Keyboard_Shortcuts#Modifying_Keyboard_Shortcuts

You need to find and edit the file accelerator-map
Then uncomment the line

(gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction" "")

And modify to this (for example, for Ctrl-shift-o to import ofx).

(gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction"
"o")

Jean

On 3/6/24 9:14 AM, Lincoln A Baxter wrote:

Hi

I've just spent 45 minutes searching the web, and GC docs for how to a
new keyboard shortcut.

The shortcut I want define would be to File->Import->Import OFX/QFX

Can someone provide me with enough information so that I can do this?

I have no problem editing text configuration files.

I would need to know the function-name for this action, and how to bind
a key to that function in a configuration file GC will read.

TIA,

Lincoln
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Defining Keyboard shortcuts for Menu Functions

2024-03-07 Thread Lincoln A Baxter
Thanks Jean...

I tried this as follows (while GC was not running):

   ; control-shift-c for csv import:
   (gtk_accel_path "/gnc-plugin-csv-import-
   actions/CsvImportTransAction" "c")
   ; control-shift-o for Ofx import:
   (gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction"
   "o")
   
Then I ran GC, and Control-Shift-o and Control-Shift-c  did nothing. 
FWIW I'm running GC version 4.13 on Debian stable. (bookworm) using the
Xfce window manager.

Thanks for trying, I've decided I can live with  Alt-f-i-o  which does
seem to work.

Lincoln


On Wed, 2024-03-06 at 09:38 -0800, Jean Laroche wrote:
> As shown in 
> https://wiki.gnucash.org/wiki/Keyboard_Shortcuts#Modifying_Keyboard_Shortcuts
> 
> You need to find and edit the file accelerator-map
> Then uncomment the line
> 
> (gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction"
> "")
> 
> And modify to this (for example, for Ctrl-shift-o to import ofx).
> 
> (gtk_accel_path "/gnc-plugin-ofx-actions/OfxImportAction" 
> "o")
> 
> Jean
> 
> On 3/6/24 9:14 AM, Lincoln A Baxter wrote:
> > Hi
> > 
> > I've just spent 45 minutes searching the web, and GC docs for how
> > to a
> > new keyboard shortcut.
> > 
> > The shortcut I want define would be to File->Import->Import OFX/QFX
> > 
> > Can someone provide me with enough information so that I can do
> > this?
> > 
> > I have no problem editing text configuration files.
> > 
> > I would need to know the function-name for this action, and how to
> > bind
> > a key to that function in a configuration file GC will read.
> > 
> > TIA,
> > 
> > Lincoln
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > 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.
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> 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.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Bill total does not match real total

2024-03-07 Thread Stan Brown (using GC 4.14)
On 2024-03-07 06:56, Alan Johnson via gnucash-user wrote:
> Having entered numerous bills from Amazon and Costco recently, there 
> have been a few cases where the sales tax did not match. This required 
> an additional line item to adjust the sales tax to make the totals 
> match.

I'm not quite clear on what you mean by "do not match".

If you mean that you computed the sales tax for each taxable item, added
your computed tax amount, and found that the sales tax charged was
different, that's because in many (?most) states with sales tax, the tax
is computed, by law, on the total of the taxable items, not on the
individual items.

Like you (if that's what you're doing), I include sales tax as part of
the cost of each taxable item, and then I do sometimes find that my
total tax is a penny more or less than the tax on the receipt. It's not
a "vendor software problem", but the mathematical issue that Michael
Novack alludes to.

If that's not what you're doing, what exactly is not matching to what?

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Bill total does not match real total

2024-03-07 Thread Kalpesh Patel
I remember EBCDIC being used heavily during mid '80's on Fortran punch cards...

-Original Message-
From: Fred Tydeman  
Sent: Thursday, March 07, 2024 10:08 AM
To: stepbystepf...@comcast.net
Cc: gnucash-user@gnucash.org
Subject: Re: [GNC] Bill total does not match real total

Actually, DFP (decimal floating point) has been part of gcc since 2005.
DFP is now part of standard C (C23).  DFP was first proposed for C in 2003
N1016  01-Sep-2003 
Mak, Extension for the programming language C to support decimal floating-point 
arithmetic

Intel 8080 and x86 CPUs both have a limited instruction set for BCD (binary 
coded decimal).

The first computer I ever used (in 1967), the IBM 1620, used BCD floating-point.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Error Retrieving Gold Price for Price Database

2024-03-07 Thread Kalpesh Patel
Oh! 

XAU symbol is indeed named Gold in Currencies name space which seems
 ...

-Original Message-
From: Kalpesh Patel  
Sent: Thursday, March 07, 2024 11:44 AM
To: 'Damon Hudac' 
Cc: 'gnucash-user@gnucash.org' 
Subject: RE: [GNC] Error Retrieving Gold Price for Price Database

I don't believe GNC by default contains Gold in the currency namespace. It
is likely added.

For Yahoo purposes thus yahoo_json, XAU or Philadelphia Gold and Silver
Index is an index at Nasdaq so query would require caret ('^') prefix so the
symbol is '^XAU' (without quotes).

For Gold spot prices, the 'GC=F' symbol pulls from yahoo_json...


-Original Message-
From: Damon Hudac  
Sent: Wednesday, March 06, 2024 5:36 PM
To: gnucash-user@gnucash.org
Subject: [GNC] Error Retrieving Gold Price for Price Database

I installed GnuCash from flathub. I'm running GnuCash v5.5. 
Finance::Quote is v1.58.

In the security editor, in the "currencies" namespace, gold is listed under
symbol XAU.

I have the box checked for "Get Online Quotes."
"Type of quote source" is Single --> Currency

Whenever I click "Get Quotes" in the price database, the price for gold
fails with this error:

"Quotes for the following commodities were unavailable or unusable:
* CURRENCY:XAU Finance::Quote reported failure set no error."

I have quotes for Canadian dollars set up identically and those work fine
when I update the quotes. Does anyone know how to configure this to retrieve
gold prices?

If it helps, I do have an Alphavantage API key and use that all the time to
update stock prices.

Thank you!


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Error Retrieving Gold Price for Price Database

2024-03-07 Thread Kalpesh Patel
I don't believe GNC by default contains Gold in the currency namespace. It
is likely added.

For Yahoo purposes thus yahoo_json, XAU or Philadelphia Gold and Silver
Index is an index at Nasdaq so query would require caret ('^') prefix so the
symbol is '^XAU' (without quotes).

For Gold spot prices, the 'GC=F' symbol pulls from yahoo_json...


-Original Message-
From: Damon Hudac  
Sent: Wednesday, March 06, 2024 5:36 PM
To: gnucash-user@gnucash.org
Subject: [GNC] Error Retrieving Gold Price for Price Database

I installed GnuCash from flathub. I'm running GnuCash v5.5. 
Finance::Quote is v1.58.

In the security editor, in the "currencies" namespace, gold is listed under
symbol XAU.

I have the box checked for "Get Online Quotes."
"Type of quote source" is Single --> Currency

Whenever I click "Get Quotes" in the price database, the price for gold
fails with this error:

"Quotes for the following commodities were unavailable or unusable:
* CURRENCY:XAU Finance::Quote reported failure set no error."

I have quotes for Canadian dollars set up identically and those work fine
when I update the quotes. Does anyone know how to configure this to retrieve
gold prices?

If it helps, I do have an Alphavantage API key and use that all the time to
update stock prices.

Thank you!


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] 5.5-1 crashing on macOS 14.3

2024-03-07 Thread john
First of all, don't send the same email twice from different addresses.

GnuCash 5.5 is working perfectly well for me on macOS 14.4 Beta (23E5211a) from 
last week. The 14.4 release *should* be substantially the same, but I'm 
traveling this month with only the one computer so I'm not going to take any 
upgrades until I get back home, nor will I be able to build a new package until 
then.

If it's crashing there will be a crash report, see 
https://wiki.gnucash.org/wiki/Stack_Trace#macOS for how to find it. Open a bug 
report 
(https://wiki.gnucash.org/wiki/Bugzilla#Commenting_on_existing_bugs_or_entering_new_ones)
 and attach the crash report.

Regards,
John Ralls


> On Mar 6, 2024, at 11:25, rts.trey via gnucash-user 
>  wrote:
> 
> GnuCash 5.5-1 wouldn't open after OS update.
> Same version ran fine on previous OS versions.
> Multiple fresh download/install of new 5.5 GnuCash didn't fix.
> 
> Anything I can do to assist troubleshoot/repair the issue?
> 
> Anon20
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> 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.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


[GNC] Recording Vertical Spread Options

2024-03-07 Thread Grace

Hello,

Does anyone know if recording vertical spread options is the same as 
recording stock? if not, what is the process of recording vertical 
spread options?


Grace


--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Bill total does not match real total

2024-03-07 Thread Fred Tydeman
Actually, DFP (decimal floating point) has been part of gcc since 2005.
DFP is now part of standard C (C23).  DFP was first proposed for C in 2003
N1016  01-Sep-2003
Mak, Extension for the programming language C to support decimal
floating-point arithmetic

Intel 8080 and x86 CPUs both have a limited instruction set for BCD
(binary coded decimal).

The first computer I ever used (in 1967), the IBM 1620, used BCD
floating-point.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Bill total does not match real total

2024-03-07 Thread Alan Johnson via gnucash-user
It may not wholly be a GNC problem, but a vendor software problem.

Having entered numerous bills from Amazon and Costco recently, there have been 
a few cases where the sales tax did not match. This required an additional line 
item to adjust the sales tax to make the totals match.

Entering bills from some different places with different rates on the same 
bill, I gave up and entered it all with no tax and just added a line item at 
the end (I want able to discern which items were at which rate)

It would be a different problem if you were on the selling side and for 
whatever reason the state disagreed with your sales tax figures and thus what 
you owe them.

Alan

Mar 7, 2024 09:17:18 Michael or Penny Novack :

> On 3/6/2024 12:49 PM, Carl Linkletter via gnucash-user wrote:
>> OK, Found the bug.  The problem is that the tax is totaled up using 
>> sub-penny calculations. That causes a 1.004 + 1.004 to equal 2.008 which is 
>> then rounded to 2.01.  Each line should be rounded to the penny first, then 
>> rounded up.  So if 1.004 is first rounded to 1.00, then that would cause 
>> this calculation to total 2.00, not 2.01.
>> 
>> If that makes any sense :-)  Guess I will enter a bug on this.
> 
> Does NOT solve the problem (rounding to the penny first). It is simply the 
> case that rounded(A) + rounded(B) /= rounded(A+B).
> 
> You have given an example where 1.004 + 1.004 would give 2.00 if rounded 
> first and 2.01 if rounded after adding. But how about 1.004 +  1.004 + 1.004 
> which would give 3.00 if rounded before adding and 3.01 if rounded after.
> 
> The problem is actually because of using "reals" to represent decimal 
> quantities. Now MY working days were spend with machines whose architecture 
> directly supported expressing decimals in BCD (binary coded decimal). But the 
> fact that our current CPUs don't directly support BCD representation and 
> arithmetic does not mean couldn't emulate that in software (in our higher 
> level language). Most of us using c++ are doing that so we don't have to 
> "roll our own" << c++ is actually a "pre-processor" for c >> Somebody like me 
> COULD come up with a BCD arithmetic package and I assume existing developers 
> could also.
> 
> The point is that people like the late Admr. Grace Murray Hopper (WWII 
> cryptologist, designer of COBOL) understood that using reals to express 
> decimals would have this problem and so used BCD for money amounts. That's 
> because intended for business and business implies money amounts. THEN 
> machine were made with architecture to directly support it.
> 
> Michael D Novack
> 
> PS --- BCD is essentially "integer" representation and math with the "display 
> amount" handling the editing to insert the decimal point. Now the only 
> arithmetic operation raising a rounding issue is division.
> 
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> 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.


smime.p7s
Description: S/MIME cryptographic signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.


Re: [GNC] Bill total does not match real total

2024-03-07 Thread Michael or Penny Novack

On 3/6/2024 12:49 PM, Carl Linkletter via gnucash-user wrote:

OK, Found the bug.  The problem is that the tax is totaled up using sub-penny 
calculations. That causes a 1.004 + 1.004 to equal 2.008 which is then rounded 
to 2.01.  Each line should be rounded to the penny first, then rounded up.  So 
if 1.004 is first rounded to 1.00, then that would cause this calculation to 
total 2.00, not 2.01.

If that makes any sense :-)  Guess I will enter a bug on this.


Does NOT solve the problem (rounding to the penny first). It is simply 
the case that rounded(A) + rounded(B) /= rounded(A+B).


You have given an example where 1.004 + 1.004 would give 2.00 if rounded 
first and 2.01 if rounded after adding. But how about 1.004 +  1.004 + 
1.004 which would give 3.00 if rounded before adding and 3.01 if rounded 
after.


The problem is actually because of using "reals" to represent decimal 
quantities. Now MY working days were spend with machines whose 
architecture directly supported expressing decimals in BCD (binary coded 
decimal). But the fact that our current CPUs don't directly support BCD 
representation and arithmetic does not mean couldn't emulate that in 
software (in our higher level language). Most of us using c++ are doing 
that so we don't have to "roll our own" << c++ is actually a 
"pre-processor" for c >> Somebody like me COULD come up with a BCD 
arithmetic package and I assume existing developers could also.


The point is that people like the late Admr. Grace Murray Hopper (WWII 
cryptologist, designer of COBOL) understood that using reals to express 
decimals would have this problem and so used BCD for money amounts. 
That's because intended for business and business implies money amounts. 
THEN machine were made with architecture to directly support it.


Michael D Novack

PS --- BCD is essentially "integer" representation and math with the 
"display amount" handling the editing to insert the decimal point. Now 
the only arithmetic operation raising a rounding issue is division.



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
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.