Hey,

somehow I thought I have to set that optimize thing in
build-script/compile-options - doing it as you suggested in the "let"
section worked, but I still have no clue:

if(method.self==clazz){method.self=wrapper;
}}}for(var key in this.$$registry){var construct=this.$$registry[key];

This is the code (line 1057) where firebug reports: method is null.
Seems to be part of the loader - when I create a new empty standalone
app with create-application.py --name qxtest and then build it, line
1057 of qxtest.js contains exactly the same code.

Any idea what that could mean? Don't know what I should look for in my
code :-/

Thanks

Jörg

Am Donnerstag, den 13.05.2010, 17:36 -0400 schrieb Derrell Lipman:
> On Wed, May 12, 2010 at 16:12, Jörg Sawatzki <[email protected]>
> wrote:
>         Hi folks,
>         
>         If I run ./generate.py build (did a distclean before) and then
>         open the
>         whole thing in a browser, I get an error that probably doesn't
>         help you
>         and me very much:
>         
>         "q is null"
>         http://localhost:8000/site-media/myfm/build/script/myfm.js
>         Line 1074
>         
>         How can I debug that and find out what is wrong? As already
>         mentioned
>         opening source/index.html in the browser is not a problem -
>         everything
>         works.
> 
> For the time being, turn off all optimizations. In your config.json
> file, add a line to the "let" section with key "OPTIMIZE" and value
> empty array, e.g. the last line here:
> 
>    "let" :
>   {
>     "APPLICATION"  : "shopping",
>     "QOOXDOO_PATH" : "../../../../../../qooxdoo.git/trunk/qooxdoo",
>     "QXTHEME"      : "shopping.theme.Theme",
>     "API_EXCLUDE"  : ["qx.test.*", "${APPLICATION}.theme.*",
> "${APPLICATION}.test.*"],
>     "LOCALES"      : [ "en" ],
>     "CACHE"        : "${TMPDIR}/cache",
>     "ROOT"         : ".",
>     "OPTIMIZE"     : []
>   },
> 
> Then the line number it gives you (and hopefully the variable name)
> will be meaningful and you can look at the .js file to see where it
> really is.
> 
> Cheers,
> 
> Derrell
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to