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

Reply via email to