Re: [GNC] finance Quote Not working

2023-08-07 Thread R Losey
A tip I've often used on Windows... the "tab" key does file expansion.

So, if I'm at C:\ in Windows, I can type "Prog" followed by the tab key,
and it will expand to "Program Files", with the quotes needed. (If it
brings up the wrong directory, such as "Program Data", continued presses of
the tab key will move to the next matching file). I find this MUCH easier
to navigate to an executable file on Windows, and it helps to avoid
spelling mistakes.


On Sun, Aug 6, 2023 at 4:42 PM Fross, Michael  wrote:

> As an FYI, on my windows 11 installation, the default location where
> GNUCash installs itself is:
>
> "C:\Program Files (x86)\gnucash"
>
> and the full path to the CLI executable is:
>
> "C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe"
>
> For command line guys like me, these paths are just crazy
>
> Michael
>
> On Sun, Aug 6, 2023 at 4:23 PM David H  wrote:
>
> > On windows you'll need the double quotes around the .exe path because of
> > the space in "Program Files"
> >
> > i.e.   "C:\Program Files\GnuCash\gnucash-cli.exe" -V --quotes dump
> nseindia
> > RELIANCE
> >
> > OR
> >
> > you can also open a command prompt and change directory to C:\Program
> > Files\GnuCash end then just run the command without the full path name
> i.e.
> > gnucash-cli.exe -V --quotes dump nseindia RELIANCE
> >
> > Cheers David H.
>

-- 
_
Richard Losey
rlo...@gmail.com
Micah 6:8
___
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] Finance quote not working

2023-08-07 Thread Murugan Muruganandam
Paras

just a thought, if you had been using Yahoo earlier, the symbol was RELIANCE.NS 
, if you use nseindia you remove the .NS from symbol




Saludos Cordiales


Murugan


From: gnucash-user 
 on behalf of 
David H 
Sent: Monday, August 7, 2023 5:05 PM
To: Paras Desai 
Cc: gnucash-user@gnucash.org ; list+gnuc...@jdlh.com 

Subject: Re: [GNC] Finance quote not working

Paras,

How have you set up the security editor entry for RELIANCE in your gnucash
file. I have set it up in my file as follows and it returns the same price
details as gnucash-cli without error.

Cheers David H.

[image: image.png]

On Tue, 8 Aug 2023 at 00:02, Paras Desai  wrote:

> Hello Jin and all friends
>
> Thanks for your kind help and suggestion in running command prompt.
> GnuCash was installed in F drive and I forgot that, so the error message
> was coming,
>
> I ran the command prompt, and it threw the result for RELIANCE, FOR
> EXAMPLE, as below. So the Finance quote works, but integrated Finance
> quote in GnuCash does not. What could be the next step?
>
> Thank you.
>
> Paras
>
>
>   close => 2523.85
>symbol => RELIANCE
> prevclose => 2509.55
>  open => 2521
>   low => 2505
>  last => 2523.5
>   isodate => 2023-08-07
>method => nseindia
>  exchange => NSE
>  high => 2528.4
>   success => 1
>  currency => INR
>  date => 08/07/2023
> ___
> 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] Today's search....for .lck

2023-08-07 Thread Adrien Monteleone
Yeah, I'm suspecting the "can't write to file" message is when trying to 
save the file back to its original location which is under a different 
user than the one who's desktop is front and center at that moment.


But we'll need that error message screenshot to confirm.

And then there is the obvious backup file(s) mess to clean up. And as 
you note, that will likely involve copying files from one user to 
another and correcting their permissions accordingly. (before any 
cleanup within GnuCash itself!)


I'm not versed on such, but I'm sure someone here is.

Regards,
Adrien


p.s. — I used to use Gmail for this list till I discovered the same 
problem so I switched to an account provided by my ISP and it has been a 
few years with no issues. (though I now use the list via gmane. And that 
reminds me, I'm long overdue for a wiki write up for gmane I promised!)


On 8/7/23 4:23 PM, David Carlson wrote:

Wow.  I just went to the archives of this list and discovered that not all
the messages were appearing in my Gmail folder.  Specifically there was a
reply to my first message about providing a path/filename where you
provided

C:\users\administrato\documents is where the only one which "fits" i.e.
where GNU FEB 12 2019.gnucash is. There are literally hundreds of others

to which Adrien has now responded.  He correctly suggests that is a major
part of your problem, and begins to work on a solution. For some reason
that message from you is not in my Gmail, but that is a completely
different problem that is for another place.

Presumably administrato is your root user name with different rights than
your ordinary Barry Mahon user name.  Part of the untangling will be to
aggregate everything under one user name, preferably without root rights.
I am not qualified to help you with that.





___
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] Today's search....for .lck

