Re: Calibre error

2024-09-07 Thread Patrick O'Callaghan
On Sat, 2024-09-07 at 13:44 -0700, Mike Wright wrote: > On 9/6/24 06:28, George N. White III wrote: > > On Fri, Sep 6, 2024 at 12:04 AM Tim via users > > > > wrote: > > > > > On Thu, 2024-09-05 at 13:11 -0400, Jeffrey Walton wrote: > > > > This made my radar today: > > > > < > > > https://jfrog.

Re: Calibre error

2024-09-07 Thread Mike Wright
On 9/6/24 06:28, George N. White III wrote: On Fri, Sep 6, 2024 at 12:04 AM Tim via users wrote: On Thu, 2024-09-05 at 13:11 -0400, Jeffrey Walton wrote: This made my radar today: < https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/ . It's like Peter

Re: Calibre error

2024-09-06 Thread George N. White III
On Fri, Sep 6, 2024 at 12:04 AM Tim via users wrote: > On Thu, 2024-09-05 at 13:11 -0400, Jeffrey Walton wrote: > > This made my radar today: > > < > https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/ > >. > > It's like Peter Gutmann said: "A great many of

Re: Calibre error

2024-09-05 Thread Tim via users
On Thu, 2024-09-05 at 13:11 -0400, Jeffrey Walton wrote: > This made my radar today: > . > It's like Peter Gutmann said: "A great many of today’s security > technologies are “secure” only because no-one has

Re: Calibre error

2024-09-05 Thread Jeffrey Walton
On Thu, Sep 5, 2024 at 12:13 PM Patrick O'Callaghan wrote: > > On Thu, 2024-09-05 at 14:48 +0100, Barry wrote: > > > > > On 5 Sep 2024, at 12:15, Patrick O'Callaghan > > > wrote: > > > > > > I believe there is an ongoing discussion about how pip should be more > > > integrated with packaging sys

Re: Calibre error

2024-09-05 Thread Jeffrey Walton
On Thu, Sep 5, 2024 at 9:49 AM Barry wrote: > > > On 5 Sep 2024, at 12:15, Patrick O'Callaghan wrote: > > > > I believe there is an ongoing discussion about how pip should be more > > integrated with packaging systems to avoid this kind of confusion. > > Not sure what you are referring to, all di

Re: Calibre error

2024-09-05 Thread Patrick O'Callaghan
On Thu, 2024-09-05 at 14:48 +0100, Barry wrote: > > > On 5 Sep 2024, at 12:15, Patrick O'Callaghan wrote: > > > > I believe there is an ongoing discussion about how pip should be more > > integrated with packaging systems to avoid this kind of confusion. > > Not sure what you are referring to,

Re: Calibre error

2024-09-05 Thread Barry
> On 5 Sep 2024, at 12:15, Patrick O'Callaghan wrote: > > I believe there is an ongoing discussion about how pip should be more > integrated with packaging systems to avoid this kind of confusion. Not sure what you are referring to, all discussion are long over. The current state is that you

Re: Calibre error

2024-09-05 Thread Patrick O'Callaghan
On Thu, 2024-09-05 at 08:04 -0300, George N. White III wrote: > On Tue, Sep 3, 2024 at 3:57 PM Samuel Sieb wrote: > > > On 2024-09-03 04:37, George N. White III wrote: > > > > > > Calibre is available as flatpaks. > > > > The Fedora packaged Calibre works fine. The issue here is a pip > > inst

Re: Calibre error

2024-09-05 Thread George N. White III
On Tue, Sep 3, 2024 at 3:57 PM Samuel Sieb wrote: > On 2024-09-03 04:37, George N. White III wrote: > > > > Calibre is available as flatpaks. > > The Fedora packaged Calibre works fine. The issue here is a pip > installed library overriding the system one. > Flatpaks should not be affected by s

Re: Calibre error

2024-09-03 Thread Samuel Sieb
On 2024-09-03 04:37, George N. White III wrote: On Mon, Sep 2, 2024 at 7:33 AM Will McDonald > wrote: If you pip install stuff in a Python virtual environment, that can help isolate custom modules further from your normal/system Python runtimes. http

Re: Calibre error

2024-09-03 Thread Patrick O'Callaghan
On Tue, 2024-09-03 at 08:37 -0300, George N. White III wrote: > On Mon, Sep 2, 2024 at 7:33 AM Will McDonald wrote: > > > > > If you pip install stuff in a Python virtual environment, that can help > > isolate custom modules further from your normal/system Python runtimes. > > > > https://docs.

