Package: urlwatch
Version: 2.29-1
Severity: normal

I have two targets:

$ urlwatch --list
1: Fly ( https://fly.isti.cnr.it )
2: J-ISPIN ( https://ieeexplore.ieee.org/xpl/tocresult.jsp?isnumber=10108967 )

I can check the first target by number:

$ urlwatch 1

It gives no output as it has not changed, that's ok.  But if I try to check it 
by tag, the program fails:

$ urlwatch --tags Fly
Traceback (most recent call last):
  File "/usr/bin/urlwatch", line 33, in <module>
    sys.exit(load_entry_point('urlwatch==2.29', 'console_scripts', 
'urlwatch')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urlwatch/cli.py", line 109, in main
    urlwatch_command.run()
  File "/usr/lib/python3/dist-packages/urlwatch/command.py", line 479, in run
    self.urlwatcher.run_jobs()
  File "/usr/lib/python3/dist-packages/urlwatch/main.py", line 109, in run_jobs
    run_jobs(self)
  File "/usr/lib/python3/dist-packages/urlwatch/worker.py", line 59, in run_jobs
    if urlwatcher.should_run(idx, job)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urlwatch/main.py", line 77, in should_run
    return job.matching_tags(self.urlwatch_config.tag_set)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urlwatch/jobs.py", line 203, in 
matching_tags
    return self.tags & tags
           ~~~~~~~~~~^~~~~~
TypeError: unsupported operand type(s) for &: 'NoneType' and 'frozenset'

Apparently, this is because of a semantic error around '&'.

-- 
Francesco Potortì (ricercatore)        Mobile: +39.348.8283.107      
ISTI - Area della ricerca CNR          Teams:  wnlabisti             
via G. Moruzzi 1, I-56124 Pisa         Web:    http://fly.isti.cnr.it
(gate 20, 1st floor, room C71)         ISPIN:  https://ieee-jispin.org/

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.11-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages urlwatch depends on:
ii  libjs-sphinxdoc       8.1.3-5
hi  python3               3.12.8-1
ii  python3-cssselect     1.3.0-1
hi  python3-lxml          5.3.1-1
ii  python3-minidb        2.0.8-1
ii  python3-platformdirs  4.3.7-1
ii  python3-requests      2.32.3+dfsg-5
hi  python3-yaml          6.0.2-1+b1

Versions of packages urlwatch recommends:
ii  html2text  2.2.3-3
ii  lynx       2.9.2-1

Versions of packages urlwatch suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.98.2-1
ii  python3-bs4                                4.13.4-1
ii  python3-html2text                          2025.4.15-1
pn  python3-jsbeautifier                       <none>
ii  python3-keyring                            25.6.0-1
pn  python3-vobject                            <none>
ii  wdiff                                      1.2.2-9

-- no debconf information

Reply via email to