2023-08-07 Thread David Carlson
Wow.  I just went to the archives of this list and discovered that not all
the messages were appearing in my Gmail folder.  Specifically there was a
reply to my first message about providing a path/filename where you
provided

C:\users\administrato\documents is where the only one which "fits" i.e.
where GNU FEB 12 2019.gnucash is. There are literally hundreds of others

to which Adrien has now responded.  He correctly suggests that is a major
part of your problem, and begins to work on a solution. For some reason
that message from you is not in my Gmail, but that is a completely
different problem that is for another place.

Presumably administrato is your root user name with different rights than
your ordinary Barry Mahon user name.  Part of the untangling will be to
aggregate everything under one user name, preferably without root rights.
I am not qualified to help you with that.



-- 
David Carlson
___
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] Today's search....for .lck

2023-08-07 Thread Adrien Monteleone

Barry,

At one point you advised you had GnuCash files in:

C:\Users\Barry Mahon\Documents\Tax accounts and returns\

now, you are saying it is:

C:\users\administrato\documents

These are 2 separate locations and two separate 'users' on this machine.

Where do you *think* your GnuCash file is supposed to be? (full 
qualified path please)


And what do you *think* its file name is supposed to be? (just the file 
name here is fine)


And for completeness, can you trigger that 'cannot write to file' 
warning that you originally reported, and send us a screenshot?


Thanks.

Regards,
Adrien

On 8/7/23 10:56 AM, Mahon Finbar via gnucash-user wrote:
 is where the only one which "fits" i.e. 
where GNU FEB 12 2019.gnucash is. There are literally hundreds of others


On 07/08/2023 17:33, David Carlson wrote:

What is the complete path/filename for the files?


___
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] Finance quote not working

2023-08-07 Thread David H
Paras,

How have you set up the security editor entry for RELIANCE in your gnucash
file. I have set it up in my file as follows and it returns the same price
details as gnucash-cli without error.

Cheers David H.

[image: image.png]

On Tue, 8 Aug 2023 at 00:02, Paras Desai  wrote:

> Hello Jin and all friends
>
> Thanks for your kind help and suggestion in running command prompt.
> GnuCash was installed in F drive and I forgot that, so the error message
> was coming,
>
> I ran the command prompt, and it threw the result for RELIANCE, FOR
> EXAMPLE, as below. So the Finance quote works, but integrated Finance
> quote in GnuCash does not. What could be the next step?
>
> Thank you.
>
> Paras
>
>
>   close => 2523.85
>symbol => RELIANCE
> prevclose => 2509.55
>  open => 2521
>   low => 2505
>  last => 2523.5
>   isodate => 2023-08-07
>method => nseindia
>  exchange => NSE
>  high => 2528.4
>   success => 1
>  currency => INR
>  date => 08/07/2023
> ___
> 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] Today's search....for .lck

2023-08-07 Thread David Carlson
In my earlier email I suggested that you tell us the complete path/filename
for those files.  Windows likes to foreshorten them in some cases,
especially if there are external drives involved.  I should have said
complete unqualified path/filename in case the path names have been
shortened to stay under the character count limit or to identify an
external drive.

On Mon, Aug 7, 2023 at 3:17 PM Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

