[reportlab-users] Unicode character Eclipse IDE vs. MS VisualStudio 2012

Tom Py mailtank2013 at gmail.com
Wed Jan 23 08:20:59 EST 2013


Hi Robin,

I solved the problem switching back to Python. Appatently it is an
IronPython-Problem.

Thank for help,

Tom


2013/1/18 Robin Becker <robin at reportlab.com>


> On 18/01/2013 10:18, Tom Py wrote:

>

>> Hi Robin,

>>

>> in Eclipse IDE it works fine but in VS2012 I get an error for both ways:

>>

>

> not exactly sure what you mean by VS2012, are you running ironpython in

> visualstudio? How does the code work when you run it in ironpython? This

> stuff all works fine in CPython and mostly in jython. Presumably the

> ironpython in vs2012 has some difference from that being used in eclipse or

> the ide is breaking the actual code in some other way. Unfortunately I

> can't map your line numbers to the latest code so I don't know exactly

> where this is breaking. The code in pdfbase/rl_codecs is using stuff from

> the codecs library so perhaps that's where things are broken.

>

>

>

>> Traceback (most recent call last):

>> File "C:\Program Files (x86)\IronPython

>> 2.7.2\lib\site-packages\**reportlab\platypus\tables.py", line 562, in

>> _calc_height

>> File "C:\Daten\reportlabTest\**reportlabTest\reportlabTest.**py",

>> line 9, in

>> <module>

>> File "C:\Program Files (x86)\IronPython

>> 2.7.2\lib\site-packages\**reportlab\platypus\flowables.**py", line 120,

>> in

>> wrapOn

>> File "C:\Program Files (x86)\IronPython

>> 2.7.2\lib\site-packages\**reportlab\platypus\tables.py", line 1172, in

>> wrap

>> File "C:\Program Files (x86)\IronPython

>> 2.7.2\lib\site-packages\**reportlab\platypus\tables.py", line 624, in

>> _calc

>> UnicodeDecodeError: ('unknown', u'\xc3', 0, 1, '')Press any key to

>> continue

>> . . .

>>

>>

>> Any idea?

>>

>> Tom

>> .........

>>

>

> --

> Robin Becker

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20130123/748841fa/attachment.html>


More information about the reportlab-users mailing list