Re: [GNC] Fetching quotes with flatpak

2023-04-02 Thread Jon Schewe
When specifying the namespace it works. Good to know there is a bug
report about this. I've subscribed to it so that I know when it's been
fixed.

On Sun, 2023-04-02 at 19:24 +, Murugan Muruganandam wrote:
> Can you run this in debug mode and see what error you are getting
> 
> gnucash-cli --debug  --quotes get --namespace  from securities editor> 
> 
> 
> 
> Saludos Cordiales
> 
> Murugan
> From: Jon Schewe 
> Sent: Sunday, April 2, 2023 2:48 PM
> To: Murugan Muruganandam ; gnucash-
> u...@gnucash.org 
> Subject: Re: [GNC] Fetching quotes with flatpak
>  
> That works as expected
> 
> > flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
> dump yahoo_json acn
> acn:
>     date => 03/31/2023
>   pe => 26.31768
>     type => EQUITY
>  isodate => 2023-03-31
>  low => 282.61
>   year_range =>    242.8 - 345.3
>     high => 285.96
>   symbol => acn
>     open => 283.12
>  eps => 10.86
>     exchange => Sourced from Yahoo Finance (as JSON)
>  success => 1
>    div_yield => 1.5318757
>     name => acn (Accenture plc)
>   method => yahoo_json
>   volume => 3009370
>     currency => USD
>     last => 285.81
>    close => 282.66
> 
> 
> On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote:
> > can you try the following and check
> > 
> > gnucash-cli --verbose -Q dump yahoo_json acn
> > 
> > 
> > 
> > Saludos Cordiales
> > 
> > Murugan
> > 
> > From: gnucash-user  > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon
> > Schewe 
> > Sent: Sunday, April 2, 2023 10:53 AM
> > To: gnucash-user@gnucash.org 
> > Subject: [GNC] Fetching quotes with flatpak
> >  
> > I'm looking to use gnucash-cli to fetch quotes, however I'm told
> > I'm
> > missing a parameter. The commandline help documentation states to
> > use
> > "get" and then the datafile. I believe that I've done it correctly
> > here, what am I missing?
> > 
> > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes
> > > get
> > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> > Missing data file parameter
> > 
> > Thank you,
> > Jon
> > 
> > ___
> > 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] Fetching quotes with flatpak

2023-04-02 Thread Vincent Dawans
FYI there is an open bug report about this.
https://bugs.gnucash.org/show_bug.cgi?id=798815

And yes I confirm it works for me also with a namespace but not without. It
seems that with no namespace, the code is parsing the filename in the wrong
variable, hence the missing filename message.

On Sun, Apr 2, 2023 at 4:33 PM David H  wrote:

> Murugan/Jon,
>
> I'm having the same issue which isn't really an issue for me as I usually
> just run Get Quotes from within GnuCash itself.  I was able to get updated
> quotes however by including the namespace parameter as follows:-
>
> flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> --namespace=NYSE /home/<>/Documents/Test.gnucash
> Found Finance::Quote version 1.5301.
>
> Hope this helps, Cheers David H.
>
>
>
> On Mon, 3 Apr 2023 at 05:25, Murugan Muruganandam <
> m.muruganan...@hotmail.com> wrote:
>
> > Can you run this in debug mode and see what error you are getting
> >
> > gnucash-cli --debug  --quotes get --namespace  > securities editor> 
> >
> >
> >
> >
> > Saludos Cordiales
> >
> >
> > Murugan
> >
> > 
> > From: Jon Schewe 
> > Sent: Sunday, April 2, 2023 2:48 PM
> > To: Murugan Muruganandam ;
> > gnucash-user@gnucash.org 
> > Subject: Re: [GNC] Fetching quotes with flatpak
> >
> > That works as expected
> >
> > >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
> > dump yahoo_json acn
> > acn:
> > date => 03/31/2023
> >   pe => 26.31768
> > type => EQUITY
> >  isodate => 2023-03-31
> >  low => 282.61
> >   year_range =>242.8 - 345.3
> > high => 285.96
> >   symbol => acn
> > open => 283.12
> >  eps => 10.86
> > exchange => Sourced from Yahoo Finance (as JSON)
> >  success => 1
> >div_yield => 1.5318757
> > name => acn (Accenture plc)
> >   method => yahoo_json
> >   volume => 3009370
> > currency => USD
> > last => 285.81
> >close => 282.66
> >
> >
> > On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote:
> > > can you try the following and check
> > >
> > > gnucash-cli --verbose -Q dump yahoo_json acn
> > >
> > >
> > >
> > > Saludos Cordiales
> > >
> > > Murugan
> > >
> > > From: gnucash-user  > > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon
> > > Schewe 
> > > Sent: Sunday, April 2, 2023 10:53 AM
> > > To: gnucash-user@gnucash.org 
> > > Subject: [GNC] Fetching quotes with flatpak
> > >
> > > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
> > > missing a parameter. The commandline help documentation states to use
> > > "get" and then the datafile. I believe that I've done it correctly
> > > here, what am I missing?
> > >
> > > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> > > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> > > Missing data file parameter
> > >
> > > Thank you,
> > > Jon
> > >
> > > ___
> > > 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.
>
___
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] Fetching quotes with flatpak

