I just tried 'sudo chown -R nobody:nogroup /usr/share/assp' again but it didn't
help
Line 23574 consists of the following line of code:
foreach my $c (@ConfigArray) {
in the following area of code:
open( F, ">$base/assp.cfg.defaults" );
foreach my $c (@ConfigArray) {
next if $c->[0] eq "0";
print F "$c->[0]:=$c->[4]\n";
}
close F;
chmod 0644, "$base/assp.cfg.defaults";
I tried to extract as much as I thought I would need to reproduce the error:
use vars qw($base);
push @EXPORT, qw($base);
push @EXPORT, qw($base $wikiinfo);
# load from command line if specified
if ( $ARGV[0] && $ARGV[0] !~ "-" ) {
$base = $ARGV[0];
} else {
# the last one is the one used if all else fails
foreach (
'.', '/usr/local/assp', '/home/assp',
'/etc/assp', '/usr/assp', '/applications/assp',
'/assp', '.'
)
{
$base = $_;
last if -e "$base/assp.cfg";
}
}
open( F, ">$base/assp.cfg.defaults" );
foreach my $c (@ConfigArray) {
next if $c->[0] eq "0";
print F "$c->[0]:=$c->[4]\n";
}
close F;
chmod 0644, "$base/assp.cfg.defaults";
but running it produces no output or error
Has anyone else installed recently that can confirm success or failure to
compare?
________________________________________
From: Scott Haneda [talkli...@newgeo.com]
Sent: Wednesday, May 06, 2009 4:37 AM
To: For Users of ASSP
Subject: Re: [Assp-user] Error in assp.pl at line 23574
I found this
http://www.mail-archive.com/assp-user@lists.sourceforge.net/msg05677.html
That leads me to believe it is user/group permissions still.
The only other issue I can see is that you change the case of the ASSP/
ass directory in your install, perhaps it does not like that.
Have you looked at line 23574 and see if you can tell what it is
doing, what it is trying to access etc? If you can tell, try to
replicate that action as the user and group you are running as. Often
times the error you get in the shell will be much more obvious how to
solve.
Sorry I can not be of more help.
On May 5, 2009, at 8:50 PM, Alex Davidson wrote:
> I went through the guide at
> http://apps.sourceforge.net/mediawiki/assp/index.php?title=Debian
> again very carefully:
>
> sudo aptitude install libcompress-zlib-perl libemail-valid-perl
> libfile-readbackwards-perl libmail-spf-query-perl libemail-mime-perl \
> libemail-mime-modifier-perl libmail-srs-perl libnet-dns-perl libsys-
> syslog-perl libnet-ldap-perl unzip clamav \
> clamav-daemon libemail-send-perl
> sudo wget
> http://superb-east.dl.sourceforge.net/sourceforge/assp/ASSP_1.5.1.2-Install.zip
> sudo mkdir -p /usr/share/assp/spam
> sudo mkdir /usr/share/assp/notspam
> sudo mkdir /usr/share/assp/errors
> sudo mkdir /usr/share/assp/errors/spam
> sudo mkdir /usr/share/assp/errors/notspam
> sudo unzip ASSP_1.5.1.2-Install.zip
> sudo mv -f ASSP_1.5.1.2-Install/ASSP/* /usr/share/assp
> sudo rm -rf ASSP_1.5.1.2-Install
> sudo rm ASSP_1.5.1.2-Install.zip
> sudo chown -R nobody:nogroup /usr/share/assp
> sudo apt-get install build-essential
>
> after which I ran:
> perl assp.pl
> and again got the error:
> Modification of a read-only value attempted at assp.pl line 23574,
> <DATA> line 253.
>
> I had 'runAsUser' and 'runAsGroup' still empty but tried changing
> them to nobody and nogroup.
> I also tried 'chmod 777 /usr/share/assp/*.pl' as suggested by Paul,
> and also 'chmod -R 777 /usr/share/assp' without any change in error.
>
> I don't get it. I've had this working following these exact same
> steps previously.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user