> First, for attachment images, they need to be 'as attachment' and *not*
> inline.
>
> That is, in your e-mail app, attach the screenshot. Do not just paste it
> into the message mixed in with the text.
>
> You may also have a setting in your e-mail app for this to toggle
> between 'inline' and 'attachment'. For the mailing list - you *do not*
> want 'inline'. (the mailing list software will simply strip them out of
> the message)
>
> Second, if you say there are hundreds of files, a screenshot isn't going
> to cut it anyway. (it would take many screenshots)
>
> I'm not well versed on Windows command line, so without me spending time
> looking it up, maybe someone else who knows off the top of their head
> can advise a command that will export your file list to a text file that
> you can attach here. Of course, you'd want to use whatever options are
> available to include the original creation date & time, as well as a
> last modified date & time. (those can be shown or not shown as desired)
>
>  From that list, we should be able to reasonably guess which is your
> latest file (or maybe even several candidates for it) and then you can
> open them and confirm.
>
> I suspect though, that you have a condition where there are transactions
> in one file that aren't in another, and vice versa. And this may involve
> more than 2 files. You'll have to decipher that for yourself once you
> figure out the file situation, and then we can proceed with helping you
> consolidate them into one book.
>
> Lastly, it would be good to get a handle on how this happened in the
> first place, so the problem doesn't continue to compound.
>
> But I too don't think you lost any data unless you started deleting
> .gnucash files without backups. (.lck files aren't necessarily a problem)
>
> .gcm files store some preferences for each book. It would be best not to
> lose those for now, but losing them wouldn't be data lost.
>
> Regards,
> Adrien
>
> On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote:
> > Thank you for that. However, a file search for any file of that
> > structure only delivers 1 dated 18.02.2022, which I have mentioned in an
> > earlier post is the date on my 'currently loaded' file which won't save.
> >
> > There are a number of files with .GCM and number with LCK dated 2021,
> > others with .log, many more (recent ones) with shortcut.
>
> What do you mean by 'shortcut'? They are pointing to other gnucash files
> in some other location? This is concerning...
>
> >
> > All the rest are datestamped.
> >
> > You can see why I am confused and very worried that I have lost all the
> > recent data.
> >
> > Thanks to all for the help and advice. I feel stupid, I thought I was
> > reasonably capable in IT, but..
> >
> > I even have problems creating  the proper . versions for uploading.
> > 'save as' doesn't seem to be working.
>
> ___
> 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.
>


-- 
David Carlson
___
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] Finance quote not working

2023-08-07 Thread John Ralls



> On Aug 7, 2023, at 7:01 AM, Paras Desai  wrote:
> 
> Hello Jin and all friends
> 
> Thanks for your kind help and suggestion in running command prompt. GnuCash 
> was installed in F drive and I forgot that, so the error message was coming,
> 
> I ran the command prompt, and it threw the result for RELIANCE, FOR EXAMPLE, 
> as below. So the Finance quote works, but integrated Finance quote in GnuCash 
> does not. What could be the next step?
> 
> Thank you.
> 
> Paras
> 
> 
>  close => 2523.85
>   symbol => RELIANCE
>prevclose => 2509.55
> open => 2521
>  low => 2505
> last => 2523.5
>  isodate => 2023-08-07
>   method => nseindia
> exchange => NSE
> high => 2528.4
>  success => 1
> currency => INR
> date => 08/07/2023
> 

Paras,

GnuCash and gnucash-cli use the same code for Finance::Quote integration, so 
it's not that. You reported that updating your book worked until 26 July, so 
something must have changed around that day. Do you remember changing anything, 
like updating GnuCash or Finance::Quote, that might offer a clue?

There may be an error in your tracefile (see 
https://wiki.gnucash.org/wiki/Tracefile) that explains why the prices aren't 
being updated.

When trying to retrieve quotes in the GUI are you getting the message box 
saying that it couldn't retrieve quotes for some stocks followed by a list of 
stocks that fail?

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] Today's search....for .lck

2023-08-07 Thread Adrien Monteleone
First, for attachment images, they need to be 'as attachment' and *not* 
inline.


That is, in your e-mail app, attach the screenshot. Do not just paste it 
into the message mixed in with the text.


You may also have a setting in your e-mail app for this to toggle 
between 'inline' and 'attachment'. For the mailing list - you *do not* 
want 'inline'. (the mailing list software will simply strip them out of 
the message)


Second, if you say there are hundreds of files, a screenshot isn't going 
to cut it anyway. (it would take many screenshots)


I'm not well versed on Windows command line, so without me spending time 
looking it up, maybe someone else who knows off the top of their head 
can advise a command that will export your file list to a text file that 
you can attach here. Of course, you'd want to use whatever options are 
available to include the original creation date & time, as well as a 
last modified date & time. (those can be shown or not shown as desired)


From that list, we should be able to reasonably guess which is your 
latest file (or maybe even several candidates for it) and then you can 
open them and confirm.


I suspect though, that you have a condition where there are transactions 
in one file that aren't in another, and vice versa. And this may involve 
more than 2 files. You'll have to decipher that for yourself once you 
figure out the file situation, and then we can proceed with helping you 
consolidate them into one book.


