Catfish does not find files whose size exceeds 2GB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Catfish |
Fix Released
|
Undecided
|
Sean Davis | ||
catfish (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Files with size greater or equal to 2GB produces a python exception that prevents the file from appearing in the results window.
Steps to reproduce:
1) Create two files, 1GB and 2GB in size respectively, with a common name pattern:
$truncate -s 1G file.1gb && truncate -s 2G file.2gb
2) Open catfish and search for pattern in directory (press Enter on opened window to start the search):
$catfish --verbose --path="$PWD" file
Both file.1gb and file.2gb should appear in results window. Instead, only file.1gb appears and two python overflow exceptions are printed to console window:
OverflowError: Python int too large to convert to C long
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: catfish 1.0.2-2
ProcVersionSign
Uname: Linux 3.16.0-34-generic i686
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: i386
Date: Fri Apr 10 11:35:08 2015
InstallationDate: Installed on 2015-03-25 (16 days ago)
InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release i386 (20150218.1)
PackageArchitec
SourcePackage: catfish
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: vivid |
description: | updated |
Changed in catfish-search: | |
status: | Fix Committed → Fix Released |
Changing size type from long to int64 gets things working, not sure if it's the right thing to do.