I have a 7.0.3 install in a virtual environment and added new modules using pip install. After installing I upgraded the database, logged in as admin and activated the newly installed modules. Trying to activate account_stock_continental throws this error:
Traceback (most recent call last):
File "/trytond/convert.py", line 464, in parse_xmlstream
self.sax_parser.parse(source)
File "/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 416, in StartElement
File "/xml/sax/expatreader.py", line 333, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/trytond/convert.py", line 496, in startElement
self.taghandler.startElement(name, attributes)
File "/trytond/convert.py", line 258, in startElement
model, id_ = self.mh.get_id(ref_attr)
File "/trytond/convert.py", line 537, in get_id
raise ParsingError("%s.%s not found" % (module, xml_id))
trytond.convert.ParsingError: account.account_type_template_asset_current_bg not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 109, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 43, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 75, in wrapper
return func(request, *args, **kwargs)
File "/trytond/protocols/wrappers.py", line 197, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 196, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/wizard/wizard.py", line 340, in execute
result = wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 380, in _execute
result = self._execute(transition())
File "/trytond/ir/module.py", line 505, in transition_upgrade
pool.init(update=update, lang=lang)
File "/trytond/pool.py", line 167, in init
restart = not load_modules(
File "/trytond/modules/__init__.py", line 394, in load_modules
_load_modules(update)
File "/trytond/modules/__init__.py", line 357, in _load_modules
load_module_graph(graph, pool, update, lang)
File "/trytond/modules/__init__.py", line 208, in load_module_graph
tryton_parser.parse_xmlstream(fp)
File "/trytond/convert.py", line 466, in parse_xmlstream
raise ParsingError("in %s" % self.current_state()) from e
trytond.convert.ParsingError: in record 'account_stock_continental.account_type_template_asset_current_inventories_bg'
The last line points to a ‘bg’ problem. Could the problem be related to the fact that I have activated bulgarian language and that the module is not compatible with that?