Python KeyError

  • Thread starter Robert Gliguroski
  • Start date
R

Robert Gliguroski

Dear Sirs,

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__
return self.models[model_name]
KeyError: u'magento.instance'"

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."""
return self.models[model_name]
"

Any help is appreciated, thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top