Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4170 Prikazi

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
Opusti
Avtor Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
feb. 19
2811
1
apr. 23
5361
2
mar. 23
2516
1
dec. 22
4783
2
avg. 21
4368