You seem to have a '.b64.json' file in your resource folder. These files
are special to qooxdoo and have to be textual files, encoded in utf-8,
containing a Json structure. - What are you using it for? How did you
get it? - Shouldn't be hard to locate it now that you know the extension.
How many resource files do you have in your application anyway?
T.
On 06/10/2011 04:08 PM, Victor Powell wrote:
> I'm on OS X which doesn't come with isutf8 and I cant seem to find the
> source.
>
> Also, I cant this output when I run this command:
>
> $ ./generate.py --verbose --config-verbose --stacktrace source
>
> output:
>
> Traceback (most recent call last):
> File "/opt/qooxdoo-1.4-sdk/tool/bin/generator.py", line 224, in <module>
> main()
> File "/opt/qooxdoo-1.4-sdk/tool/bin/generator.py", line 218, in main
> generatorObj.run()
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/Generator.py", line
> 560, in run
> prepareGenerator1()
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/Generator.py", line
> 500, in prepareGenerator1
> self._libraries) = scanLibrary(config.get("library", []))
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/Generator.py", line
> 263, in scanLibrary
> libObj.scan()
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Library.py",
> line 157, in scan
> self._scanResourcePath(self._resourcePath)
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Library.py",
> line 252, in _scanResourcePath
> res.analyzeImage()
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Image.py",
> line 57, in analyzeImage
> imgInfo = self.getInfo()
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Image.py",
> line 196, in getInfo
> if img.verify():
> File "/opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Image.py",
> line 349, in verify
> cont = self.fp.read()
> File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py",
> line 671, in read
> return self.reader.read(size)
> File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py",
> line 477, in read
> newchars, decodedbytes = self.decode(data, self.errors)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xaa in position 73:
> invalid start byte
>
>
> it seems you have invalid utf-8 files.
> a good start point would be to test the whole dir structure and find
> those
> bad files.
> you could use this tool:
> http://linux.die.net/man/1/isutf8
> then check that file and remove the invalid characters.
> cheers, gabi
>
>
> --
> Victor Powell
> http://victorp.me
> (412) 225 - 0015
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel