Proxy Support for AWN Applets

Asked by Wittke

Are you planning to provide proxy support for AWN applets. Id like to use weather und comics (dilbert) on jaunty, but Im behind a firewall and its not working yet.

I can't use it for now. If you don't planning it, do you have a tip to modify scripts or set up a system variable to have a workaround for it.

I can use all other applications normaly (except weather applet in clock module for panel, which is not working since I updated to jaunty). I tried to set it with network-proxy from system - system control, but no result at all.

Question information

Language:
English Edit question
Status:
Answered
For:
Awn Extras Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Lee (malept) said :
#1

This is really dependent upon the individual applet developer - Awn itself doesn't provide any sort of networking API.

For some of the Python-based applets, you can try setting the http_proxy environment variable (yes, it is lower-case for some bizarre reason) if your proxy is HTTP-based.

Source:
http://docs.python.org/library/urllib.html#urllib.urlopen

Revision history for this message
Wittke (rwittke) said :
#2

Thanks, Ill try to solved that way. I already tried http_proxy. But maybe I set it incorrectly.

Revision history for this message
Mark Lee (malept) said :
#3

It seems that the applets in question use urllib2 instead of urllib, which requires applet developers to add proxy support themselves. Sorry about the confusion. Please file separate bugs (one for each applet that is affected) with the bug summary "Applet Name: add proxy support" (assuming there already aren't bugs for these, I haven't checked).

Can you help with this problem?

Provide an answer of your own, or ask Wittke for more information if necessary.

To post a message you must log in.