On 2016-03-11 15:49, Manipal Singh wrote: > When I create use a database having .sqlite extension in its name I'm > getting this error: > Traceback (most recent call last): > File "./bin/trytond", line 80, in <module> > server.TrytonServer(options).run() > File > "/home/manipalsingh/Documents/github/tryton/trytond/trytond/server.py", > line 91, in run > database.init() > File > "/home/manipalsingh/Documents/github/tryton/trytond/trytond/backend/sqlite/database.py", > > line 337, in init > cursor.execute(line) > sqlite3.DatabaseError: file is encrypted or is not a database > > How is it encrypted, because I just recreated database named mydb.sqlite > I have to create database in the path directory that I provided in > [database] in configuration file?I'm creating it there...
How do you create the database? Normally, you should just do: # touch mydb.sqlite And of course the data path should be a directory with write access. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20160312000354.GH25642%40tetsuo.