Lastly, it would be good to get a handle on how this happened in the 
first place, so the problem doesn't continue to compound.


But I too don't think you lost any data unless you started deleting 
.gnucash files without backups. (.lck files aren't necessarily a problem)


.gcm files store some preferences for each book. It would be best not to 
lose those for now, but losing them wouldn't be data lost.


Regards,
Adrien

On 8/7/23 10:03 AM, Mahon Finbar via gnucash-user wrote:
Thank you for that. However, a file search for any file of that 
structure only delivers 1 dated 18.02.2022, which I have mentioned in an 
earlier post is the date on my 'currently loaded' file which won't save.


There are a number of files with .GCM and number with LCK dated 2021, 
others with .log, many more (recent ones) with shortcut.


What do you mean by 'shortcut'? They are pointing to other gnucash files 
in some other location? This is concerning...




All the rest are datestamped.

You can see why I am confused and very worried that I have lost all the 
recent data.


Thanks to all for the help and advice. I feel stupid, I thought I was 
reasonably capable in IT, but..


I even have problems creating  the proper . versions for uploading. 
'save as' doesn't seem to be working.


___
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] Today's search....for .lck

2023-08-07 Thread Maf. King
On Monday, 7 August 2023 16:03:22 BST Mahon Finbar via gnucash-user wrote:

> 
> You can see why I am confused and very worried that I have lost all the
> recent data.
> 


You probably haven't lost work, at least not before the last successful 
save. the problem comes in finding the work you've done.


Can you sort your directory of files in a date order. not filename or GC 
timestamps, but the "date last modified" or something similar?

The "most recently saved file" will be the point where GC stopped working for 
whatever reason, that we still need to get to the bottom of, once you have a 
useable datafile to hand.

This thread does seem to be all over the place with various issues at the 
moment!

HTH,
Maf.





___
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] Today's search....for .lck

2023-08-07 Thread Mahon Finbar via gnucash-user
C:\users\administrato\documents is where the only one which "fits" i.e. 
where GNU FEB 12 2019.gnucash is. There are literally hundreds of others


On 07/08/2023 17:33, David Carlson wrote:

What is the complete path/filename for the files?

On Mon, Aug 7, 2023, 10:04 AM Mahon Finbar via gnucash-user 
 wrote:


Thank you for that. However, a file search for any file of that
structure only delivers 1 dated 18.02.2022, which I have mentioned
in an
earlier post is the date on my 'currently loaded' file which won't
save.

There are a number of files with .GCM and number with LCK dated 2021,
others with .log, many more (recent ones) with shortcut.

All the rest are datestamped.

You can see why I am confused and very worried that I have lost
all the
recent data.

Thanks to all for the help and advice. I feel stupid, I thought I was
reasonably capable in IT, but..

I even have problems creating  the proper . versions for
uploading.
'save as' doesn't seem to be working.

Barry

On 07/08/2023 13:17, Michael Hendry wrote:
> On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user
 wrote:
>
>> OK, lets try to get to the bottom of this.
>>
>> When I say I have had issues, I am unaware that I should not
take the suggestion of 'open anyway' unless
>>
>> I have tried several times to get an answer to why I have had
this issue, and what  to do about it.
>>
>> I think I said in the OP that the message I have been getting
about not having rights was not the first 'save' but I think I may
have had finger problems, around then, as I said in the OP.
>>
>> I will try, again, to send the list of files, I thought I had
created a jpg.
>>
>> For information, the file  that opens today when I start
Gnucash is -
>>
>> GNU FEB 12 2019.gnucash.20230730134528 If that is the date and
time for the file I had open it coincides with my recollection of
the date and time I was working when the message 'could not write
to file, etc., arose.
> That is a backup file (identifiable from the time-stamp at the
end. It looks as though the file you should have opened is:
>
> GNU FEB 12 2019.gnucash
>
> Regards,
>
> Michael
___
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] Today's search....for .lck

2023-08-07 Thread David Carlson
What is the complete path/filename for the files?

On Mon, Aug 7, 2023, 10:04 AM Mahon Finbar via gnucash-user <
gnucash-user@gnucash.org> wrote:

