Public bug reported:

Hello,

I went to install a packaged version of offpunk and ran into the
following error upon launching the application:

```
Traceback (most recent call last):
   File "/usr/bin/offpunk", line 5, in <module>
     from offpunk import main
   File "/usr/lib/python3/dist-packages/offpunk.py", line 25, in <module>
     import netcache
   File "/usr/lib/python3/dist-packages/netcache.py", line 15, in <module>
     import ansicat
   File "/usr/lib/python3/dist-packages/ansicat.py", line 19, in <module>
     from readability import Document
   File "/usr/lib/python3/dist-packages/readability/__init__.py", line 
3, in <module>
     from .readability import Document
   File "/usr/lib/python3/dist-packages/readability/readability.py", 
line 11, in <module>
     from .cleaners import clean_attributes
   File "/usr/lib/python3/dist-packages/readability/cleaners.py", line 
3, in <module>
     from lxml.html.clean import Cleaner
   File "/usr/lib/python3/dist-packages/lxml/html/clean.py", line 18, in 
<module>
     raise ImportError(
ImportError: lxml.html.clean module is now a separate project 
lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.
```

I understand this dependency issue was fixed in later versions of
readability, but unfortunately the version in 24.04 (0.8.1+dfsg1-3) is
still plagued by this. Would it be possible to cut a release for the
newer version of readability in 24.04?

As you can imagine, installing the python3-lxml-html-clean package
solved my problem.

Release: 24.04.2
Package version: python3-readability 0.8.1+dfsg1-3

Thanks

** Affects: readability (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104198

Title:
  Readability missing python3-lxml-html-clean dependency in Ubuntu noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/readability/+bug/2104198/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to