# Error activating account\_stock\_continental

**URL:** https://discuss.tryton.org/t/error-activating-account-stock-continental/6840
**Category:** System Administrator
**Created:** [January 5, 2024, 8:04am UTC](https://discuss.tryton.org/t/error-activating-account-stock-continental/6840 "2024-01-05T08:04:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![efe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/efe/32/2555_2.png) [@efe](https://discuss.tryton.org/u/efe)
#### Post date: [January 5, 2024, 8:04am UTC](https://discuss.tryton.org/t/error-activating-account-stock-continental/6840/1 "2024-01-05T08:04:35Z")

</div>

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:

```auto
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?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 5, 2024, 8:07am UTC](https://discuss.tryton.org/t/error-activating-account-stock-continental/6840/2 "2024-01-05T08:07:16Z")

</div>

See [Error in activating module account\_stock\_continental 6.4 (#11822) · Issues · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/issues/11822)

---

<div class="post-metadata">

### Author: ![efe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/efe/32/2555_2.png) [@efe](https://discuss.tryton.org/u/efe)
#### Post date: [January 5, 2024, 8:18am UTC](https://discuss.tryton.org/t/error-activating-account-stock-continental/6840/3 "2024-01-05T08:18:30Z")

</div>

THX for the hint. I upgraded all account modules which had been activated. After that activation of account\_stock\_continental worked.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [January 5, 2024, 8:19pm UTC](https://discuss.tryton.org/t/error-activating-account-stock-continental/6840/4 "2024-01-05T20:19:13Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
