2.0 acq - error when running edi_fetcher.pl

Bug #801961 reported by Ben Shum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Status tracked in Main
2.0
Fix Released
Medium
Unassigned
2.1
Fix Released
Medium
Unassigned
Main
Fix Released
Medium
Unassigned

Bug Description

Evergreen version: 2.0.6
OpenSRF version: 2.0.0
PostgreSQL version: 8.4
Linux distribution: Ubuntu 10.04 Lucid

When attempting to run the script edi_fetcher.pl to retrieve information from Ingram's FTP server, we encountered this error message:

Can't locate object method "is_dir" via package "Net::FTP" at /openils/lib/perl5/OpenILS/Utils/RemoteAccount.pm line 614.

Checking at that line, we found that changing "is_dir" to be just plain "dir" eliminated the error and allowed us to successfully retrieve the files. Our version of Net::FTP is 2.77.

Tags: acq 2.0 edi
Revision history for this message
Michael Peters (mrpeters) wrote :

Can confirm this is also broken in 2.0.4 for EG Indiana

Revision history for this message
Ben Shum (bshum) wrote :

Pushed a fix for master here:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/bshum/lp801961_fix

This minor edit also worked for our 2.0 systems.

Revision history for this message
Mike Rylander (mrylander) wrote :

I can't find a version of Net::FTP that spells dir() as is_dir() (or, indeed, contains an is_dir()) on the CPAN. I'll apply all around.

Revision history for this message
Mike Rylander (mrylander) wrote :

Aaaaaaaaaaannnnnnnd ... applied.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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