Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4162 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лют. 19
2801
1
квіт. 23
5332
2
бер. 23
2511
1
груд. 22
4772
2
серп. 21
4362