تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4157 أدوات العرض

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.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 19
2799
1
أبريل 23
5326
2
مارس 23
2511
1
ديسمبر 22
4765
2
أغسطس 21
4362