Andres Mejia <[EMAIL PROTECTED]> - Fri, 11 Apr 2008 16:08:55 -0400

>On Tuesday 08 April 2008 2:23:27 am Michel BRIAND wrote:
>> >Hello,
>> >
>> >Can you try
>> >running 'nvidia-cg-toolkit-installer --proxy
>> >"http://your_login:[EMAIL PROTECTED]" on they command line? Can you
>> >then try running just 'nvidia-cg-toolkit-installer --proxy'?
>>
>> Hello,
>>
>> none of the above lines work. Sorry. Same errors as before.
>>
>> It seems that you have to look into your calls to LWP (Protocol.pm)
>> to see if you don't forget any parameter (remind of the Use of
>> uninitialized... warnings).
>>
>> Cheers,
>> Michel
>
>Looks like I'm able to reproduce this bug when I specify the proxy
>without the "http://"; part.
>
>nvidia-cg-toolkit-installer --install --proxy "proxy"
>
>It gives me this error (with the new release 2.0.0012.deb3).
>
>Downloading 
>http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_x86.tar.gz
> 
>on the i386 architecture.
>Use of uninitialized value in hash element
>at /usr/share/perl5/LWP/Protocol.pm line 55.
>Use of uninitialized value in pattern match (m//) 
>at /usr/share/perl5/LWP/Protocol.pm line 58.
>Use of uninitialized value in concatenation (.) or string 
>at /usr/share/perl5/LWP/Protocol.pm line 38.
>Use of uninitialized value in string eq
>at /usr/share/perl5/LWP/UserAgent.pm line 195.
>501 Protocol scheme '' is not supported
>Failed to download NVIDIA Cg Toolkit.
>
>Can you try running the commands as follows?
>
>nvidia-cg-toolkit-installer --install --proxy "proxy"
>
>and
>
>nvidia-cg-toolkit-installer --install --proxy "http://proxy";
>

Hi Andres,

I cannot run this test because I do not have the same configuration at
home (at work I used a proxy).

But the last message report I sent to you was also intended to show you
that the script emits those message even without a proxy specified.

I ran the script here at home without a proxy (direct connection to the
internet). Here is what it outputs:

[EMAIL PROTECTED] ~ # nvidia-cg-toolkit-installer --install
Downloading
http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_x86.tar.gz
for the i386 architecture. Use of uninitialized value in hash element
at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized value
in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm line 58. Use
of uninitialized value in concatenation (.) or string
at /usr/share/perl5/LWP/Protocol.pm line 38. Use of uninitialized value
in string eq at /usr/share/perl5/LWP/UserAgent.pm line 195. Downloading
http://developer.download.nvidia.com/cg/Cg_2.0/2.0.0012/Cg-2.0_Jan2008_LanguageSpecification.pdf
for the i386 architecture. Use of uninitialized value in hash element
at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized value
in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm line 58. Use
of uninitialized value in concatenation (.) or string
at /usr/share/perl5/LWP/Protocol.pm line 38. Use of uninitialized value
in string eq at /usr/share/perl5/LWP/UserAgent.pm line 195. Can't open
'/tmp/toolkit_file35007.tar.gz': No such file or directory
at /usr/bin/nvidia-cg-toolkit-installer line 222. Checking MD5 sum for
NVIDIA Cg Toolkit file...

Then I decided to use your suggested command line argument with a proxy
that my ISP have, it doesn't hurt :).

You're right, the proxy argument has to be correctly spelled. Like this
"http://xxxxx:pppp";. Then it works !

But when you specify no proxy argument the script fails as well.

Conclusion:

- you have to check for the no proxy case, and be sure you do not use
unset variables, or output empty options to the LWP library,

- you have to check the syntax for the proxy argument, and fails if it
does not match you critera

On suggestion: create a list of all files installed through
nvidia-cg-toolkit-installer and, when uninstall option is called, use
that list to remove all those files. Instead of having an "hard coded"
list of files in your Perl :^)

Cheers,
Michel
-- 

 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-    our own. Resistance is futile.

 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to