This question has been flagged
2 Replies
5726 Views

Hi there,

After many tries I'm no able to install Odoo 8 from github. I keep getting the following error. Anyone knows what I'm doing wrong?

Thanks a lot.

 

Traceback (most recent call last):

  File "./openerp-gevent", line 11, in <module>

    openerp.cli.main()

  File "/home/ubuntu/odoo/openerp/cli/__init__.py", line 71, in main

    o.run(args)

  File "/home/ubuntu/odoo/openerp/cli/server.py", line 174, in run

    main(args)

  File "/home/ubuntu/odoo/openerp/cli/server.py", line 139, in main

    openerp.tools.config.parse_config(args)

  File "/home/ubuntu/odoo/openerp/tools/config.py", line 327, in parse_config

    openerp.netsvc.init_logger()

  File "/home/ubuntu/odoo/openerp/netsvc.py", line 136, in init_logger

    resetlocale()

  File "/home/ubuntu/odoo/openerp/tools/translate.py", line 992, in resetlocale

    for ln in get_locales():

  File "/home/ubuntu/odoo/openerp/tools/translate.py", line 960, in get_locales

    lang = locale.getdefaultlocale()[0]

  File "/usr/lib/python2.7/locale.py", line 543, in getdefaultlocale

    return _parse_localename(localename)

  File "/usr/lib/python2.7/locale.py", line 475, in _parse_localename

    raise ValueError, 'unknown locale: %s' % localename

ValueError: unknown locale: UTF-8

Avatar
Discard

try running the following: sudo cp /etc/default/locale /etc/default/locale.BACKUP sudo rm -rf /etc/default/locale sudo touch /etc/default/locale sudo su root -c "echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale" sudo su root -c "echo 'LANG="en_US.UTF-8"' >> /etc/default/locale" sudo su root -c "echo 'LANGUAGE="en_US:en"' >> /etc/default/locale" sudo dpkg reconfigure-locales sudo shutdown -r now

Best Answer

I think that Odoo 8 yet not stable.

Avatar
Discard
Best Answer

Can you please tell me how you get this output? How did you start your service?

Interesting to know for me, as starting it via init.d script seems to work, but indeed, the service is not active, because no web interface access and when trying to stop it, a message appears that pid can not be killed because it does not exist... But I do not have any shell output... Configuration is allright, as I did it the same way I did it with v7 and v7 service starts perfectly.

 

Avatar
Discard