Control: forwarded -1 https://github.com/thp/urlwatch/issues/809
Control: tags -1 bookworm
Control: fixed -1 2.28-1
Hi,

Sorry for the late reply, this mail was sent to my spam folder. I've
already responded to this question on the upsteam bug tracker (
https://github.com/thp/urlwatch/issues/809).

As explained, the crash is linked to the python 3.11 upgrade. This problem
has been fixed in urlwatch 2.27 as explained in changelog
<https://github.com/thp/urlwatch/blob/master/CHANGELOG.md#227----2023-05-03>
.
I don't know how to update urlwatch 2.27 to the bookworm archive. I'm not a
debian developer. With a bit a guidance (a tutorial), I should be able to
do it.

Regards,

Maxime

Le ven. 22 mars 2024 à 00:27, Justin Piszcz <jpis...@lucidpixels.com> a
écrit :

> Package: urlwatch
> Version: 2.25-1
>
> Logged a case on github for this as well:
> https://github.com/thp/urlwatch/issues/809
>
> $ urlwatch --edit
>
> name: "Wyze Service Status & Known Issues"
> filter:
>   - html2text
>   - striplines
> navigate: "
> https://support.wyze.com/hc/en-us/articles/360015979872-Service-Status-Known-Issues
> "
>
> $ urlwatch --test-filter 1
> Exception while releasing resources for job: <browser
> navigate='
> https://support.wyze.com/hc/en-us/articles/360015979872-Service-Status-Known-Issues
> '
> name='Wyze Service Status & Known Issues' filter=['html2text',
> 'striplines']>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urlwatch/command.py", line 139,
> in test_filter
>     raise job_state.exception
>   File "/usr/lib/python3/dist-packages/urlwatch/handler.py", line 68,
> in __enter__
>     self.job.main_thread_enter()
>   File "/usr/lib/python3/dist-packages/urlwatch/jobs.py", line 406, in
> main_thread_enter
>     from .browser import BrowserContext
>   File "/usr/lib/python3/dist-packages/urlwatch/browser.py", line 42,
> in <module>
>     class BrowserLoop(object):
>   File "/usr/lib/python3/dist-packages/urlwatch/browser.py", line 49,
> in BrowserLoop
>     @asyncio.coroutine
>      ^^^^^^^^^^^^^^^^^
> AttributeError: module 'asyncio' has no attribute 'coroutine'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urlwatch/handler.py", line 78,
> in __exit__
>     self.job.main_thread_exit()
>   File "/usr/lib/python3/dist-packages/urlwatch/jobs.py", line 410, in
> main_thread_exit
>     self.ctx.close()
>     ^^^^^^^^
> AttributeError: 'BrowserJob' object has no attribute 'ctx'
> Traceback (most recent call last):
>   File "/usr/bin/urlwatch", line 33, in <module>
>     sys.exit(load_entry_point('urlwatch==2.25', 'console_scripts',
> 'urlwatch')())
>
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/urlwatch/cli.py", line 112, in main
>     urlwatch_command.run()
>   File "/usr/lib/python3/dist-packages/urlwatch/command.py", line 431, in
> run
>     self.handle_actions()
>   File "/usr/lib/python3/dist-packages/urlwatch/command.py", line 231,
> in handle_actions
>     sys.exit(self.test_filter(self.urlwatch_config.test_filter))
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/urlwatch/command.py", line 139,
> in test_filter
>     raise job_state.exception
>   File "/usr/lib/python3/dist-packages/urlwatch/handler.py", line 68,
> in __enter__
>     self.job.main_thread_enter()
>   File "/usr/lib/python3/dist-packages/urlwatch/jobs.py", line 406, in
> main_thread_enter
>     from .browser import BrowserContext
>   File "/usr/lib/python3/dist-packages/urlwatch/browser.py", line 42,
> in <module>
>     class BrowserLoop(object):
>   File "/usr/lib/python3/dist-packages/urlwatch/browser.py", line 49,
> in BrowserLoop
>     @asyncio.coroutine
>      ^^^^^^^^^^^^^^^^^
> AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you
> mean: 'coroutines'?
>
>

Reply via email to