Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4146 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 19
2787
1
abr 23
5309
2
mar 23
2498
1
dic 22
4755
2
ago 21
4349