Re: Calibre error

2024-09-03 Thread George N. White III
On Mon, Sep 2, 2024 at 7:33 AM Will McDonald wrote: > > If you pip install stuff in a Python virtual environment, that can help > isolate custom modules further from your normal/system Python runtimes. > > https://docs.python.org/3/library/venv.html > https://realpython.com/python-virtual-environ

Re: Calibre error

2024-09-02 Thread Patrick O'Callaghan
On Mon, 2024-09-02 at 10:40 -0700, Samuel Sieb wrote: > On 9/2/24 2:20 AM, Patrick O'Callaghan wrote: > > On Sun, 2024-09-01 at 15:19 -0700, Samuel Sieb wrote: > > > > However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was > > > > installed together with Wine. I assume that's the root

Re: Calibre error

2024-09-02 Thread Samuel Sieb
On 9/2/24 2:20 AM, Patrick O'Callaghan wrote: On Sun, 2024-09-01 at 15:19 -0700, Samuel Sieb wrote: However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was installed together with Wine. I assume that's the root of the problem, but I can't solve it without uninstalling Wine. That wo

Re: Calibre error

2024-09-02 Thread Patrick O'Callaghan
On Mon, 2024-09-02 at 14:07 +0100, Barry Scott wrote: > > > On 2 Sep 2024, at 12:13, Patrick O'Callaghan wrote: > > > > Yes, I'm vaguely aware of that possibility though I've never had to use > > it up to now, i.e. everything has "just worked". > > Usually on Fedora it has just worked in the pa

Re: Calibre error

2024-09-02 Thread Barry Scott
> On 2 Sep 2024, at 12:13, Patrick O'Callaghan wrote: > > Yes, I'm vaguely aware of that possibility though I've never had to use > it up to now, i.e. everything has "just worked". Usually on Fedora it has just worked in the past. But there are too many edge cases where pip installing a module

Re: Calibre error

2024-09-02 Thread Patrick O'Callaghan
On Mon, 2024-09-02 at 11:32 +0100, Will McDonald wrote: > > $ ls .local/lib/python3.12/site-packages/ > > configparser-7.0.0-py3.12.egg  lxml-4.9.4.dist-info   numpy.libs > >   pillow.libs    _webrtcvad.cpython-312-x86_64-linux-gnu.so > > easy-install.pth   numpy

Re: Calibre error

2024-09-02 Thread Will McDonald
On Mon, 2 Sept 2024 at 10:21, Patrick O'Callaghan wrote: > On Sun, 2024-09-01 at 15:19 -0700, Samuel Sieb wrote: > > > However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was > > > installed together with Wine. I assume that's the root of the problem, > > > but I can't solve it withou

Re: Calibre error

2024-09-02 Thread Patrick O'Callaghan
On Sun, 2024-09-01 at 15:19 -0700, Samuel Sieb wrote: > > However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was > > installed together with Wine. I assume that's the root of the problem, > > but I can't solve it without uninstalling Wine. > > That won't be a problem because those lib

Re: Calibre error

2024-09-01 Thread Samuel Sieb
On 9/1/24 3:02 PM, Patrick O'Callaghan wrote: On Sun, 2024-09-01 at 14:35 -0700, Samuel Sieb wrote: On 9/1/24 2:11 PM, Patrick O'Callaghan wrote: On installing the latest version of Calibre (7.17.3) I get this error: RuntimeError: html5-parser and lxml are using different versions of libxml2.

Re: Calibre error

2024-09-01 Thread Patrick O'Callaghan
On Sun, 2024-09-01 at 14:35 -0700, Samuel Sieb wrote: > On 9/1/24 2:11 PM, Patrick O'Callaghan wrote: > > On installing the latest version of Calibre (7.17.3) I get this error: > > > > RuntimeError: html5-parser and lxml are using different versions of > > libxml2. This happens commonly when using

Re: Calibre error

2024-09-01 Thread Samuel Sieb
On 9/1/24 2:11 PM, Patrick O'Callaghan wrote: On installing the latest version of Calibre (7.17.3) I get this error: RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml

Calibre error

2024-09-01 Thread Patrick O'Callaghan
On installing the latest version of Calibre (7.17.3) I get this error: $ calibre Traceback (most recent call last): File "/usr/bin/calibre", line 21, in sys.exit(calibre()) ^ File "/usr/lib64/calibre/calibre/gui_launch.py", line 73, in calibre main(args) File "/