執行
python odoo-bin --addons-path addons
出現
Traceback (most recent call last):
File "/Users/zhuzhu/odoo/odoo-bin", line 8, in <module>
odoo.cli.main()
File "/Users/zhuzhu/odoo/odoo/cli/command.py", line 61, in main
o.run(args)
File "/Users/zhuzhu/odoo/odoo/cli/server.py", line 178, in run
main(args)
File "/Users/zhuzhu/odoo/odoo/cli/server.py", line 172, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "/Users/zhuzhu/odoo/odoo/service/server.py", line 1299, in start
rc = server.run(preload, stop)
File "/Users/zhuzhu/odoo/odoo/service/server.py", line 512, in run
self.start(stop=stop)
File "/Users/zhuzhu/odoo/odoo/service/server.py", line 452, in start
set_limit_memory_hard()
File "/Users/zhuzhu/odoo/odoo/service/server.py", line 83, in set_limit_memory_hard
resource.setrlimit(rlimit, (config['limit_memory_hard'], hard))
ValueError: current limit exceeds maximum limit
求解