Skip Menu |
 

This queue is for tickets about the activitymail CPAN distribution.

Report information
The Basics
Id: 5456
Status: resolved
Priority: 0/
Queue: activitymail

People
Owner: Nobody in particular
Requestors: contact [...] abilsoft.com
Cc:
AdminCc:

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



Subject: File Names with space appear to break activitymail
Download (untitled) / with headers
text/plain 2.2k
I'm using actvitymail 1.16 with perl 5.8.0 on a Mandrake 9.1 box with the following entries in commitinfo and loginfo respectively: ^projects/ensuren $CVSROOT/CVSROOT/activitymail -l ^projects/ensuren $CVSROOT/CVSROOT/activitymail -cf %{sVv} -H -o"-y --suppress-common-lines" -B ".doc .vsd .xls .zuml" -t spam@abilsoft.com -u spam@abilsoft.com >> $CVSROOT/CVSROOT/ensurenlog 2>&1; ((sleep 2; (cd /home/gouldt/bin; /home/gouldt/bin/ensurenACLMaint); (cd /home/gouldt/bin; /home/gouldt/bin/ensurenUpdate)) &) >> $CVSROOT/CVSROOT/ensurenlog 2>&1 Everything is working as desired, EXCEPT for filenames with spaces. As sson as I commit such a file, I get errors as follows in my log: Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 446, <STDIN> line 5. Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 446, <STDIN> line 5. shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory cvs [diff aborted]: cannot get working directory: No such file or directory Use of uninitialized value in substitution (s///) at /abilsoft/cvsroot/CVSROOT/activitymail line 381. Use of uninitialized value in string eq at /abilsoft/cvsroot/CVSROOT/activitymail line 382. Use of uninitialized value in string eq at /abilsoft/cvsroot/CVSROOT/activitymail line 382. Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 398. Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 398. Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 398. Use of uninitialized value in concatenation (.) or string at /abilsoft/cvsroot/CVSROOT/activitymail line 398. shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory cvs [diff aborted]: cannot get working directory: No such file or directory All other files work without any error or probelm and produce the desired output messages. This is critical as the reason to move to activity mail was for it's support of file names with spaces. Any assistance will be greatly appreciated. Thanks!
From: David Wheeler <david [...] kineticode.com>
Subject: Re: [cpan #5456] File Names with space appear to break activitymail
Date: Thu, 26 Feb 2004 10:30:22 -0800
To: bug-activitymail [...] rt.cpan.org
RT-Send-Cc:
On Feb 25, 2004, at 9:53 PM, Guest via RT wrote: Show quoted text
> I'm using actvitymail 1.16 with perl 5.8.0 on a Mandrake 9.1 box with > the following entries in commitinfo and loginfo respectively: > > ^projects/ensuren $CVSROOT/CVSROOT/activitymail -l > > ^projects/ensuren $CVSROOT/CVSROOT/activitymail -cf %{sVv} -H > -o"-y --suppress-common-lines" -B ".doc .vsd .xls .zuml" -t > spam@abilsoft.com -u spam@abilsoft.com >> $CVSROOT/CVSROOT/ensurenlog
> 2>&1; ((sleep 2; (cd /home/gouldt/bin;
> /home/gouldt/bin/ensurenACLMaint); (cd /home/gouldt/bin; > /home/gouldt/bin/ensurenUpdate)) &) >> $CVSROOT/CVSROOT/ensurenlog
> 2>&1
Dunno what --suppress-common-lines is; it's not an activitymail option. Show quoted text
> Everything is working as desired, EXCEPT for filenames with spaces. > As sson as I commit such a file, I get errors as follows in my log:
Please tell me the name of the files with the spaces in them, the name of the directory they're in, and the directory location of CVSROOT. I'll try to reproduce. Regards, David
Download (untitled) / with headers
text/plain 1.6k
David: Thanks in advance for your assistance! --suppress-common-lines is a diff option and is enclosed in "" as needed - works perfectly for all files except those with spaces in the names. Details of files that fail: $CVSROOT=/abilsoft/cvsroot Files that fail upon commit have names like: <I'm quoting the names to be explicit - the names do not really include the "> "$CVSROOT/projects/ensuren/doc/A simple test with spaces.java" "$CVSROOT/projects/ensuren/server/doc/Use Case Definition.doc" I have not directory names with spaces (as of yet). Thanks again! [david@kineticode.com - Thu Feb 26 13:30:54 2004]: Show quoted text
> On Feb 25, 2004, at 9:53 PM, Guest via RT wrote: >
> > I'm using actvitymail 1.16 with perl 5.8.0 on a Mandrake 9.1 box
with Show quoted text
> > the following entries in commitinfo and loginfo respectively: > > > > ^projects/ensuren $CVSROOT/CVSROOT/activitymail -l > > > > ^projects/ensuren $CVSROOT/CVSROOT/activitymail -cf %{sVv} -H > > -o"-y --suppress-common-lines" -B ".doc .vsd .xls .zuml" -t > > spam@abilsoft.com -u spam@abilsoft.com >>
$CVSROOT/CVSROOT/ensurenlog Show quoted text
> > 2>&1; ((sleep 2; (cd /home/gouldt/bin;
> > /home/gouldt/bin/ensurenACLMaint); (cd /home/gouldt/bin; > > /home/gouldt/bin/ensurenUpdate)) &) >> $CVSROOT/CVSROOT/ensurenlog
> > 2>&1
> > Dunno what --suppress-common-lines is; it's not an activitymail
option. Show quoted text
>
> > Everything is working as desired, EXCEPT for filenames with
spaces. Show quoted text
> > As sson as I commit such a file, I get errors as follows in my log:
> > Please tell me the name of the files with the spaces in them, the
name Show quoted text
> of the directory they're in, and the directory location of CVSROOT. > I'll try to reproduce. > > Regards, > > David >
Download (untitled) / with headers
text/plain 102b
I've just uploaded 1.17 to CPAN. It should fix the problem. Let me know if you run into any more bugs.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.