News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Create phonelines scripts issues

Started by legolas, February 26, 2008, 04:10:07 PM

Previous topic - Next topic

legolas

I tested phone lines for all available providers (including those provided by comunity) and looks like a couple of them are messed:

/usr/pluto/bin/create_amp_phoneline.sh 1und1 1 2 3 4
Argument "" isn't numeric in numeric gt (>) at
        /usr/pluto/bin/create_amp_1und1.pl line 174 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Can't use string ("4") as an ARRAY ref while "strict refs" in use at
        /usr/pluto/bin/create_amp_1und1.pl line 95 (#2)
    (F) Only hard references are allowed by "strict refs".  Symbolic
    references are disallowed.  See perlref.

Uncaught exception from user code:
        Can't use string ("4") as an ARRAY ref while "strict refs" in use at /usr/pluto/bin/create_amp_1und1.pl line 95.
at /usr/pluto/bin/create_amp_1und1.pl line 95



/usr/pluto/bin/create_amp_phoneline.sh sipgradwell qq aa zz xx
Argument "" isn't numeric in numeric gt (>) at
        /usr/pluto/bin/create_amp_sipgradwell.pl line 176 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.


curl: (1) Unsupported protocol:  http

curl: (1) Unsupported protocol:  http


/usr/pluto/bin/create_amp_phoneline.sh viatalk_us-central rrr ttt ggg fff
Argument "" isn't numeric in numeric gt (>) at
        /usr/pluto/bin/create_amp_viatalk_us-central.pl line 174 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

Can't use string ("fff") as an ARRAY ref while "strict refs" in use at
        /usr/pluto/bin/create_amp_viatalk_us-central.pl line 95 (#2)
    (F) Only hard references are allowed by "strict refs".  Symbolic
    references are disallowed.  See perlref.

Uncaught exception from user code:
        Can't use string ("fff") as an ARRAY ref while "strict refs" in use at /usr/pluto/bin/create_amp_viatalk_us-central.pl line 95.
at /usr/pluto/bin/create_amp_viatalk_us-central.pl line 95


It will be nice if someone can take a look at them, to be able to include them in the beta 4 scheduled next week.
Thanks.

PeteK

It would definitely help them do so if you create a mantis bug report and attach this info.  Thanks a lot for the help.

-Pete

Zaerc

Seems to me that those scripts simply don't like arguments such as "1 2 3 4", "qq aa zz xx" and "rrr ttt ggg fff".  Then again I have no clue what this is about, care to elaborate?
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]