> Thank you for that. However, a file search for any file of that
> structure only delivers 1 dated 18.02.2022, which I have mentioned in an
> earlier post is the date on my 'currently loaded' file which won't save.
>
> There are a number of files with .GCM and number with LCK dated 2021,
> others with .log, many more (recent ones) with shortcut.
>
> All the rest are datestamped.
>
> You can see why I am confused and very worried that I have lost all the
> recent data.
>
> Thanks to all for the help and advice. I feel stupid, I thought I was
> reasonably capable in IT, but..
>
> I even have problems creating  the proper . versions for uploading.
> 'save as' doesn't seem to be working.
>
> Barry
>
> On 07/08/2023 13:17, Michael Hendry wrote:
> > On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user <
> gnucash-user@gnucash.org> wrote:
> >
> >> OK, lets try to get to the bottom of this.
> >>
> >> When I say I have had issues, I am unaware that I should not take the
> suggestion of 'open anyway' unless
> >>
> >> I have tried several times to get an answer to why I have had this
> issue, and what  to do about it.
> >>
> >> I think I said in the OP that the message I have been getting about not
> having rights was not the first 'save' but I think I may have had finger
> problems, around then, as I said in the OP.
> >>
> >> I will try, again, to send the list of files, I thought I had created a
> jpg.
> >>
> >> For information, the file  that opens today when I start Gnucash is -
> >>
> >> GNU FEB 12 2019.gnucash.20230730134528 If that is the date and time for
> the file I had open it coincides with my recollection of the date and time
> I was working when the message 'could not write to file, etc., arose.
> > That is a backup file (identifiable from the time-stamp at the end. It
> looks as though the file you should have opened is:
> >
> > GNU FEB 12 2019.gnucash
> >
> > Regards,
> >
> > Michael
> ___
> 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] Today's search....for .lck

2023-08-07 Thread Mahon Finbar via gnucash-user
Thank you for that. However, a file search for any file of that 
structure only delivers 1 dated 18.02.2022, which I have mentioned in an 
earlier post is the date on my 'currently loaded' file which won't save.


There are a number of files with .GCM and number with LCK dated 2021, 
others with .log, many more (recent ones) with shortcut.


All the rest are datestamped.

You can see why I am confused and very worried that I have lost all the 
recent data.


Thanks to all for the help and advice. I feel stupid, I thought I was 
reasonably capable in IT, but..


I even have problems creating  the proper . versions for uploading. 
'save as' doesn't seem to be working.


Barry

On 07/08/2023 13:17, Michael Hendry wrote:

On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user 
 wrote:


OK, lets try to get to the bottom of this.

When I say I have had issues, I am unaware that I should not take the 
suggestion of 'open anyway' unless

I have tried several times to get an answer to why I have had this issue, and 
what  to do about it.

I think I said in the OP that the message I have been getting about not having 
rights was not the first 'save' but I think I may have had finger problems, 
around then, as I said in the OP.

I will try, again, to send the list of files, I thought I had created a jpg.

For information, the file  that opens today when I start Gnucash is -

GNU FEB 12 2019.gnucash.20230730134528 If that is the date and time for the 
file I had open it coincides with my recollection of the date and time I was 
working when the message 'could not write to file, etc., arose.

That is a backup file (identifiable from the time-stamp at the end. It looks as 
though the file you should have opened is:

GNU FEB 12 2019.gnucash

Regards,

Michael

___
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] Finance quote not working

2023-08-07 Thread Paras Desai

Hello Jin and all friends

Thanks for your kind help and suggestion in running command prompt. 
GnuCash was installed in F drive and I forgot that, so the error message 
was coming,


I ran the command prompt, and it threw the result for RELIANCE, FOR 
EXAMPLE, as below. So the Finance quote works, but integrated Finance 
quote in GnuCash does not. What could be the next step?


Thank you.

Paras


 close => 2523.85
  symbol => RELIANCE
   prevclose => 2509.55
    open => 2521
 low => 2505
    last => 2523.5
 isodate => 2023-08-07
  method => nseindia
    exchange => NSE
    high => 2528.4
 success => 1
    currency => INR
    date => 08/07/2023
___
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] Today's search....for .lck

2023-08-07 Thread Michael or Penny Novack

On 8/7/2023 5:59 AM, Mahon Finbar via gnucash-user wrote:
BTW, forgot to mention, the date of the last transaction in the file 
that I mentioned that opens, is in 2022!!


I certainly have been updating my records since then.

Barry 



