On 2016-03-11 16:24, Manipal Singh wrote:
> I was creating database by using 
> sqlite mydb.sqlite

It doesn't create a database if you don't alter the schema.

> creating it using *touch* command gives me these 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 115, in run
>     Pool(db_name).init(update=self.options.update, lang=lang)
>   File 
> "/home/manipalsingh/Documents/github/tryton/trytond/trytond/pool.py", line 
> 155, in init
>     lang=lang)
>   File 
> "/home/manipalsingh/Documents/github/tryton/trytond/trytond/modules/__init__.py",
>  
> line 419, in load_modules
>     _load_modules()
>   File 
> "/home/manipalsingh/Documents/github/tryton/trytond/trytond/modules/__init__.py",
>  
> line 415, in _load_modules
>     Cache.resets(database_name)
>   File 
> "/home/manipalsingh/Documents/github/tryton/trytond/trytond/cache.py", line 
> 114, in resets
>     [[CurrentTimestamp(), name]]))
> sqlite3.OperationalError: database is locked

Indeed it is a bug introduced recently in the trunk:
https://bugs.tryton.org/issue5388
You should probably use postgresql backend in the meantime.

-- 
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/20160312091005.GJ25642%40tetsuo.

Reply via email to