Module activation "party_avatar " : unexpected behavior

Context : “tryton/tryton:latest” installed using How to run Tryton using Docker

Activate by selecting: party, party_avatar, party_relationship, party_siret (“mark as” then “perform”)

Result : exception + status[party (activated) ; party_avatar, party_relationship, party_siret (to be activated)]

Same as above but without requesting activate « party_avatar » : all works ok

Thanks for any suggestion.

Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/convertpy", line 458, in parse_xmlstream
    selfsax_parserparse(source)
  File "/usr/lib/python37/xml/sax/expatreaderpy", line 111, in parse
    xmlreaderIncrementalParserparse(self, source)
  File "/usr/lib/python37/xml/sax/xmlreaderpy", line 125, in parse
    selffeed(buffer)
  File "/usr/lib/python37/xml/sax/expatreaderpy", line 217, in feed
    self_parserParse(data, isFinal)
  File "/Modules/pyexpatc", line 417, in StartElement
  File "/usr/lib/python37/xml/sax/expatreaderpy", line 333, in start_element
    self_cont_handlerstartElement(name, AttributesImpl(attrs))
  File "/usr/local/lib/python37/dist-packages/trytond/convertpy", line 490, in startElement
    selftaghandlerstartElement(name, attributes)
  File "/usr/local/lib/python37/dist-packages/trytond/convertpy", line 241, in startElement
    selfvalues[field_name] = selfmhget_id(ref_attr)
  File "/usr/local/lib/python37/dist-packages/trytond/convertpy", line 532, in get_id
    % ""join([module, xml_id]))
Exception: Reference to companycompany_view_list not found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 117, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
    request, database_name, *requestrpc_params)
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 156, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 181, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 314, in execute
    return wizard_execute(state_name)
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 345, in _execute
    result = self_execute(transition())
  File "/usr/local/lib/python37/dist-packages/trytond/ir/modulepy", line 572, in transition_upgrade
    poolinit(update=update, lang=lang)
  File "/usr/local/lib/python37/dist-packages/trytond/poolpy", line 166, in init
    activatedeps=activatedeps)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/__init__py", line 442, in load_modules
    _load_modules(update)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/__init__py", line 405, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/__init__py", line 252, in load_module_graph
    tryton_parserparse_xmlstream(fp)
  File "/usr/local/lib/python37/dist-packages/trytond/convertpy", line 460, in parse_xmlstream
    raise Exception("Error " + selfcurrent_state()) from e
Exception: Error In tag record model iruiview with id party_avatarcompany_view_list

Thanks.

This looks like a bug in the party_avatar module. It could do with an issue being raised for it on bugs.tryton.org.

Thank you David ! … done: Issue 10407: Module activation "party_avatar" : unexpected behavior - Tryton issue tracker

1 Like