On Mon, Jan 15, 2024 at 9:24 AM Patrick Dupre via users
<users(a)lists.fedoraproject.org> wrote:
Hello,
I am attaching an eps file
(NoDressedrecoil.eps)
You could do
cp -a NoDressedrecoil.eps No_Dressedrecoil.eps
cp -a NoDressedrecoil.eps No_Dressed_recoil.eps
and then
gzip -f No_Dressedrecoil.eps
gzip -f No_Dressed_recoil.eps
And you should obtain a different behavior
like
Traceback (most recent call last):
File "/usr/share/lyx/scripts/convertDefault.py", line 68, in <module>
if sys.argv[3] == 'ppm' and (im and version >= 0x060305 or gm):
^^^^^^^^^^^^^^^^^^^
TypeError: '>=' not supported between instances of 'str' and
'int'
This seems only due to the name No_Dressed_recoil.eps
Thank for your concerns
gzip is a compiled executable, and if the real gzip was run you
should not be able to get a traceback like that.
To get a trackback like that either you aren't running the right gzip
("which gzip" should point to /usr/bin/gzip) or you have bad shell
code running (from some other package?) that is intercepting and
producing the error.
Your gzip is probably not /usr/bin/gzip.
see what the below shows.
which gzip ; file /usr/bin/gzip ; ldd /usr/bin/gzip
/usr/bin/gzip
/usr/bin/gzip: ELF 64-bit LSB pie executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=122aaface4722838f70907f0cea3dee4b958dde2, for GNU/Linux
3.2.0, stripped
linux-vdso.so.1 (0x00007ffc2a318000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbfdf254000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbfdf539000)