2023-04-02 Thread David H
Murugan/Jon,

I'm having the same issue which isn't really an issue for me as I usually
just run Get Quotes from within GnuCash itself.  I was able to get updated
quotes however by including the namespace parameter as follows:-

flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
--namespace=NYSE /home/<>/Documents/Test.gnucash
Found Finance::Quote version 1.5301.

Hope this helps, Cheers David H.



On Mon, 3 Apr 2023 at 05:25, Murugan Muruganandam <
m.muruganan...@hotmail.com> wrote:

> Can you run this in debug mode and see what error you are getting
>
> gnucash-cli --debug  --quotes get --namespace  securities editor> 
>
>
>
>
> Saludos Cordiales
>
>
> Murugan
>
> 
> From: Jon Schewe 
> Sent: Sunday, April 2, 2023 2:48 PM
> To: Murugan Muruganandam ;
> gnucash-user@gnucash.org 
> Subject: Re: [GNC] Fetching quotes with flatpak
>
> That works as expected
>
> >flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
> dump yahoo_json acn
> acn:
> date => 03/31/2023
>   pe => 26.31768
> type => EQUITY
>  isodate => 2023-03-31
>  low => 282.61
>   year_range =>242.8 - 345.3
> high => 285.96
>   symbol => acn
> open => 283.12
>  eps => 10.86
> exchange => Sourced from Yahoo Finance (as JSON)
>  success => 1
>div_yield => 1.5318757
> name => acn (Accenture plc)
>   method => yahoo_json
>   volume => 3009370
> currency => USD
> last => 285.81
>close => 282.66
>
>
> On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote:
> > can you try the following and check
> >
> > gnucash-cli --verbose -Q dump yahoo_json acn
> >
> >
> >
> > Saludos Cordiales
> >
> > Murugan
> >
> > From: gnucash-user  > bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon
> > Schewe 
> > Sent: Sunday, April 2, 2023 10:53 AM
> > To: gnucash-user@gnucash.org 
> > Subject: [GNC] Fetching quotes with flatpak
> >
> > I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
> > missing a parameter. The commandline help documentation states to use
> > "get" and then the datafile. I believe that I've done it correctly
> > here, what am I missing?
> >
> > > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> > /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> > Missing data file parameter
> >
> > Thank you,
> > Jon
> >
> > ___
> > 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] Flatpak ldconfig error

2023-04-02 Thread David H
Simple fix/workaround documented in the docs at
https://wiki.gnucash.org/wiki/Flatpak, excerpt below.

Cheers David H.


   - Current versions of GnuCash flatpak will no longer attempt to
   recompile all scm sources though it will continue to emit warnings about
   obsolete .go files:

   ldconfig: /app/lib/libguile-2.2.so.1.3.0-gdb.scm is not an ELF file
