You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/zzzz/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.12/lib/python3.12/site-packages/httpx/_urlparse.py", line 168, in urlparse
raise InvalidURL(error)
httpx.InvalidURL: Invalid non-printable ASCII character in URL, '\n' at position 44.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/zzzz/bbot/bbot/core/engine.py", line 417, in run_and_return
result = await command_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zzzz/bbot/bbot/core/helpers/web/engine.py", line 84, in request
async with self._acatch(url, raise_error):
File "/usr/lib/python3.12/contextlib.py", line 231, in __aexit__
await self.gen.athrow(value)
File "/home/zzzz/bbot/bbot/core/helpers/web/engine.py", line 211, in _acatch
f"Invalid URL (possibly due to dangerous redirect) on request to : {url}: {truncate_string(e, 200)}"
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zzzz/bbot/bbot/core/helpers/misc.py", line 836, in truncate_string
if len(s) > n:
^^^^^^
TypeError: object of type 'InvalidURL' has no len()
Issue appears to be related to parsing XML content to harvest parameters from it. Problematic XML:
Issue appears to be related to parsing XML content to harvest parameters from it. Problematic XML:
Possible solution:
Remove whitespace from between xml tags before processing and/or remove special characters from final original_value
The text was updated successfully, but these errors were encountered: