Re: [gDesklets] Http Proxy

Hi there,

> I have a ssh tunnel running which creates a socks4 server. The code 
> 'export HTTP_PROXY=' in creates the following 
> error message.
> "An error occurred while executing a desklet."

Hmmmm... I am not sure, but as far as I can see the problem is, that
"export" isn't valid python. Looks to me that you are mixing up bash and
python a bit.
If I type "export" or "export HTTP_PROXY=" into the python
shell I get the following error:

Python 2.4.4 (#1, Nov  4 2007, 09:33:30)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> export
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'export' is not defined
>>> export HTTP_PROXY=
  File "<stdin>", line 1
    export HTTP_PROXY=
SyntaxError: invalid syntax

But I am neither a python nor a bash guru ;).

Hope I am not too wrong and that I could help...

Greetings, Bjoern

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]