You perhaps might have noticed discussions here about keeping books for 
multiple entities. That of course means each would have its own file 
(different filenames, ideally in different directories (file folders).


By the same token, it is possible to have multiple files for the same 
entity, either intentionally* or accidentally.


 IF, when you open your books under gnucash all you see are old 
transactions (you know you have been entering transactions with 
effective dates later than that) you probably have accidentally created 
more than one file.


Having work habits to prevent this sort of thing is not strictly 
speaking a gnucash problem. If you were say writing a paper using your 
favorite word processor it would be important that you didn't end up 
with duplicate files (some of your editing done to one, some to the other)


Tell us, what is the NAME of your gnucash books and what directory (file 
folder) is it in. If you do not KNOW a unique answer to this question, 
then that is the first thing you need to find out.


Michael D Novack

* Not crazy -- might for example at the (effective) end of each year 
create a copy giving a name like Books.gnucash which could be marked 
"read only", multiple copies sent off site, into the custody of another 
officer of the organization, etc.



___
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] finance Quote Not working

2023-08-07 Thread Fred Bone
On 06 August 2023 at 16:40, Fross, Michael said:

> As an FYI, on my windows 11 installation, the default location where
> GNUCash installs itself is:
> 
> "C:\Program Files (x86)\gnucash"
> 
> and the full path to the CLI executable is:
> 
> "C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe"
> 
> For command line guys like me, these paths are just crazy

Microsoft doesn't want "command line guys" as customers ...


___
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] Upgrade to 4.14

2023-08-07 Thread Stan Brown (using GC 4.14)


Well, the spirit is willing, but as a practical matter I think it would
be better if someone more familiar with the website(s) did it. I've
never succeeded in forming a mental map of how the website(s) are
structured.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com/

On 2023-08-06 21:18, Adrien Monteleone wrote:
> That's good to know Stan.
> 
> That would be some good info for the FAQ on upgrading if you have the
> time to add it.
> 
> If not, maybe someone else here can.
> 
> Regards,
> Adrien
> 
> On 8/6/23 11:33 AM, Stan Brown (using GC 4.14) wrote:
>> On 2023-08-04 17:05, Stan Brown (using GC 2.6.21/3.11/4.14) wrote:
>>> The main point of this is a possible solution to a problem someone else
>>> reported a few days ago. [Namely, upgrading to 4.14 from 3.x, then
>>> running 4.14 and having GC not
>> open the last-used book. I'm in Windows 10 and Windows 11.]
>>
>> The solution I described on 4 August -- opening 4.14 for the first time,
>> getting the "you might like help setting up" message, closing 4.14 and
>> then reopening it -- worked on my virtual machine.
>>
>> When I moved files to my real PCs( desktop and laptop), I exported
>> %APPDATA%\GnuCash and HKCU\Software\GSettings from the virtual machine
>> and imported them to desktop real machine, _then_ installed 4.14.
>> Everything opened without a problem. I then repeated the process --
>> import files and Registry settings -- on my laptop, and again everything
>> opened properly.
___
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] Today's search....for .lck

2023-08-07 Thread Michael Hendry
On 7 Aug 2023, at 10:46, Mahon Finbar via gnucash-user 
 wrote:

> 
> OK, lets try to get to the bottom of this.
> 
> When I say I have had issues, I am unaware that I should not take the 
> suggestion of 'open anyway' unless
> 
> I have tried several times to get an answer to why I have had this issue, and 
> what  to do about it.
> 
> I think I said in the OP that the message I have been getting about not 
> having rights was not the first 'save' but I think I may have had finger 
> problems, around then, as I said in the OP.
> 
> I will try, again, to send the list of files, I thought I had created a 
> jpg.
> 
> For information, the file  that opens today when I start Gnucash is -
> 
> GNU FEB 12 2019.gnucash.20230730134528 If that is the date and time for the 
> file I had open it coincides with my recollection of the date and time I was 
> working when the message 'could not write to file, etc., arose.

That is a backup file (identifiable from the time-stamp at the end. It looks as 
though the file you should have opened is:

GNU FEB 12 2019.gnucash

Regards,

Michael
___
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] Today's search....for .lck

2023-08-07 Thread Mahon Finbar via gnucash-user
BTW, forgot to mention, the date of the last transaction in the file 
that I mentioned that opens, is in 2022!!


I certainly have been updating my records since then.

Barry

