Skip to content

Constraint igwn alert

version 0.6 of igwn-alert leads to the following traceback. This is avoided by version 0.5

[2024-02-22 16:31:27,784: CRITICAL/MainProcess/MainThread] Unrecoverable error: TypeError("can't concat str to bytes")
Traceback (most recent call last):
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/celery/worker/worker.py", line 202, in start
    self.blueprint.start(self)
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/celery/bootsteps.py", line 116, in start
    step.start(parent)
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/celery/bootsteps.py", line 365, in start
    return self.obj.start()
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/celery/worker/consumer/consumer.py", line 340, in start
    blueprint.start(self)
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/celery/bootsteps.py", line 116, in start
    step.start(parent)
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/gwcelery/igwn_alert/bootsteps.py", line 104, in start
    self._client = IGWNAlertClient(
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/gwcelery/igwn_alert/bootsteps.py", line 22, in __init__
    super().__init__(*args, **kwargs)
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/igwn_alert/client.py", line 139, in __init__
    self.base_url_prefix = self._construct_base_url()
  File "/home/emfollow-playground/.local/lib/python3.9/site-packages/igwn_alert/client.py", line 195, in _construct_base_url
    path=old.path + self.group_prefix,
TypeError: can't concat str to bytes

Merge request reports