On 12/09/2011 11:28 AM, Silas Parker wrote:
> Hi All,
>
> I'm very pleased to see the new version of Qooxdoo, it looks like it
> has some great new features.
>
> I had a problem which I've solved with the generator I thought I
> should let people know about, but I'm also getting another generator
> warning I'm not sure about.
>
>
> The generator had been throwing an unhanded exception after I
> upgraded, with the message: (full stack trace at bottom of email)
>
> AttributeError: 'NoneType' object has no attribute 'type'
>
> It was in code trying to get a class name, from a file. I added the
> line "print filePath" to tool/pylib/generator/resource/Library.py line
> 445 to print out the files it was processing.
>
> It turned out the files it was choking on were fully commented out
> (the whole class definition was in /* */), and removing these old
> files fixed the issue.

Yes, please open a bug for this. Thanks for the digging.

> I don't know if this is a bug in the new generator, but the problem
> didn't occur in 1.5.
> A nice option for the generator could be to print file names as
> they're processed rather than the spinner.

Well, people have very mixed feelings about the amout of info logging. 
But in case of an error, there should be definitely a print out of the 
file name and line number.

The point here is that we switched from regex'ing through .js files to 
find class names, to full parsing of the code. That changed from 1.5.

>
> The other message I'm getting is
>
> Error: Unknown compiler hint '#resource' in grt.ui.core.LoadingBlocker
>
> Has #resource been replaced by #asset ? Are these the same thing ?

That shouldn't be an error, but just a warning, right?! - But yes, 
#resource has been replaced with #asset, in ... 1.0, I think.

T.



------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to