Subject: | script abruptly exits when sending sms |
Date: | Mon, 5 Mar 2012 15:08:43 +0530 |
To: | <bug-net-sms-way2sms [...] rt.cpan.org>, <adarshtp [...] cpan.org> |
From: | "Arun Kumar" <arunkumar.mani [...] plintron.com> |
Hi,
I converted my perl script into exe using pp. But when is started running
the exe, the console closes abruptly with the following error :
"The locale codeset (cp1252) isn't one that perl can decode, stopped at
Encode/Lo
cale.pm line 87.
Compilation failed in require at LWP/UserAgent.pm line 976."
The exe works fine if it doesn't enter the "if " condition in the
"Automation_SMS_Gateway.pl", hence I'm sure there is something gone wrong
when it enters way2sms module.
I have attached the scripts which I'm using.
Below are the details which I get while converting the script to exe.
D:\ Perl codes >pp -M Net::SMS::WAY2SMS Automation_SMS_Gateway.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS: I cant attach exe in the mails that's why I have sent you the script.
Requesting you to convert it to exe using pp. My platform is windows xp.
Also don't forget to change the credentials of way2sms login.
Expecting your help.
Regards,
Arun
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.