On 06/08/2023 18:12, Adrien Monteleone wrote:

On 8/6/23 6:23 AM, Mahon Finbar via gnucash-user wrote:

Quite correct

For a very long time I have had an issue that when I click the app, 
it loads, but after the perl stuff it says"cannot find the file - 
open anyway?" 
The lock file message occurs when there is a lock file (.lck) on the 
last used file.


Lock files are created when GnuCash opens a file and they are deleted 
when GnuCash cleanly exits.


Thus, the presence of a lock file means one of two things:

1. The file is indeed open already. (maybe the app is minimized, or 
maybe the window for it is on an external monitor)


2. GnuCash did not cleanly shut down the last time it was used and the 
lock file remained.


Only if you know for a fact that you are dealing with case #2 is it 
okay to proceed with "open anyway".


From time to time, seemingly randomly, it opens the (presumably last 
used) file and away I go. 


I don't think I've ever seen GnuCash continue to do anything unless 
I've chosen an option from the lockscreen warning. If you are 
observing different behavior, I'd call that a bug.



I am always careful.


Apparently not if you 'presume' the file that gets opened is the last 
used one without making sure. (the file name is in the window title 
bar) And by the names and counts of the files you've provided so far, 
it indeed wasn't the last used file, but a backup. And this has 
happened many times.


But no matter. While you weren't very clear, It appears you are 
opening the app via an app shortcut, and NOT double-clicking the data 
file. If you instead double-click the file, please advise.


Let's move on to cleaning this up. It looks like you started yet 
another thread (not sure why) with a screenshot showing a File 
Explorer list, but it didn't come through. If you can get that 
screenshot to upload (JPG, BMP should work) and we can see the full 
file list with modified and created dates, we can help you sort the mess.


Regards,
Adrien

___
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] Today's search....for .lck

2023-08-07 Thread Mahon Finbar via gnucash-user

OK, lets try to get to the bottom of this.

When I say I have had issues, I am unaware that I should not take the 
suggestion of 'open anyway' unless


I have tried several times to get an answer to why I have had this 
issue, and what  to do about it.


I think I said in the OP that the message I have been getting about not 
having rights was not the first 'save' but I think I may have had finger 
problems, around then, as I said in the OP.


I will try, again, to send the list of files, I thought I had created a 
jpg.


For information, the file  that opens today when I start Gnucash is -

GNU FEB 12 2019.gnucash.20230730134528 If that is the date and time for 
the file I had open it coincides with my recollection of the date and 
time I was working when the message 'could not write to file, etc., arose.


As you said there are multiple files opened since.

Barry


On 06/08/2023 18:12, Adrien Monteleone wrote:

On 8/6/23 6:23 AM, Mahon Finbar via gnucash-user wrote:

Quite correct

For a very long time I have had an issue that when I click the app, 
it loads, but after the perl stuff it says"cannot find the file - 
open anyway?" 
The lock file message occurs when there is a lock file (.lck) on the 
last used file.


Lock files are created when GnuCash opens a file and they are deleted 
when GnuCash cleanly exits.


Thus, the presence of a lock file means one of two things:

1. The file is indeed open already. (maybe the app is minimized, or 
maybe the window for it is on an external monitor)


2. GnuCash did not cleanly shut down the last time it was used and the 
lock file remained.


Only if you know for a fact that you are dealing with case #2 is it 
okay to proceed with "open anyway".


From time to time, seemingly randomly, it opens the (presumably last 
used) file and away I go. 


I don't think I've ever seen GnuCash continue to do anything unless 
I've chosen an option from the lockscreen warning. If you are 
observing different behavior, I'd call that a bug.



I am always careful.


Apparently not if you 'presume' the file that gets opened is the last 
used one without making sure. (the file name is in the window title 
bar) And by the names and counts of the files you've provided so far, 
it indeed wasn't the last used file, but a backup. And this has 
happened many times.


But no matter. While you weren't very clear, It appears you are 
opening the app via an app shortcut, and NOT double-clicking the data 
file. If you instead double-click the file, please advise.


Let's move on to cleaning this up. It looks like you started yet 
another thread (not sure why) with a screenshot showing a File 
Explorer list, but it didn't come through. If you can get that 
screenshot to upload (JPG, BMP should work) and we can see the full 
file list with modified and created dates, we can help you sort the mess.


Regards,
Adrien

___
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.