Re: [qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-05 Thread John Spackman
Done http://bugs.qooxdoo.org/show_bug.cgi?id=6098 On 06/02/2012 07:26, "thron7" wrote: >> Hi Thomas >> Line 40 is the last closing brace in the config.json snippet above but the problem is caused by having a double slash in the value for "uri" on the previous line. >>

Re: [qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-05 Thread thron7
> Hi Thomas > >>>Line 40 is the last closing brace in the config.json snippet above but >>>the >>> problem is caused by having a double slash in the value for "uri" on >>> the >>> previous line. >>> >>> It's typo in my config.json but the error message is rather obscure and >>> took >>> me a while

Re: [qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-05 Thread John Spackman
Hi Thomas >>Line 40 is the last closing brace in the config.json snippet above but >>the >> problem is caused by having a double slash in the value for "uri" on the >> previous line. >> >> It's typo in my config.json but the error message is rather obscure and >> took >> me a while to figure out w

Re: [qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-03 Thread thron7
Hi John, > Hi, > > I got this weird error when running the generator: > > My config.json > "libraries" : { > > "=library" : [ { > > "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json", > > "uri" : "${QOOXDOO_URI}" > > }, { > > "manifest" : "Manifest.json", > > "uri" : "/__grasshopper.v3forms//c

Re: [qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-03 Thread Daniel Wagner
Hi John, that's a bug. The generator uses the simplejson module which doesn't support JS-style comments in the string, so we strip them out before parsing. Here a RegEx misidentifies the double slashes as a comment and removes them and the rest of the line, so you end up with a newline where t

[qooxdoo-devel] Error when running generator: Invalid control character u'\n'

2012-02-03 Thread John Spackman
Hi, I got this weird error when running the generator: My config.json "libraries" : { "=library" : [ { "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json", "uri" : "${QOOXDOO_URI}" }, { "manifest" : "Manifest.json", "uri" : "/__grasshopper.v3forms//control-panel.html!/bootstrap" } Out