- it has the wrong magic bytes at the start.
   ;;; note: source file /app/share/guile//2.2/ice-9/eval.scm;;;
newer than compiled /app/lib/guile/2.2/ccache/ice-9/eval.go:


Workaround

:

# --system installcd /var/lib/flatpak/app/org.gnucash.GnuCash# OR
--user installcd $HOME/.local/share/flatpak/app/org.gnucash.GnuCash

sudo find . -name '*.go' -exec touch '{}' ';'


On Mon, 3 Apr 2023 at 02:42, Jon Schewe  wrote:

> When I run flatpak to get quotes I get a warning about a scheme file
> not being an ELF file. Is this a bug in the packaging or expected based
> on how flatpak works?
>
> >flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> ~/Documents/banking/gnucash/accounts.gnucash
> ldconfig: /app/lib/libguile-2.2.so.1.3.0-gdb.scm is not an ELF file -
> it has the wrong magic bytes at the start.
>
>
> Thanks
>
> ___
> 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] Fetching quotes with flatpak

2023-04-02 Thread Murugan Muruganandam
Can you run this in debug mode and see what error you are getting

gnucash-cli --debug  --quotes get --namespace  




Saludos Cordiales


Murugan


From: Jon Schewe 
Sent: Sunday, April 2, 2023 2:48 PM
To: Murugan Muruganandam ; gnucash-user@gnucash.org 

Subject: Re: [GNC] Fetching quotes with flatpak

That works as expected

>flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
dump yahoo_json acn
acn:
date => 03/31/2023
  pe => 26.31768
type => EQUITY
 isodate => 2023-03-31
 low => 282.61
  year_range =>242.8 - 345.3
high => 285.96
  symbol => acn
open => 283.12
 eps => 10.86
exchange => Sourced from Yahoo Finance (as JSON)
 success => 1
   div_yield => 1.5318757
name => acn (Accenture plc)
  method => yahoo_json
  volume => 3009370
currency => USD
last => 285.81
   close => 282.66


On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote:
> can you try the following and check
>
> gnucash-cli --verbose -Q dump yahoo_json acn
>
>
>
> Saludos Cordiales
>
> Murugan
>
> From: gnucash-user  bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon
> Schewe 
> Sent: Sunday, April 2, 2023 10:53 AM
> To: gnucash-user@gnucash.org 
> Subject: [GNC] Fetching quotes with flatpak
>
> I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
> missing a parameter. The commandline help documentation states to use
> "get" and then the datafile. I believe that I've done it correctly
> here, what am I missing?
>
> > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> Missing data file parameter
>
> Thank you,
> Jon
>
> ___
> 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] Norton Utilities prevent FQ installation

2023-04-02 Thread Ruaraidh Sackville Hamilton
Norton Utilities came with my new Windows 11 computer. GnuCash 4.13 is
working great and I've migrated my data from the old computer, but there's
one problem: the script supplied to install finance::quote has failed with
error message "failed to download perl install file". At the same time,
Norton Utilities gives a message that it blocked unauthorized access to
process data, so it looks like Norton is the culprit. Norton says it's just
an info message and no action is required (!)

I've tried:

   - disabling Norton's firewall
   - disabling Norton's antivirus checks for perl.msi
   - running the installation script as administrator.

None of these has helped.

Has anyone any suggestions for what to try next?

Ruaraidh
___
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] Fetching quotes with flatpak

2023-04-02 Thread Jon Schewe
That works as expected

>flatpak run --command=gnucash-cli org.gnucash.GnuCash --verbose -Q
dump yahoo_json acn
acn:
date => 03/31/2023
  pe => 26.31768
type => EQUITY
 isodate => 2023-03-31
 low => 282.61
  year_range =>242.8 - 345.3
high => 285.96
  symbol => acn
open => 283.12
 eps => 10.86
exchange => Sourced from Yahoo Finance (as JSON)
 success => 1
   div_yield => 1.5318757
