Skip Menu |

This queue is for tickets about the File-Find-Object CPAN distribution.

Report information
The Basics
Id: 33808
Status: resolved
Priority: 0/
Queue: File-Find-Object

People
Owner: SHLOMIF [...] cpan.org
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0.9
Fixed in: (no value)



Subject: File::Find::Object fails traversing /tmp (probably because of un-scannable directories).
When running the following script: <<<<<<<<<<<< #!/usr/bin/perl use strict; use warnings; use File::Find::Object; my $tree = File::Find::Object->new({}, '/tmp'); while (my $r = $tree->next()) { print $r ."\n"; } Show quoted text
>>>>>>>>>>>>
File::Find::Object crashes with a message ending with: <<<<<<<<<<<< Current is undef at lib/File/Find/Object.pm line 131 File::Find::Object::_father('File::Find::Object=HASH(0x806aba0)', undef) called at lib/File/Find/Object.pm line 151 File::Find::Object::_movenext_with_current('File::Find::Object=HASH(0x806aba0)') called at lib/File/Find/Object.pm line 205 File::Find::Object::_movenext('File::Find::Object=HASH(0x806aba0)') called at lib/File/Find/Object.pm line 114 File::Find::Object::next('File::Find::Object=HASH(0x806aba0)') called at /home/shlomi/Test.pl line 10 Show quoted text
>>>>>>>>>>>>
It seems that it tries to scan /tmp/.esd-520 which is unreadable. ( Originally reported in a different bug 33453 by Sergey V Panteleev ) Regards, Shlomi Fish
From: SHLOMIF [...] cpan.org
On Tue Mar 04 14:52:40 2008, SHLOMIF wrote: Show quoted text
> When running the following script: > > <<<<<<<<<<<< > #!/usr/bin/perl > > use strict; > use warnings; > > > use File::Find::Object; > my $tree = File::Find::Object->new({}, '/tmp'); > > while (my $r = $tree->next()) { > print $r ."\n"; > }
> >>>>>>>>>>>>
> > File::Find::Object crashes with a message ending with: > > <<<<<<<<<<<< > Current is undef at lib/File/Find/Object.pm line 131 > > File::Find::Object::_father('File::Find::Object=HASH(0x806aba0)', > undef) called at lib/File/Find/Object.pm line 151 > >
File::Find::Object::_movenext_with_current('File::Find::Object=HASH(0x806aba0)') Show quoted text
> called at lib/File/Find/Object.pm line 205 > > File::Find::Object::_movenext('File::Find::Object=HASH(0x806aba0)') > called at lib/File/Find/Object.pm line 114 >
File::Find::Object::next('File::Find::Object=HASH(0x806aba0)') Show quoted text
> called at /home/shlomi/Test.pl line 10
> >>>>>>>>>>>>
> > It seems that it tries to scan /tmp/.esd-520 which is unreadable. > > ( Originally reported in a different bug 33453 by Sergey V
Panteleev ) Show quoted text
>
Hi! Sorry for the late response. I believe this now works in File-Find-Object-0.1.0. Can you please test to see if it works for you? Regards, Shlomi Fish Show quoted text
> Regards, > > Shlomi Fish
No reply received, so closing. If it still happens - file a new report. Regards, Shlomi Fish