[Ilugc] Python error starting OpenERP 6.1 RC1 on Centos 6.2

  • From: vkslist@xxxxxxxxx (VK Sameer)
  • Date: Tue, 24 Jan 2012 00:47:01 +0000 (UTC)

Hi,

Request for help from Pythonistas and/or OpenERP users. I'm trying to install
OpenERP 6.1RC1 (http://nightly.openerp.com/6.1/release/openerp-6.1rc1.tar.gz) on
Centos 6.2 using Python 2.6 and get this very weird error:

python: Python/compile.c:3437: stackdepth_walk: Assertion `depth >= 0' failed.
Aborted

I've posted more details in the OpenERP forum:
http://www.openerp.com/forum/topic30304.html

It looks like there is a problem with openerp/addons/base/ir/ir_model.py, but
adding:

import pdb; pdb.set_trace()

to that file did not give more details about the offending line(s). Trying:

python openerp/addons/base/ir/ir_model.py

didn't work either since I'm not able to set PYTHONPATH correctly to import the
openerp module. There is no openerp.py - maybe the __init__.py or something else
in the openerp directory creates it automagically? But, adding that directory to
PYTHONPATH didn't seem to help.

There is a rumour that OpenERP's setup.py can be used to find and install the
needed dependencies as well. I tried installing them from EPEL rpms, but am
unsure if pip or easy_install would be better. Uninstalling the rpms and 
running 

setup.py --dry-run install

didn't do the trick as I'd been told.

Any pointers?

Regards,
Sameer 



Other related posts: