So, after all, would you be so kind and explain what is the name of this
file, what does it contain, and why Photoshop would use a ".b64.json"
file ending, so all people involved get a chance to understand things?!
T.
On 06/10/2011 04:58 PM, Victor Powell wrote:
>
> I was able to solve the issue by adding the following line:
>
> * print self.path*
> *
> *
> to /opt/qooxdoo-1.4-sdk/tool/pylib/generator/resource/Image.py line 57
>
> which showed me the image that python through an exception. I then
> re-exported my image from photoshop and how everything is fine.
>
>
>
>
> 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
>
> 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 <tel:%28412%29%20225%20-%200015>
>
>
>
>
> ------------------------------------------------------------------------------
> 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