September 5th, 2013, 03:32 AM
I would like to ask a question that may seem a little off-topic but since it is related to Python and I really cannot solve it - I thought to try to ask for some help here.
I have installed OpenERP, an open source ERP software and then I installed an extension for connecting it to Magento. But when I configure it and try to connect them, I am getting and error that says:
"File "/opt/openerp/v7/server/openerp/modules/registry.py", line 102, in __getitem__
This is the function in the registry.py file:
"def __getitem__(self, model_name):
""" Return a model for a given name or raise KeyError if it doesn't exist."""
Any help is appreciated, thanks
September 5th, 2013, 07:47 AM
This could be a python version problem. Try again with python3.
Otherwise maybe it's an installation problem. The function raised a KeyError because the model doesn't exist.
[/code] are essential for python code and Makefiles!