sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.85k stars 128 forks source link

null bytes syntax error also on Fedora #661

Open CouldBeThis opened 1 month ago

CouldBeThis commented 1 month ago

Same as #628 and #647, but on Fedora 39 not Ubuntu.

$ rmlint --gui
  File "/tmp/.shredder-bootstrap.py.44KZN2", line 23

SyntaxError: source code cannot contain null bytes
$ rmlint --version
version 2.10.1 compiled: Aug  1 2023 at [20:35:50] "Ludicrous Lemur" (rev unknown)
compiled with: +mounts +nonstripped +fiemap +sha512 +bigfiles +intl +replay +xattr +btrfs-support

$ python --version
Python 3.12.3

I see it is fixed since v2.10.2 published almost 1 year ago. Just putting this here in case some action is required to get it to fedora's repos.

I'll try compiling for the time being but can't wait til I can switch distros; a lot of problems will be solved. :)

CouldBeThis commented 1 month ago

I tried installing per the instructions (for some reason under Build Dependencies subheading?) for the fedora copr, which are:

$ dnf copr enable eclipseo/rmlint
$ dnf install rmlint

but it just installs the same version as previous from fedora repo

==================================================================================
 Package         Architecture    Version                    Repository       Size
==================================================================================
Installing:
 rmlint          x86_64          2.10.1-16.fc39             fedora          374 k

clicking the link https://copr.fedorainfracloud.org/coprs/eclipseo/rmlint/ yields a 404.

Search on the website find active https://copr.fedorainfracloud.org/coprs/rodoma92/rmlint/

 Package
        Arch   Version       Repository                                      Size
==================================================================================
Installing:
 rmlint x86_64 2.10.2-1.fc39 copr:copr.fedorainfracloud.org:rodoma92:rmlint 361 k

but I'm going to hold off installing this... I don't really like this copr system.

Will try compiling later.

SAJewers commented 1 week ago

use dnf copr enable rodoma92/rmlint instead. That works for me.