[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Hello Perl Gurus



I can get screenshots, but the paths are mounted and exist. The path in the error is not the first to be processed but is the first to error.

It seems to me that the script isn't handling a variable well.

On Nov 13, 2015 2:50 AM, "Sidney B" <sidney.omaha.pm@gmail.com> wrote:
Your script says:
# EDIT BELOW: this is the root directory where the patient files are
my $patientFileRoot = "/mnt/images/patient";

I don't think that directory is available on your new system. You need to locate the /images/patient directory and edit the path to it.
"mnt/" usually means you've mounted something (like a cd) and I think you aren't doing that.


BTW
Further down in the script you have another place to edit:
# now get patients and start calculating file counts and sizes
# EDIT BELOW:  change the name of the file to october to do October
open (PATIENTS, "september.csv") or die $!;
#open (PATIENTS, "october.csv") or die $!;

You might want to check those file names are correct too.

-Sidney

On Thu, Nov 12, 2015 at 6:50 PM, Paul Hanson <pmhanson@gmail.com> wrote:

Sorry. Hopefully they are attached now.
The subdirectories should not contain unicode characters.




_______________________________________________
Omaha-pm mailing list
Omaha-pm@pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm