On 04/11/2011 10:27 AM, Jean-Baptiste BRIAUD -- Novlog wrote:
> Hi Martin,
>
> Thanks for caring. 3 points :
>
> 1. The plugin Unfortunately, that FF plugin isn't very configurable
> (ghostery), so I have no idea ... I had to whitelist localhost
> domain. I'm afraid I'll have the issue on our production servers
> which are not localhost ...

If I get it right, Ghostery offers you a FF status bar entry (a la 
Firebug), maybe this is something you have to enable. But with this in 
place you should be able to get a menu which shows you what has been 
blocked on any particular page, so you could see what of you app has 
been blocked, and maybe why. They offer a comprehensive set of 
"drill-in" features.

>
> 2. The toolchain The migration goes well, like a breeze for the code
> base but I haven't tested everything. Amazingly, I had to amend all
> the python scripts to replace all the CMD_PYTHON=sys.executable that
> pypy guys advice to add (I replaced by CMD_PYTHON = python). In fact,
> due to the fact we are launching that python toolchain automatically,
> I mean by a Java program as we're generarting qooxdoo apps, that
> sys.executable was not referencing python for obscure reason. Anyway,
> it was easy and quick to do. Could I set some env value so I can use
> the toolchain without changing anything, for example, could I set
> sys.executable = python from Java prior to launch generate.py ?

No, you can't change an internal Python value like sys.executable 
through simple environment variables (thankfully).

As you might gathered from the release notes, we are now using 
sys.executable throughout the tool chain, also in the form of a 
PYTHON_CMD macro. But as your problem is not config files but patched 
.py files, I'm afraid you have to look through the places you used it. 
For the places it is used in the vanilla qooxdoo SDK (basically the 
generate.py script), there is no reason why this should not work.

Except, of course, as you are launching the generator though a Java 
program, it all depends through which Java API you are launching it (I 
presume as a separate process), and which settings the API passes to the 
launched program. Write a Shell script to just dump the passed argv, to 
see if the executable is passed as well. Maybe you have to tweak the 
launch call.

T.


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to