Hi Massimo,
I have administrator access on the folder. The database is running a small web2py application that is crypted. Do I have to pass the crypt string to the db, or do I have to use administrator password in order to access it. I reach it by using SQLite Manager.. regards Martin On Thu, Nov 18, 2010 at 3:06 PM, mdipierro <[email protected]> wrote: > I think you do not have write access on this file/folder > > On Nov 18, 7:36 am, Ole Martin Maeland <[email protected]> wrote: > > Hi, > > > > I am trying to connect to sqlite db that works fine with a small web2py > > applicaiton. > > > > connection parameters: > > > > >>> dbfolder='C:\web2py\web2py\applications\teqb\databases' > > >>> db = dal.DAL('sqlite://storage', folder=dbfolder) > > > > error message: > > > > Traceback (most recent call last): > > File "<interactive input>", line 1, in <module> > > File "C:\Python27\lib\site-packages\gluon\dal.py", line 2031, in > __init__ > > self._logger = Logger(folder) > > File "C:\Python27\lib\site-packages\gluon\dal.py", line 140, in > __init__ > > self.file = open(os.path.join(folder,name),'a') > > IOError: [Errno 22] invalid mode ('a') or filename: > > 'C:\\web2py\\web2py\x07pplications\teqb\\databases\\sql.log' > > > > any ide how I could get this to work? > > > > regards > > Martin > -- Hilsen Ole Martin Mob: 95227471

