fslint-gui does not report duplicates with big files list

Bug #239087 reported by Fabián Rodríguez
6
Affects Status Importance Assigned to Milestone
fslint (Ubuntu)
Fix Released
Undecided
Pádraig Brady

Bug Description

Binary package hint: fslint

Version is 2.24-1.

The media I am trying fslint-gui on is an external 500GB USB drive formatted as ext3.

There are ~350K files in 380GB of data (pictures, text files, etc).

fslint-gui does not provide a list of duplicate files, it stops processing and shows this mesage in the status window:
<type 'exceptions.TypeError'>: int argument required

In the console, the following message appeared four times:
(fslint-gui:14884): atk-bridge-WARNING **: failure: no device event controller found.

I'd be willing to test any package when/if this is addressed.

Revision history for this message
Pádraig Brady (p-draigbrady) wrote :

Can you try with the latest version 2.26 (which is in debian testing BTW).
I fixed up a couple of issues in this area. You can download the ubuntu package from:
http://www.pixelbeat.org/fslint/

Note if it does display the duplicate files but also reports errors,
I would be interested in seeing those errors as it may indicate
lower level issues still in fslint.

Revision history for this message
Fabián Rodríguez (magicfab) wrote : Re: [Bug 239087] Re: fslint-gui does not report duplicates with big files list
  • unnamed Edit (784 bytes, text/html; charset=ISO-8859-1)

On Wed, Jun 11, 2008 at 4:47 AM, Pádraig Brady <email address hidden> wrote:

> Can you try with the latest version 2.26 (which is in debian testing BTW).
> I fixed up a couple of issues in this area. You can download the ubuntu
> package from:
> http://www.pixelbeat.org/fslint/

Thanks for providing such an easy/clean way of testing the latest release.
I've installed it and I have launched the same operation on the same media.
I'll report back later today.

Revision history for this message
marpada (marpada) wrote :

Same problem in a big ntfs partition. The following message appears in the message window (no error in console tough) :

<type 'exceptions.TypeError'>: int argument required

The process is aborted and no duplicated files found.

Debian lenny (testing)
fslint 2.26-2
ntfs-3g 1:1.2310-1 (checked also with 1:1.2506-1)

Revision history for this message
Pádraig Brady (p-draigbrady) wrote :

an "int argument required" error can only happen from printf format interpolation I think.
I.E. you've get this error if you do this in python: "%d" % None
There is only 1 possible place in the code I think that that could happen,
though I can't see yet how this path could be triggered.

To that end I would really appreciate if you could follow the instructions
for running the "Generic Source Code" version from the corresponding section of
http://www.pixelbeat.org/fslint/ Either version 2.26 or 2.27 is Ok.
Apply the attached patch before running, and it should give a more informative error.

thanks.

Revision history for this message
marpada (marpada) wrote :

Downloaded 2.26 and patch applied. Now the search seems to finish ok, and these messages appear in the message window:

groupWaste=3221225472L groupSize=2 size=3221225472L
<type 'exceptions.TypeError'>: int argument required

Revision history for this message
Pádraig Brady (p-draigbrady) wrote :

Thanks a million. You're test was very helpful.
It shows that there are issues formatting very large numbers using %d.
This is in fact a python bug: http://bugs.python.org/issue1742669

I'll push out a work around asap.

Revision history for this message
Pádraig Brady (p-draigbrady) wrote :
Changed in fslint:
assignee: nobody → p-draigbrady
status: New → Fix Committed
Revision history for this message
marpada (marpada) wrote :

Thank you very much for your great tool and you support !!

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Sorry I couldn't get back to testing this sooner. Yesterday I installed the 2.26-1 package and I am still getting this message in the status window of fslint-gui after checking for duplicates on the same volume I originally mentioned (500GB):
<type 'exceptions.TypeError'>: int argument required

The console doesn't show any output (error or else), though.

I will try building the package for 2.27 and test again. It would be nice if the 2.27 package was provided from the site.

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Ok, this took a rather long time but 2.27 went through my files and reported a (rather long) list of duplicates.

I am attaching the package I created from source, following the instructions at http://www.pixelbeat.org/fslint/ .

Hopefully this will make it into Intrepid.

Thank you!

Przemek K. (azrael)
Changed in fslint (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.