Joined December 2013

Benoit C. Sirois


I saw this was possible but (as far as i could see) it required to manually configure the raspberry PI's network interface and set its gateway to the IP address network manager decides Ubuntu should have. So next (Ubuntu) reboot your PI might lose connectivity and you'll have to plug in a keyboard and monitor to update its network configuration.


How do I update OpenERP if I have followed this tutorial? How do I install Addon/Plugins from third party repo?

Updating OpenERP is not easy, OpenERP recommends to pay them so that they update it for you. I have thought of some possiblities by using SQLAlchemy or Django ORM Database inspector, but I am not sure it's viable.

How to I enable Live Chat / Instant Messaging functionality inside ERP?

Not sure.. one of the plugins I guess.

I did rm -fr /srv/openerp/openobject-addons But Now when I'm trying cd openerp bzr branch lp:openobject-addons /srv/openerp/openobject-addons directory is Blank

Technically cloning the bzr repository should just work.. are you sure that it finished getting the repo? (It takes a really long time) send me an email I might be able to help further: bclennett (at)

I may be completely wrong, and i'm not a routing expert but:

Ubuntu has a wrapper around network connections: network-manager. If you are running Ubuntu server, this wrapper is not really necessary, but it's useful if your home server is connected using wifi.

If your server is connected using rj45 cable, you can try.. maybe to sudo apt-get remove network-manager

Then you manually configure your /dev/eth0 interface, here's a typical ipv4 configuration (in /etc/network/interfaces )

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address # Your server's local IP address.
        gateway # Router's IP
        dns-nameservers # Router's IP, if router doesn't forward DNS, then you can specify your ISP's DNS server addresses.

Strange, I just tried to "pip install lxml" now in a virtualenv and it works as expected.

Are you in China? Can you try with a Chinese mirror? Try to install this way:

pip install --index-url lxml

Also regarding virtualenv:

  • Even if you don't use virtualenv, you will need to install via pypi or a pypi mirror
  • For python projects like this, most likely the apt-get install python-[package] will not get the needed version.
  • virtualenv is recommended because you can "isolate" your python environment to avoid conflicts, but you're right, it's not necessary. As you said, you can remove virtualenv in uwsgi, and install packages system-wide (use either pip or easy_install).

Good luck!

By the way, you might want to

$ apt-get remove python-lxml

Just to avoid conflicts with lxml installed in the virtualenv.

Ok maybe i've missed a step, try:

$ sudo su www-data
$ bash
$ cd /srv/openerp/openobject-server
$ source ../env/bin/activate
$ pip install lxml

Does that seem to fix it?

232 Karma
12,400 Total ProTip Views
Interests & Skills