name => acn (Accenture plc)
  method => yahoo_json
  volume => 3009370
currency => USD
last => 285.81
   close => 282.66


On Sun, 2023-04-02 at 18:05 +, Murugan Muruganandam wrote:
> can you try the following and check
> 
> gnucash-cli --verbose -Q dump yahoo_json acn
> 
> 
> 
> Saludos Cordiales
> 
> Murugan
> 
> From: gnucash-user  bounces+m.muruganandam=hotmail@gnucash.org> on behalf of Jon
> Schewe 
> Sent: Sunday, April 2, 2023 10:53 AM
> To: gnucash-user@gnucash.org 
> Subject: [GNC] Fetching quotes with flatpak
>  
> I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
> missing a parameter. The commandline help documentation states to use
> "get" and then the datafile. I believe that I've done it correctly
> here, what am I missing?
> 
> > flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
> /home/jpschewe/Documents/banking/gnucash/accounts.gnucash
> Missing data file parameter
> 
> Thank you,
> Jon
> 
> ___
> 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] Fetching quotes with flatpak

2023-04-02 Thread Murugan Muruganandam
can you try the following and check

gnucash-cli --verbose -Q dump yahoo_json acn




Saludos Cordiales


Murugan


From: gnucash-user 
 on behalf of Jon 
Schewe 
Sent: Sunday, April 2, 2023 10:53 AM
To: gnucash-user@gnucash.org 
Subject: [GNC] Fetching quotes with flatpak

I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
missing a parameter. The commandline help documentation states to use
"get" and then the datafile. I believe that I've done it correctly
here, what am I missing?

>flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
/home/jpschewe/Documents/banking/gnucash/accounts.gnucash
Missing data file parameter

Thank you,
Jon

___
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] Fetching quotes with flatpak

2023-04-02 Thread Jon Schewe
I'm looking to use gnucash-cli to fetch quotes, however I'm told I'm
missing a parameter. The commandline help documentation states to use
"get" and then the datafile. I believe that I've done it correctly
here, what am I missing?

>flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
/home/jpschewe/Documents/banking/gnucash/accounts.gnucash
Missing data file parameter

Thank you,
Jon

___
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] Flatpak ldconfig error

2023-04-02 Thread Jon Schewe
When I run flatpak to get quotes I get a warning about a scheme file
not being an ELF file. Is this a bug in the packaging or expected based
on how flatpak works?

>flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get
~/Documents/banking/gnucash/accounts.gnucash
ldconfig: /app/lib/libguile-2.2.so.1.3.0-gdb.scm is not an ELF file -
it has the wrong magic bytes at the start.


Thanks

___
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] Security timezone

2023-04-02 Thread john


> On Apr 2, 2023, at 1:37 AM, Fred Tydeman  wrote:
> 
> I am talking about price quotes.  I am trying to get month end and quarter 
> end valuations.
> So that I can compare what GnuCash has versus statements from broker (to see 
> if I have
> any missing or wrong transactions).
> 
> In a couple of years, I plan on living full time on a ship as it travels 
> around the world.

So the problem is that the quotes were as usual undated and although it was 
still 31 March at home it was 1 April where you are now and since the quotes 
didn't have a date on them GnuCash was marking them as 1 April, and that breaks 
reports using the nearest before price source.

The easiest way to handle that is to set the TZ variable to whatever time zone 
the market you're interested is in, but there's no good solution even possible 
if you hold securities traded in multiple time zones, especially if some are in 
Asia and others in America.

Regards,
John Ralls

___
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] Security timezone

2023-04-02 Thread David T. via gnucash-user
When I reconcile my brokerage account statements with my GnuCash books, I 
reconcile actual transactions and ensure that commodity balances are correct. 
As long as those are accurate, the valuation at any given time is essentially 
arbitrary; it only becomes important at the time of sale. 

A valuation at any given point only serves to make you feel something--good for 
how high it is, bad if it is lower than your hope.

⁣David T. ​

