Thanks for the hint, Thomas - and this is what I found out (I had zero
knowledge of Python, now I know at least some tiny details):

The urllib module doesn't support proxies that require authentication. Since
I'm sitting behind one of those beasts I had to use the urllib2 module and
modify the generator by adding some authentication stuff (as described in
[2]) to ContribLoader.getRevision as well as Wget.getPage. This way I
finally managed to get through the proxy, download the desired contribution
and successfully complete the generation process.

However, when I try to run such an application it does get loaded into the
browser (according to Firebug) but nothing shows up, i. e. the browser
window remains blank. If I remove all references to the contribution from
config.json and the application itself everything is fine. (BTW: I've tested
with the DarkTheme and the Dialog contributions using qx 1.0.1.)

Any ideas what I might be doing wrong here?

Cheers,

  Norbert

[2]
http://bytes.com/topic/python/answers/822243-python-behind-squid-corporate-proxy-windows



thron7-2 wrote:
> 
> The generator uses the urllib module of Python. This module checks for
> proxy settings in the shell environment which runs the generator
> command. ON *ix systems for example, you can set an environment
> variable, like
> 
>   http_proxy="http://www.someproxy.com:3128";; export http_proxy
> 
> On Windows, if no shell settings are found, the registry will be
> queried. On MacOS, the Internet Config will be queried.
> 
> At least, that's what the docs say. Give it a go, and report back any
> outcomes. For details see [1].
> 
> T.
> 
> [1] http://docs.python.org/release/2.5.4/lib/module-urllib.html
> 
> On 11/10/2010 10:57 AM, Norbert Schroeder wrote:
>> 
>> Hi,
>> 
>> is there any chance of getting the generator to download a qooxdoo
>> contribution from behind a proxy server?
>> 
>> Cheers,
>> 
>>   Norbert
>> 
> 
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Generator-contributions-proxy-server-tp5724085p5725538.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to