Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53682 > unrolled thread

Python KeyError

Started byRobert Gliguroski <robert.gliguroski@gmail.com>
First post2013-09-05 01:37 -0700
Last post2013-09-06 13:16 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Python KeyError Robert Gliguroski <robert.gliguroski@gmail.com> - 2013-09-05 01:37 -0700
    Re: Python KeyError Ethan Furman <ethan@stoneleaf.us> - 2013-09-06 13:16 -0700

#53682 — Python KeyError

FromRobert Gliguroski <robert.gliguroski@gmail.com>
Date2013-09-05 01:37 -0700
SubjectPython KeyError
Message-ID<abbd9da6-00be-463e-b085-a45253e7fbca@googlegroups.com>
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

[toc] | [next] | [standalone]


#53810

FromEthan Furman <ethan@stoneleaf.us>
Date2013-09-06 13:16 -0700
Message-ID<mailman.137.1378500094.5461.python-list@python.org>
In reply to#53682
On 09/05/2013 01:37 AM, Robert Gliguroski wrote:
>
> 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:
>[snip]

You might try asking at either StackOverflow[0] or OpenERP's Q&A website[1].

[0] http://stackoverflow.com
[1] http://help.openerp.com

--
~Ethan~

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web