On Apr 2, 2023, 11:37 AM, at 11:37 AM, Fred Tydeman  
wrote:
>I am talking about price quotes.  I am trying to get month end and
>quarter
>end valuations.
>So that I can compare what GnuCash has versus statements from broker
>(to
>see if I have
>any missing or wrong transactions).
>
>In a couple of years, I plan on living full time on a ship as it
>travels
>around the world.
___
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] Security timezone

2023-04-02 Thread Fred Tydeman
I am talking about price quotes.  I am trying to get month end and quarter
end valuations.
So that I can compare what GnuCash has versus statements from broker (to
see if I have
any missing or wrong transactions).

In a couple of years, I plan on living full time on a ship as it travels
around the world.
___
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] Security timezone

2023-04-02 Thread David T. via gnucash-user
I hesitate to jump in, since John is so much more knowledgeable and informed, 
but his reply (and my understanding of the back side functioning in this area) 
would suggest that the quote source doesn't usually include any time zone 
information, and the time zone that GnuCash inserts into its data set is chosen 
specifically to ensure that quote dates won't change when viewed in different 
times zones. So, it's not clear to me why you would encounter date changes. 

That being said, I have a few questions, the first being, how long is your 
trip? If it's a short term thing, perhaps you can accept the discrepancy until 
you return to your home time zone, at which time the shift would presumably 
revert to your expectation.  

The second is, how important is it to know that a given price relates to 
Monday, as opposed to Tuesday? My experience is that the specific dates of such 
valuations is secondary to the general valuation at some point in time. Any 
concern with a specific date and time is either related to an actual event 
(purchase/sale), or is due to my own obsessive nature. The former gets handled 
in the actual transaction, while the latter takes therapy.  ;)

The third is, are you actually discussing price quotes, or perhaps 
transactions? Your initial query refers to securities, while John interpreted 
that to mean price quotes. Transactions can have more specific times associated 
with them (although I can't imagine an actual security having any sort of time 
attached to it). Perhaps this is a source of confusion in this exchange? 

⁣David T. ​

On Apr 2, 2023, 6:41 AM, at 6:41 AM, Fred Tydeman  
wrote:
>I am on a trip where I am 10 hours ahead of home timezone.
>So prices appear to be one day ahead of home time
>with the default of Local timezone.
>So, I am hoping that picking New York timezone will help.
>
>On Sat, Apr 1, 2023 at 8:54 PM john  wrote:
>
>> There's nothing to do either.
>>
>> Do you have a price-source that actually sets a time? Most don't so
>we set
>> the default time (10:59 AM UTC) so that the date is right in all
>timezones.
>>
>> Regards,
>> John Ralls
>>
>>
>> > On Mar 31, 2023, at 10:51 PM, Fred Tydeman 
>> wrote:
>> >
>> > Is there a way to set a default timezone for adding security?
>> > Is there a way to mass change the timezones for existing
>securities?
>> > ___
>> > 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] Gnucash,org url is now working

2023-04-02 Thread Dr. David Kirkby
On Fri, 3 Mar 2023 at 16:53, Fred Bone  wrote:

>
> What appears to be up is the loss of an automatic redirect from
>  http://www.gnucash.org
> to
>  https://www.gnucash.org
> which, as this is clearly an Apache webserver, is a matter of one line in
> a .htaccess file.


That’s not the best way to do it, although it will work.  It puts less load
on the server to have it in the server configuration file which is read
once when the server starts. Reading the .htaccess every time a site is
accessed adds unnecessary load. You will find that documented in the Apache
docs somewhere.

Dave

> --
Dr. David Kirkby,
Kirkby Microwave Ltd,
drkir...@kirkbymicrowave.co.uk
https://www.kirkbymicrowave.co.uk/
Telephone 01621-680100./ +44 1621 680100

Registered in England & Wales, company number 08914892.
Registered office:
Stokes Hall Lodge, Burnham Rd, Althorne, Chelmsford, Essex, CM3 6DT, United
Kingdom
___
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.