Dear all,

I created a module 'account_nl' for loading the account_nl.xml file.

I copied the "trytond_account_de_skr03-3.4.0" 

I made the necessary changes.
setup.py
tryton.cfg


Prepared my account_nl.xml file.

When i install the module I get the message :

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 161, in dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/wizard.py", line 249, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 280, in _execute
    result = self._execute(transition())
  File "/trytond/ir/module/module.py", line 525, in transition_upgrade
    pool.init(update=update, lang=lang)
  File "/trytond/pool.py", line 151, in init
    lang=lang)
  File "/trytond/modules/__init__.py", line 421, in load_modules
    _load_modules()
  File "/trytond/modules/__init__.py", line 383, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/trytond/modules/__init__.py", line 246, in load_module_graph
    tryton_parser.parse_xmlstream(fp)
  File "/trytond/convert.py", line 437, in parse_xmlstream
    self.sax_parser.parse(source)
  File "/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/xml/sax/expatreader.py", line 210, in feed
    self._parser.Parse(data, isFinal)
  File "/xml/sax/expatreader.py", line 304, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/trytond/convert.py", line 476, in startElement
    self.taghandler.startElement(name, attributes)
  File "/trytond/convert.py", line 220, in startElement
    self.values[field_name] = self.mh.get_id(ref_attr)
  File "/trytond/convert.py", line 518, in get_id
    % ".".join([module, xml_id]))
Exception: Reference to account_nl.nl not found


Seems something went wrong. Can someone tell me why it seems to be looking 
for account_nl.nl and not for account_nl.xml

regards
Danny

Reply via email to