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