Hello,
does someone have a mailscript for NT Perl?
Mail program on server is Blat.
I tryed everything with standard form processors, bur all the time i get the
errors from Unix.
Please if you have send it to [EMAIL PROTECTED]
This is very urgent, because my site is down thanks to the tranfer from Unix
to a NT 4.0 server.
Thanks for helping me,
Mrs. Lidia Peters
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens
[EMAIL PROTECTED]
Verzonden: Geen
Aan: [EMAIL PROTECTED]
Onderwerp: ActivePerl digest, Vol 1 #209 - 7 msgs
Send ActivePerl mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://listserv.ActiveState.com/mailman/listinfo/activeperl
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ActivePerl digest..."
Today's Topics:
1. Perl Tk questions ([EMAIL PROTECTED])
2. RE: PPM Verify Errors Out (Jonathan Crowther)
3. emailing from NT using Mail::Mailer (Janice Jeffries)
4. RE: PPM Verify Errors Out (David Effa)
5. Win32::Service Assist (Sturdevant, Robert W. (Contr))
6. RE: Installing Modules without PPM (Jonathan Crowther)
7. RE: PPM Verify Errors Out (Jonathan Crowther)
--__--__--
Message: 1
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Perl Tk questions
Date: Fri, 1 Dec 2000 11:12:52 -0500
The problem
I have an app that can run for a long time, even hours, leaving the user to
stare at an hourglass. Progress messages are written to the command box,
but most of the users are at such a level, that asking them to open the
command prompt window strains their capabilities.
I would like to open a window, using Perl TK and then display the messages
as they are written to this window, and to a log file
I already have a program which uses the Message widget and displays a text
string. (The Text widget does not work as it does not accept either -text
or =-textvariable parameters). How do I update this as more lines are
written out. That is how do I trigger an event and capture the output from
the filehandle when new output arrives.
I have looked at the TK documentation, especially Eventloop and fileevent.
I find a lot of information, but no simple answer to my question. My quest
is complicated since this is my first excursion into GUI event-driven
programming. In the TK eventloop documentation
(http://velocity.activestate.com/docs/ActivePerl/site/lib/Tk/Eventloop.html
)there is a routine that claims to solve this problem, but I do not
understand it. This is complicated by the fact that it won't compile under
the "use strict" pragma.
I should note that I am using 5.5. Also even if it works, will it
compile? I understand that there are many caveats on compiling TK .
Joe Davidson
--__--__--
Message: 2
From: "Jonathan Crowther" <[EMAIL PROTECTED]>
To: 'David Effa' <[EMAIL PROTECTED]>,
activeperl <[EMAIL PROTECTED]>
Subject: RE: PPM Verify Errors Out
Date: Fri, 1 Dec 2000 11:33:00 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C05BBC.C082C9F0
Content-Type: text/plain;
charset="iso-8859-1"
You need to change the PPM setup to remove the SOAP, and use HTTP instead.
Type 'ppm set' and look for the "Current PPD repository paths". If this path
includes a "soap" URL, you need to delete it, and then replace it with the
following URL:
ActiveState Package Repository:
http://www.ActiveState.com/PPMPackages/5.6
Use the "ppm help set" to find out how to modify the PPD repository paths.
Cheers,
Jonathan
"Joust Not with Dragons, for Thou art Crunchy, and Goode with Ketchup..."
-----Original Message-----
From: David Effa [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 7:37 AM
To: activeperl
Subject: PPM Verify Errors Out
Does anyone have any ideas for this problem (below).
This happens on both a Windows NT V4 SP 6a server and a Windows 2000 SP 1
workstation with Perl V5.6 Build 620.
H:\>ppm
PPM interactive shell (2.1.1) - type 'help' for available commands.
PPM> verify
unclosed token at line 10, column 43, byte 924 at
D:/Perl/site/lib/SOAP/Parser.pm line 73
David J Effa
Abbott Laboratories E-Mail: [EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
------_=_NextPart_001_01C05BBC.C082C9F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>RE: PPM Verify Errors Out</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>You need to change the PPM setup to remove the SOAP, =
and use HTTP instead.</FONT>
</P>
<P><FONT SIZE=3D2>Type 'ppm set' and look for the "Current PPD =
repository paths". If this path includes a "soap" URL, =
you need to delete it, and then replace it with the following =
URL:</FONT></P>
<P><FONT SIZE=3D2> ActiveState Package Repository: <A =
HREF=3D"http://www.ActiveState.com/PPMPackages/5.6" =
TARGET=3D"_blank">http://www.ActiveState.com/PPMPackages/5.6</A></FONT>
</P>
<P><FONT SIZE=3D2>Use the "ppm help set" to find out how to =
modify the PPD repository paths.</FONT>
</P>
<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Jonathan</FONT>
<BR><FONT SIZE=3D2>"Joust Not with Dragons, for Thou art Crunchy, =
and Goode with Ketchup..."</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: David Effa [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Friday, December 01, 2000 7:37 AM</FONT>
<BR><FONT SIZE=3D2>To: activeperl</FONT>
<BR><FONT SIZE=3D2>Subject: PPM Verify Errors Out</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Does anyone have any ideas for this problem =
(below).</FONT>
</P>
<P><FONT SIZE=3D2>This happens on both a Windows NT V4 SP 6a server and =
a Windows 2000 SP 1</FONT>
<BR><FONT SIZE=3D2>workstation with Perl V5.6 Build 620.</FONT>
</P>
<P><FONT SIZE=3D2>H:\>ppm</FONT>
<BR><FONT SIZE=3D2>PPM interactive shell (2.1.1) - type 'help' for =
available commands.</FONT>
<BR><FONT SIZE=3D2>PPM> verify</FONT>
</P>
<P><FONT SIZE=3D2>unclosed token at line 10, column 43, byte 924 =
at</FONT>
<BR><FONT SIZE=3D2>D:/Perl/site/lib/SOAP/Parser.pm line 73</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>David J Effa</FONT>
<BR><FONT SIZE=3D2>Abbott =
Laboratories =
E-Mail: [EMAIL PROTECTED]</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>ActivePerl mailing list</FONT>
<BR><FONT SIZE=3D2>[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://listserv.ActiveState.com/mailman/listinfo/activeperl" =
TARGET=3D"_blank">http://listserv.ActiveState.com/mailman/listinfo/activ=
eperl</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C05BBC.C082C9F0--
--__--__--
Message: 3
Date: Fri, 01 Dec 2000 09:56:56 -0800
To: [EMAIL PROTECTED]
From: Janice Jeffries <[EMAIL PROTECTED]>
Subject: emailing from NT using Mail::Mailer
Hi Gang,
I had an application that was using Mail::Mailer to email a log file. It
was working on my workstation, but when I went to put it on the production
server it wouldn't work. So I went back and replicated the situation on
the workstation (basically started with a clean install) and am now getting
the same error. I believe this is a newer version of the MailTools module
and am wondering why this is a problem?
Here is a small program that I'm using to test:
use strict;
use Mail::Mailer;
my $Manager = "jjeffrie\@hq.marh.gov.bc.ca";
my $logfile = "c:\\NTtestPrograms\\logs\\doForms.log";
print "I'm here\n";
my $mailer = Mail::Mailer->new("smtp", "thor.marh.gov.bc.ca");
print "I'm here2\n";
$mailer->open({ 'From' => 'doForms',
'To' => $Manager,
'Subject' => 'doForms' }) or die "Can't open: $!\n";
print "I'm here3\n";
open (LOG, $logfile);
while (<LOG>) {
print $mailer $_;
}
close(LOG);
$mailer->close();
#EOF
The error message is:
"Died at c:/Perl/site/lib/Mail/Mailer.pm line 264"
The error message comes from:
# Fork and start a mailer ******** this is where it dies??? ********
(defined($exe) && open($self,"|-"))
|| $self->exec($exe, $args, \@to)
|| die $!;
So, there you have it.. any suggestions??? Maybe I need to scrap the whole
thing and find another way to email from NT?
Thanks,
Janice
--__--__--
Message: 4
From: David Effa <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: RE: PPM Verify Errors Out
Date: Fri, 1 Dec 2000 12:22:56 -0600
--Boundary=_0.0_=0055600042082153
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Jonathan,
The path seems to be correct as you can see:
H:\>ppm set
Commands will be confirmed.
Temporary files will be deleted.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed=
.
Tracing info will not be written.
Screens will not pause.
Query/search results will be verbose.
Current PPD repository paths:
ActiveState Package Repository:
http://www.ActiveState.com/PPMPackages/5.6
Packages will be built under: C:\DOCUME~1\effad.CMISNT\Local Settings\T=
emp
[EMAIL PROTECTED]
12/01/2000 11:36 AM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject: RE: PPM Verify Errors Out
This message is in MIME format. Since your mail reader does not underst=
and
this format, some or all of this message may not be legible.
-----------------------------------------------------------------------=
-------
--
You need to change the PPM setup to remove the SOAP, and use HTTP inste=
ad.
Type 'ppm set' and look for the "Current PPD repository paths". If this=
path
includes a "soap" URL, you need to delete it, and then replace it with =
the
following URL:
ActiveState Package Repository:
http://www.ActiveState.com/PPMPackages/5.6
Use the "ppm help set" to find out how to modify the PPD repository pat=
hs.
Cheers,
Jonathan
"Joust Not with Dragons, for Thou art Crunchy, and Goode with Ketchup..=
."
-----Original Message-----
From: David Effa [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 7:37 AM
To: activeperl
Subject: PPM Verify Errors Out
Does anyone have any ideas for this problem (below).
This happens on both a Windows NT V4 SP 6a server and a Windows 2000 SP=
1
workstation with Perl V5.6 Build 620.
H:\>ppm
PPM interactive shell (2.1.1) - type 'help' for available commands.
PPM> verify
unclosed token at line 10, column 43, byte 924 at
D:/Perl/site/lib/SOAP/Parser.pm line 73
David J Effa
Abbott Laboratories E-Mail: [EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
=
--Boundary=_0.0_=0055600042082153
Content-Type: application/octet-stream; name=FILE0001.HTM
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=FILE0001.HTM
PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDMuMi8vRU4iPg0KPEhUTUw+
DQo8SEVBRD4NCjxNRVRBIEhUVFAtRVFVSVY9IkNvbnRlbnQtVHlwZSIgQ09OVEVOVD0idGV4dC9o
dG1sOyBjaGFyc2V0PWlzby04ODU5LTEiPg0KPE1FVEEgTkFNRT0iR2VuZXJhdG9yIiBDT05URU5U
PSJNUyBFeGNoYW5nZSBTZXJ2ZXIgdmVyc2lvbiA1LjUuMjY1Mi4zNSI+DQo8VElUTEU+UkU6IFBQ
TSBWZXJpZnkgRXJyb3JzIE91dDwvVElUTEU+DQo8L0hFQUQ+DQo8Qk9EWT4NCg0KPFA+PEZPTlQg
U0laRT0yPllvdSBuZWVkIHRvIGNoYW5nZSB0aGUgUFBNIHNldHVwIHRvIHJlbW92ZSB0aGUgU09B
UCwgYW5kIHVzZSBIVFRQIGluc3RlYWQuPC9GT05UPg0KPC9QPg0KDQo8UD48Rk9OVCBTSVpFPTI+
VHlwZSAncHBtIHNldCcgYW5kIGxvb2sgZm9yIHRoZSAmcXVvdDtDdXJyZW50IFBQRCByZXBvc2l0
b3J5IHBhdGhzJnF1b3Q7LiBJZiB0aGlzIHBhdGggaW5jbHVkZXMgYSAmcXVvdDtzb2FwJnF1b3Q7
IFVSTCwgeW91IG5lZWQgdG8gZGVsZXRlIGl0LCBhbmQgdGhlbiByZXBsYWNlIGl0IHdpdGggdGhl
IGZvbGxvd2luZyBVUkw6PC9GT05UPjwvUD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7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i
c3A7Jm5ic3A7IEUtTWFpbDombmJzcDsgZGF2aWQuZWZmYUBhYmJvdHQuY29tPC9GT05UPg0KPEJS
PjxGT05UIFNJWkU9Mj5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXzwvRk9OVD4NCjxCUj48Rk9OVCBTSVpFPTI+QWN0aXZlUGVybCBtYWlsaW5nIGxpc3Q8L0ZP
TlQ+DQo8QlI+PEZPTlQgU0laRT0yPkFjdGl2ZVBlcmxAbGlzdHNlcnYuQWN0aXZlU3RhdGUuY29t
PC9GT05UPg0KPEJSPjxGT05UIFNJWkU9Mj48QSBIUkVGPSJodHRwOi8vbGlzdHNlcnYuQWN0aXZl
U3RhdGUuY29tL21haWxtYW4vbGlzdGluZm8vYWN0aXZlcGVybCIgVEFSR0VUPSJfYmxhbmsiPmh0
dHA6Ly9saXN0c2Vydi5BY3RpdmVTdGF0ZS5jb20vbWFpbG1hbi9saXN0aW5mby9hY3RpdmVwZXJs
PC9BPjwvRk9OVD4NCjwvUD4NCg0KPC9CT0RZPg0KPC9IVE1MPg==
--Boundary=_0.0_=0055600042082153--
--__--__--
Message: 5
From: "Sturdevant, Robert W. (Contr)" <[EMAIL PROTECTED]>
To: ActivePerl ListServer <[EMAIL PROTECTED]>
Subject: Win32::Service Assist
Date: Fri, 1 Dec 2000 13:23:18 -0500
Hi all,
I am trying to add some perl lines to determine whether an NT service is
running. All seems okay except status hash contains numerics instead of the
expected strings. The numerics vary depending on the service but oddly don't
change whether the service is running or stopped.
Specifically, here's the snippet:
use Win32::Service;
my $ServiceStatus;
$ServiceStatus = Win32::Service::GetStatus( '', 'Messenger', \%ServiceStatus
);
while((my $a, my $b ) = each(%ServiceStatus)) {
print "$a, $b\n";
}
END
$ServiceStatus = 1 so the function thinks it did something, but this the
output:
CurrentState, 4
ServiceType, 32
CheckPoint, 0
ServiceSpecificExitCode, 0
WaitHint, 0
Win32ExitCode, 0
ControlsAccepted, 5
I would expect "CurrentState, SERVICE_RUNNING" and other hash elements to
be as specified in Win32 Platform SDK for the SERVICE_STATUS structure.
What am I doing wrong here? tia
Bob
--__--__--
Message: 6
From: "Jonathan Crowther" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: Installing Modules without PPM
Date: Fri, 1 Dec 2000 12:27:57 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C05BBC.0BC73DC0
Content-Type: text/plain;
charset="iso-8859-1"
PPM does not actually compile modules, but what it does do is unpack them
and remember where they are, so if you want to uninstall a module, PPM knows
where it is and removes it for you. There are other benefits like using
'search' command to find the module packages, and 'verify' to check if you
have the latest versions.
Notwithstanding all this, some modules do need compiling (when they contain
C code as well as plain Perl). For those modules you do need to make sure
they are compiled for the right version of Perl on your machine. PPM will
check this for you, and avoid incompatibilities. However, it won't actually
compile the modules, so if the module is not available in your version of
Perl, it will simply not install it. At that point, you have to do manual
compiling, or persuade someone (usually at ActiveState) to compile it for
you/us.
Cheers,
Jonathan
"Joust Not with Dragons, for Thou art Crunchy, and Goode with Ketchup..."
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 6:15 AM
To: [EMAIL PROTECTED]
Subject: Installing Modules without PPM
I want to install some modules which are not in the PPM repository. I have
succeeded by placing these modules in a dircectory pointed to by @INC. It
works.
My question is, what does the PPM ( or for that matter the makefile under
Unix) do differently. Does it compile to modules into the perl binary?
Joe Davidson
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
------_=_NextPart_001_01C05BBC.0BC73DC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>RE: Installing Modules without PPM</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>PPM does not actually compile modules, but what it =
does do is unpack them and remember where they are, so if you want to =
uninstall a module, PPM knows where it is and removes it for you. There =
are other benefits like using 'search' command to find the module =
packages, and 'verify' to check if you have the latest =
versions.</FONT></P>
<P><FONT SIZE=3D2>Notwithstanding all this, some modules do need =
compiling (when they contain C code as well as plain Perl). For those =
modules you do need to make sure they are compiled for the right =
version of Perl on your machine. PPM will check this for you, and avoid =
incompatibilities. However, it won't actually compile the modules, so =
if the module is not available in your version of Perl, it will simply =
not install it. At that point, you have to do manual compiling, or =
persuade someone (usually at ActiveState) to compile it for =
you/us.</FONT></P>
<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Jonathan</FONT>
<BR><FONT SIZE=3D2>"Joust Not with Dragons, for Thou art Crunchy, =
and Goode with Ketchup..."</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: [EMAIL PROTECTED] [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Friday, December 01, 2000 6:15 AM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: Installing Modules without PPM</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=3D2>I want to install some modules which are not in the =
PPM repository. I have</FONT>
<BR><FONT SIZE=3D2>succeeded by placing these modules in a dircectory =
pointed to by @INC. It</FONT>
<BR><FONT SIZE=3D2>works. </FONT>
</P>
<P><FONT SIZE=3D2> My question is, what does the PPM ( or for that =
matter the makefile under</FONT>
<BR><FONT SIZE=3D2>Unix) do differently. Does it compile to =
modules into the perl binary?</FONT>
</P>
<P><FONT SIZE=3D2>Joe Davidson</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>ActivePerl mailing list</FONT>
<BR><FONT SIZE=3D2>[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://listserv.ActiveState.com/mailman/listinfo/activeperl" =
TARGET=3D"_blank">http://listserv.ActiveState.com/mailman/listinfo/activ=
eperl</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C05BBC.0BC73DC0--
--__--__--
Message: 7
From: "Jonathan Crowther" <[EMAIL PROTECTED]>
To: 'David Effa' <[EMAIL PROTECTED]>
Cc: activeperl <[EMAIL PROTECTED]>
Subject: RE: PPM Verify Errors Out
Date: Fri, 1 Dec 2000 13:52:04 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C05BC7.CBCF8BD0
Content-Type: text/plain;
charset="iso-8859-1"
OK.
Your TEMP area is different than mine. I use C:\TEMP
Not sure if that matters.
If it's WinNT, make sure the permissions are open (Full Control everyone)
When I saw this error before, I did totally reinstall perl and it went away,
but I cannot remember whether that fixed it or whether it was what I posted
below.
The important thing when installing new perl is to uninstall ALL old version
first (including current version) using the Control Panel -> Add/Remove
Programs
Also, delete the C:\perl directory (or wherever you keep perl) before
installing the latest version.
Did you do all that when you installed the latest version? If not, I can
only suggest you try it (i.e. totally uninstall perl and delete spurious
files before reinstalling).
Cheers,
Jonathan
-----Original Message-----
From: David Effa [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 10:23 AM
To: Crowther, Jonathan [ORCH:9T03-M:EXCH]
Cc: activeperl
Subject: RE: PPM Verify Errors Out
Jonathan,
The path seems to be correct as you can see:
H:\>ppm set
Commands will be confirmed.
Temporary files will be deleted.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed.
Tracing info will not be written.
Screens will not pause.
Query/search results will be verbose.
Current PPD repository paths:
ActiveState Package Repository:
http://www.ActiveState.com/PPMPackages/5.6
Packages will be built under: C:\DOCUME~1\effad.CMISNT\Local Settings\Temp
[EMAIL PROTECTED]
12/01/2000 11:36 AM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject: RE: PPM Verify Errors Out
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
----------------------------------------------------------------------------
--
--
You need to change the PPM setup to remove the SOAP, and use HTTP instead.
Type 'ppm set' and look for the "Current PPD repository paths". If this path
includes a "soap" URL, you need to delete it, and then replace it with the
following URL:
ActiveState Package Repository:
http://www.ActiveState.com/PPMPackages/5.6
Use the "ppm help set" to find out how to modify the PPD repository paths.
Cheers,
Jonathan
"Joust Not with Dragons, for Thou art Crunchy, and Goode with Ketchup..."
-----Original Message-----
From: David Effa [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 7:37 AM
To: activeperl
Subject: PPM Verify Errors Out
Does anyone have any ideas for this problem (below).
This happens on both a Windows NT V4 SP 6a server and a Windows 2000 SP 1
workstation with Perl V5.6 Build 620.
H:\>ppm
PPM interactive shell (2.1.1) - type 'help' for available commands.
PPM> verify
unclosed token at line 10, column 43, byte 924 at
D:/Perl/site/lib/SOAP/Parser.pm line 73
David J Effa
Abbott Laboratories E-Mail: [EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
------_=_NextPart_001_01C05BC7.CBCF8BD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>RE: PPM Verify Errors Out</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>OK.</FONT>
<BR><FONT SIZE=3D2>Your TEMP area is different than mine. I use =
C:\TEMP</FONT>
<BR><FONT SIZE=3D2>Not sure if that matters.</FONT>
<BR><FONT SIZE=3D2>If it's WinNT, make sure the permissions are open =
(Full Control everyone)</FONT>
</P>
<P><FONT SIZE=3D2>When I saw this error before, I did totally reinstall =
perl and it went away, but I cannot remember whether that fixed it or =
whether it was what I posted below.</FONT></P>
<P><FONT SIZE=3D2>The important thing when installing new perl is to =
uninstall ALL old version first (including current version) using the =
Control Panel -> Add/Remove Programs</FONT></P>
<P><FONT SIZE=3D2>Also, delete the C:\perl directory (or wherever you =
keep perl) before installing the latest version.</FONT>
</P>
<P><FONT SIZE=3D2>Did you do all that when you installed the latest =
version? If not, I can only suggest you try it (i.e. totally uninstall =
perl and delete spurious files before reinstalling).</FONT></P>
<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Jonathan</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: David Effa [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Friday, December 01, 2000 10:23 AM</FONT>
<BR><FONT SIZE=3D2>To: Crowther, Jonathan [ORCH:9T03-M:EXCH]</FONT>
<BR><FONT SIZE=3D2>Cc: activeperl</FONT>
<BR><FONT SIZE=3D2>Subject: RE: PPM Verify Errors Out</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Jonathan,</FONT>
</P>
<P><FONT SIZE=3D2>The path seems to be correct as you can see:</FONT>
</P>
<P><FONT SIZE=3D2>H:\>ppm set</FONT>
<BR><FONT SIZE=3D2>Commands will be confirmed.</FONT>
<BR><FONT SIZE=3D2>Temporary files will be deleted.</FONT>
<BR><FONT SIZE=3D2>Case-insensitive searches will be performed.</FONT>
<BR><FONT SIZE=3D2>Package installations will continue if a dependency =
cannot be installed.</FONT>
<BR><FONT SIZE=3D2>Tracing info will not be written.</FONT>
<BR><FONT SIZE=3D2>Screens will not pause.</FONT>
<BR><FONT SIZE=3D2>Query/search results will be verbose.</FONT>
<BR><FONT SIZE=3D2>Current PPD repository paths:</FONT>
<BR><FONT SIZE=3D2> =
ActiveState Package Repository:</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.ActiveState.com/PPMPackages/5.6" =
TARGET=3D"_blank">http://www.ActiveState.com/PPMPackages/5.6</A></FONT>
<BR><FONT SIZE=3D2>Packages will be built under: =
C:\DOCUME~1\effad.CMISNT\Local Settings\Temp</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=3D2> [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2> 12/01/2000 11:36 AM</FONT>
</P>
<P><FONT SIZE=3D2> To: =
[EMAIL PROTECTED], [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2> cc:</FONT>
<BR><FONT SIZE=3D2> Subject: RE: PPM Verify Errors =
Out</FONT>
</P>
<P><FONT SIZE=3D2>This message is in MIME format. Since your mail =
reader does not understand</FONT>
<BR><FONT SIZE=3D2>this format, some or all of this message may not be =
legible.</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>You need to change the PPM setup to remove the SOAP, =
and use HTTP instead.</FONT>
</P>
<P><FONT SIZE=3D2>Type 'ppm set' and look for the "Current PPD =
repository paths". If this path</FONT>
<BR><FONT SIZE=3D2>includes a "soap" URL, you need to delete =
it, and then replace it with the</FONT>
<BR><FONT SIZE=3D2>following URL:</FONT>
<BR><FONT SIZE=3D2> ActiveState Package Repository:</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.ActiveState.com/PPMPackages/5.6" =
TARGET=3D"_blank">http://www.ActiveState.com/PPMPackages/5.6</A></FONT>
</P>
<P><FONT SIZE=3D2>Use the "ppm help set" to find out how to =
modify the PPD repository paths.</FONT>
</P>
<P><FONT SIZE=3D2>Cheers,</FONT>
<BR><FONT SIZE=3D2>Jonathan</FONT>
<BR><FONT SIZE=3D2>"Joust Not with Dragons, for Thou art Crunchy, =
and Goode with Ketchup..."</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: David Effa [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Friday, December 01, 2000 7:37 AM</FONT>
<BR><FONT SIZE=3D2>To: activeperl</FONT>
<BR><FONT SIZE=3D2>Subject: PPM Verify Errors Out</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Does anyone have any ideas for this problem =
(below).</FONT>
</P>
<P><FONT SIZE=3D2>This happens on both a Windows NT V4 SP 6a server and =
a Windows 2000 SP 1</FONT>
<BR><FONT SIZE=3D2>workstation with Perl V5.6 Build 620.</FONT>
</P>
<P><FONT SIZE=3D2>H:\>ppm</FONT>
<BR><FONT SIZE=3D2>PPM interactive shell (2.1.1) - type 'help' for =
available commands.</FONT>
<BR><FONT SIZE=3D2>PPM> verify</FONT>
</P>
<P><FONT SIZE=3D2>unclosed token at line 10, column 43, byte 924 =
at</FONT>
<BR><FONT SIZE=3D2>D:/Perl/site/lib/SOAP/Parser.pm line 73</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>David J Effa</FONT>
<BR><FONT SIZE=3D2>Abbott =
Laboratories =
E-Mail: [EMAIL PROTECTED]</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>ActivePerl mailing list</FONT>
<BR><FONT SIZE=3D2>[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://listserv.ActiveState.com/mailman/listinfo/activeperl" =
TARGET=3D"_blank">http://listserv.ActiveState.com/mailman/listinfo/activ=
eperl</A></FONT>
</P>
<BR>
</BODY>
</HTML>
------_=_NextPart_001_01C05BC7.CBCF8BD0--
--__--__--
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
End of ActivePerl Digest
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl