Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6944 มุมมอง

When I run OpenERP Server I always see this error message in the terminal window:

/usr/local/lib/python2.6/dist-packages/Babel-0.9.6-py2.6.egg/babel/__init__.py:33: UserWarning: Module openerp was already imported from /home/merlin/openerp7/7.0/server/openerp/__init__.pyc, but /usr/local/lib/python2.6/dist-packages/openerp-7.0-py2.6.egg is being added to sys.path from pkg_resources import get_distribution, ResolutionError

How to solve this problem?

I have tried updating all my OS as well as checked out the latest code of OpenERP. But to no avail. I am running Ubuntu 10.04 LTS and OpenERP 7.0.

TIA

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

OpenERP is installed twice :

  1. /home/merlin/openerp7/7.0/server/
  2. /usr/local/lib/python2.6/dist-packages/openerp-7.0-py2.6.egg

Remove the wrong one and you won't get the error message.

อวตาร
ละทิ้ง
ผู้เขียน

Ok that is right. But I am not able to delete the package here: /usr/local/lib/python2.6/dist-packages/openerp-7.0-py2.6.egg. Will this error have any impact on OpenERP and its performance?

sudo rm PACKANEM -Rf

From: grsh (IRC)

คำตอบที่ดีที่สุด

I got a similar error while running openupgrade. I got past it by installing virtualenv and running the openupgrade script in its own isolated environment.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 22
3735
1
มี.ค. 15
5450
4
ธ.ค. 23
22199
2
ส.ค. 23
3349
4
พ.ค. 23
41271