Hi JBB,

so for pypy you had to download 2.5 GB of code and it took you more than
1 hour to compile it on a recent i7 machine!? Are you still complaining
about the qooxdoo generator speed, then?

Just kidding ;-). Give it another try with using the "verbose" option,
i.e. call "pypy generate.py -v build". That should give you a more
detailed error message. Would be great you kept trying with the help of
the pypy people.

Since the hello world now seems to work fine with pypy (which to my
knowledge previously and without the very recent fixes to pypy never
worked), maybe the problems with your project are also due to the
qooxdoo default encoding UTF-8 (rather than ascii), particularly if you
have accented chars for French translations in your files. Just a
guess...

Please note that Thomas has been on vacation for the last two weeks and
is to return not before Monday.

Bye,

Andreas


On Thu, 2010-08-26 at 14:45 +0200, Jean-Baptiste BRIAUD -- Novlog wrote:
> Finally, I didn't gave up ... :-)
> 
> I manage to get a proper C dev env in my Mac (by simply downloading 2.5 Go of 
> xcode).
> Yes, 2.5 Go !
> 
> Anyway, I was then able to recompile pypy from the trunk.
> I try to run generate.py using pypy.
> It had failed.
> I have no idea what was wring in the pypy code but the pypy guys downloaded 
> qx sdk to have the the helloword application.
> They correct what had failed in pypy and I recompiled it (1hour each time, 
> yes 1 hours of gcc ...)
> 
> I created a qooxdoo hello world application and manage to launch a generate 
> build using pypy rather than python.
> 
> I then try to run the same way on my project.
> I apply the CMD_PYTHON = sys.executable modification on all my local 
> generate.py and use pypy rather than python.
> It failed on a rather cryptic C error : [Errno 9] Bad file descriptor: 
> '<fdopen>'
> There must be some new python code section called in the generate.py that is 
> called for my project that is not called for the simple helloworld.
> Now, I give up cause I don't speak python and I used to speak C long time ago 
> ...
> 
> I think this experiment should encourage to try the pypy way to speedup all 
> the python tool chain.
> Apparently this look like doable but I don't have the knowledge to help more 
> and reach the goal : pypy generate.py build.
> 
> 
> On 25 août 2010, at 13:49, Jean-Baptiste BRIAUD -- Novlog wrote:
> 
> > OK, pypy look like a very good thing to try.
> > 
> > I had to replace 
> > CMD_PYTHON = 'python'
> > by
> > CMD_PYTHON = sys.executable
> > 
> > in the generate.py of the application folder to ensure pypy launch the 
> > "real" generator.
> > Unfortunately, generate.py doesn't work with pypy.
> > It blow up in error.
> > I had an very interesting IRC session with the pypy guys.
> > I end up trying to build pypy from trunk.
> > There is version for several OS prebuilt but they asked me to try the trunk 
> > because they already know that the latest prebuilt version will not work 
> > with generate.py they kindly inspected.
> > 
> > Anyway, after hours trying to use gcc on my Mac I gave up.
> > 
> > conclusions :
> > 1. pypy is a real way to improve Python runtime but generate.py apparently 
> > would need some hacks. Qooxdoo can you do something here ?
> > 2. The only thing I can think about now, is the precompiled version of 
> > qooxdoo but I still have that merge question, see the other thread.
> > 
> > 
> > On 24 août 2010, at 23:35, <f...@mail.dnttm.ro> <f...@mail.dnttm.ro> wrote:
> > 
> >> Hi.
> >> 
> >> Maybe http://codespeak.net/pypy/dist/pypy/doc/ is a more viable direction 
> >> of research? 
> >> 
> >> As far as I could understand psyco is not developed anymore because the 
> >> effort goes now into developing pypy - an optimized python interpreter, 
> >> which does the optimizations psyco did on all interpreted code by default.
> >> 
> >> br,
> >> 
> >> flj
> >> 
> >> 


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to