On 25/02/2010 15:18, Michael M Mason wrote:
ALAN GAULD wrote on 25 February 2010 at 08:50:-
So I think that was a red herring, sorry.
It also looks like the Read Only check box in the main
Explorer property dialog tab doesn't mean what it says...
Doesn't the Read Only checkbox have a coloured
ALAN GAULD wrote on 25 February 2010 at 08:50:-
> So I think that was a red herring, sorry.
> It also looks like the Read Only check box in the main
> Explorer property dialog tab doesn't mean what it says...
Doesn't the Read Only checkbox have a coloured square rather than
a tick?
AFAIK the col
2010/2/25 ALAN GAULD
>
> > What should be the correct folder then?
>
> I don't know! To be honest I was surprised by the result too.
> Personally I tend to either use the application folder or the registry.
> But the app folder doesn't work for user specific settings unless
> you have a separate
> > It is on Windows XP, and in the logfile it says it uses the directory:
> > C:\Documents and Settings\user\Application Data\myapp
> >
> > That directory should always be writeable for the user, no?
> >
> > Not on my PC its Read Only
> >
> > And I have administrator rights.
On 25-02-10 00:03, ALAN GAULD wrote:
Does the file actually exist where you say it does?
It doesn't need to exist, it will be created if it isn't found.
Of course I should have known that!
It points to the path/folder then...
It is on Windows XP, and in the logfile it says it uses the
On Wed, 24 Feb 2010 09:38:56 +0100
Timo wrote:
> Hello all, my program uses SQLite as database and everything worked fine
> until now.
> I have over 3000 downloads of my program, but I got 2 mails this week
> from people who get this error:
>
> OperationalError: unable to open database file
>
"Timo" wrote
OperationalError: unable to open database file
Does the file actually exist where you say it does?
# This will return: C:\Documents and Settings\user\Application Data\myapp
PREFDIR = os.path.join(os.environ['APPDATA'], 'myapp')
Do you check that APPDATA is actually set?
#
Timo wrote:
Hello all, my program uses SQLite as database and everything worked
fine until now.
I have over 3000 downloads of my program, but I got 2 mails this week
from people who get this error:
OperationalError: unable to open database file
I searched the net, and all problems seem to be