Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
2016-03-08 06:53:43,124 8058 INFO ? odooctl.subprocess.user_popen: running as uid 110: (['python', '-m', 'odooctl.db.admin', 'user_grant_createdb', 'odoo-idpro-test'],)
2016-03-08 06:53:43,180 8058 INFO ? odooctl.subprocess.user_popen: running as uid 997: (['python', '-m', 'odooctl.main', 'init', '--config', '/etc/odoo/profiles/idpro-test.conf', '-i', 'gv_demo_data', '--force-drop-db'],)
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/odooctl/main.py", line 64, in <module>
exit(run_main())
File "/usr/local/lib/python2.7/dist-packages/odooctl/main.py", line 57, in run_main
return main(args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/main.py", line 53, in main
return parsed.func(parsed, args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/Base.py", line 8, in f
o.dispatch(parsed_args, raw_args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/init/main.py", line 28, in dispatch
db = Database(parsed_args.config, new=False)
File "/usr/local/lib/python2.7/dist-packages/odooctl/db/db.py", line 8, in __init__
self.config = load(configf, new=new)
File "/usr/local/lib/python2.7/dist-packages/odooctl/openerp/config/load.py", line 11, in load
config.parse_config(['--config', configf])
File "/usr/lib/python2.7/dist-packages/openerp/tools/config.py", line 308, in parse_config
openerp.modules.module.initialize_sys_path()
File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 77, in initialize_sys_path
dd = tools.config.addons_data_dir
File "/usr/lib/python2.7/dist-packages/openerp/tools/config.py", line 560, in addons_data_dir
os.makedirs(d, 0700)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/odoo/idpro-test/.local/share'
2016-03-08 06:53:43,625 8058 INFO ? odooctl.subprocess.user_popen: running as uid 110: (['python', '-m', 'odooctl.db.admin', 'user_grant_nocreatedb', 'odoo-idpro-test'],)
Traceback (most recent call last):
File "/usr/local/bin/odooctl", line 4, in <module>
run_main()
File "/usr/local/lib/python2.7/dist-packages/odooctl/main.py", line 57, in run_main
return main(args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/main.py", line 53, in main
return parsed.func(parsed, args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/Base.py", line 8, in f
o.dispatch(parsed_args, raw_args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/init/main.py", line 60, in dispatch
__run_init()
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/init/main.py", line 41, in __run_init
ret = su(user, raw_args)
File "/usr/local/lib/python2.7/dist-packages/odooctl/cli/su.py", line 21, in su
return p.check_wait()
File "/usr/local/lib/python2.7/dist-packages/odooctl/subprocess/user_popen.py", line 72, in check_wait
None
subprocess.CalledProcessError: Command '(['python', '-m', 'odooctl.main', 'init', '--config', '/etc/odoo/profiles/idpro-test.conf', '-i', 'gv_demo_data', '--force-drop-db'],)' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.