TheTash / l5rcm

Automatically exported from code.google.com/p/l5rcm
GNU General Public License v3.0
0 stars 0 forks source link

Pdf export not working with non-ascii characters #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Building a character
2. Save it
3. Export as pdf

What is the expected output? What do you see instead?
Its supposed to export as a pdf file yet it doesn't work
The more frustrating is that it worked once !
Just not anymore

What version of the product are you using? On what operating system?
Windows I use L5RCM 3.7.1

Please provide any additional information below.
 Here is the exe.log

Traceback (most recent call last):
  File "sinks\sink_1.pyc", line 73, in export_character_as_pdf
  File "l5rcmcore.pyc", line 220, in export_as_pdf
  File "l5rcmcore.pyc", line 175, in _create_fdf
  File "exporters\fdfexporter.pyc", line 39, in export
  File "exporters\fdfexporter.pyc", line 259, in export_body
  File "exporters\fdfexporter.pyc", line 62, in export_field
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 
18: ordinal not in range(128)
Traceback (most recent call last):
  File "sinks\sink_1.pyc", line 73, in export_character_as_pdf
  File "l5rcmcore.pyc", line 220, in export_as_pdf
  File "l5rcmcore.pyc", line 175, in _create_fdf
  File "exporters\fdfexporter.pyc", line 39, in export
  File "exporters\fdfexporter.pyc", line 259, in export_body
  File "exporters\fdfexporter.pyc", line 62, in export_field
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 
18: ordinal not in range(128)
Traceback (most recent call last):
  File "sinks\sink_1.pyc", line 73, in export_character_as_pdf
  File "l5rcmcore.pyc", line 220, in export_as_pdf
  File "l5rcmcore.pyc", line 175, in _create_fdf
  File "exporters\fdfexporter.pyc", line 39, in export
  File "exporters\fdfexporter.pyc", line 259, in export_body
  File "exporters\fdfexporter.pyc", line 62, in export_field
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 
18: ordinal not in range(128)

Original issue reported on code.google.com by Yapade...@hotmail.com on 26 May 2013 at 4:02

GoogleCodeExporter commented 9 years ago
Ok sorry my fault I erase all sign like (é) or (à) etc.. from the sheet and 
the export work.
Any other caracter make it fail.

Original comment by Yapade...@hotmail.com on 26 May 2013 at 4:14

GoogleCodeExporter commented 9 years ago
Can you send me your character ( with the (é) (à) faulty characters ) so that 
I can reproduce the issue?

Original comment by oppifjel...@gmail.com on 27 May 2013 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by oppifjel...@gmail.com on 31 May 2013 at 2:13

GoogleCodeExporter commented 9 years ago
Hello,
Still PDF export doesn't work, even with non-ascii characters in the, well, 
character.
same error message reported above.

using version 3.9.1
all other information as above

thanks

Original comment by andreade...@gmail.com on 24 Aug 2013 at 8:58

GoogleCodeExporter commented 9 years ago
I'm working on a fix that should be released with version 3.9.3

Original comment by oppifjel...@gmail.com on 29 Aug 2013 at 10:21

GoogleCodeExporter commented 9 years ago
fixed with version 3.9.3

Original comment by oppifjel...@gmail.com on 3 Sep 2013 at 8:58