On Sun, 3 Dec 2017, John C Frain wrote:
I recently completed a clean reinstall of 64-bit Windows 10 1709 on
a
laptop. As part of the process I updated gretl to the current snapshot.
At the end of a session I am prompted to save a record of commands issued
which I wish to do. When I try to do so I get boxes with the following
messages
---------------------------------------------
gretl error
Failed to open file 'C:\Users\frain\AppData\Roaming\gretl\prntmp.NvmQJo':
Permission denied
Close
---------------------------------------------------
and when I close this box
---------------------------------------------------
gretl error
Error attempting to open file
Close
-----------------------------------------------------
I also used windows update to update a tablet computer to 32-bit Windows 10
1709. After the update 32-bit gretl2017d appeared to run without the
problem. I downloaded and installed the snapshot version yesterday. The
session record problem now appeared on the 32-bit tablet. I uninstalled
the snapshot version and reinstalled the 2107d version but now the problem
is in the 2107d version.
I have also uninstalled the 64-bit version (using the supplied uninstall
program) and reinstalled the 64-bit 2107d version and still have the
problem.
I should say that there is no obvious problem with the
'C:\Users\frain\AppData\Roaming\gretl\' directory. The file
'prntmp.NvmQJo' has only the archive attribute set. Also I was able to
copy the messages to a text file in the directory. I have been unable to
copy or open the 'prntmp.NvmQJo' and when I close gretl the file
vanishes. I presume that the file is a temporary file containing the
instructions issued during the session.
This problem sounds to be more "random" (though presumably in fact
deterministic) than version-related. I can't think of anything
relevant that has been changed lately.
Windows gives a sharing violation if you try to open a given file,
for reading or writing, more than once at a time; I think that's the
most likely source of the problem. Can you tell us what was going on
before you tried to save the record of commands: just
point-and-click? or using the gretl console? or working via the
script editor?
Allin