İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4151 Görünümler

I downloaded a Debian 8 bitnami Odoo installation. Then I installed kde-standard
 and PyCharm.

I can't make PyCharm compile/run Odoo as it can't find how to import neither odoo nor controllers.

Neither I can find these files (odoo.py, controllers.py) in the installed sources, nor in the original tar source archive.

Can someone explain me what is wrong, please?

Thank you in advance.


Paolo Righi.

Avatar
Vazgeç
Üretici En İyi Yanıt

Hi,

i've solved the issue in the subject. I set wrongly the source folder path.

Now I'm facing the following error:

/usr/lib/python2.7/site-packages/lxml/etree.so: undefined symbol: PyUnicodeUCS2_DecodeASCII.

I checked the sys.maxunicode in python interactive mode and it is 65535 if I launch /opt/bitnami/python/bin/python, but it is 1114111 if I launch /usr/bin/python.

However I found in /home/bitnami/.PyCharmCE2017.2/system/python_stubs two file sys.py that set maxunicode to 1114111 and this is not coherent.

I couldn't find where PyUnicodeUCS2_* (or PyUnicodeUCS4_*) variables are defined (they should be in unicodeobjects.o but I can't find it, maybe in a library ...)


Can you help me, please?


Paolo Righi.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 19
2794
1
Nis 23
5317
2
Mar 23
2500
1
Ara 22
4756
2
Ağu 21
4359