Skip to content

Parsingfehler durch ETHERPAD_ACTIVE=False

Wenn man in der config ETHERPAD_ACTIVE=False verwendet kommt es beim parsen der Protokolle zu folgendem Fehler:

Traceback (most recent call last):
  File "/home/magnus/proto/proto3/configproxy.py", line 971, in __getattr__
    return self.data[key]
KeyError: 'EMPTY_ETHERPAD'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/magnus/proto/proto3/tasks.py", line 170, in parse_protocol_async
    parse_protocol_async_inner(protocol, ignore_old_date)
  File "/home/magnus/proto/proto3/tasks.py", line 189, in parse_protocol_async_inner
    if protocol.source == config.EMPTY_ETHERPAD: # config.ETHERPAD_ACTIVE and
  File "/home/magnus/proto/proto3/configproxy.py", line 973, in __getattr__
    raise AttributeError
AttributeError

Ähnlich zu #239 (closed) scheint der Fehler aufzutreten da im Fall von ETHERPAD_ACTIVE=False in der config, EMPTY_ETHERPAD nicht existiert.