Assertion/Parser Error
I am getting the following error(s?):
Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
** (inkscape.exe:67052): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_mem(const gchar*, Inkscape::Extension::Implementation::Implementation*): assertion 'doc != NULL' failed Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
Does anyone know what line 22 is and how do I fix it?
Built today from revision-13657 Windows 8.1 64bit.
Thanks, Partha
On Sun, Nov 2, 2014, at 05:51 AM, Partha Bagchi wrote:
I am getting the following error(s?):
Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
** (inkscape.exe:67052): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_mem(const gchar*, Inkscape::Extension::Implementation::Implementation*): assertion 'doc != NULL' failed Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
Does anyone know what line 22 is and how do I fix it?
Built today from revision-13657 Windows 8.1 64bit.
That line appears to be Latin-1 and/or CodePage-1252, and not proper UTF-8. In Latin-1, the character $ED is a lower-case i with an accent mark.
A simple work-around would be to edit the file in question and remove the accented character. Or use notepad and in the save as use "UTF-8" instead of "ANSI".
However... it is very possible that the issue is from one of the in-memory generated inx files. If you don't find a *.inx file with that string, then it's probably time to file a bug.
I did
grep 0xED share/inkscape/extensions
and came up empty. Am I looking at the right place?
On Sun, Nov 2, 2014 at 9:28 AM, Jon A. Cruz <jon@...18...> wrote:
On Sun, Nov 2, 2014, at 05:51 AM, Partha Bagchi wrote:
I am getting the following error(s?):
Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
** (inkscape.exe:67052): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_mem(const gchar*, Inkscape::Extension::Implementation::Implementation*): assertion 'doc != NULL' failed Entity: line 22: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6C 0x69 0x61 <filetypetooltip>A família de formatos de imagem PNM/PBM/PGM/PPM</filetypetoolti ^
Does anyone know what line 22 is and how do I fix it?
Built today from revision-13657 Windows 8.1 64bit.
That line appears to be Latin-1 and/or CodePage-1252, and not proper UTF-8. In Latin-1, the character $ED is a lower-case i with an accent mark.
A simple work-around would be to edit the file in question and remove the accented character. Or use notepad and in the save as use "UTF-8" instead of "ANSI".
However... it is very possible that the issue is from one of the in-memory generated inx files. If you don't find a *.inx file with that string, then it's probably time to file a bug.
-- Jon A. Cruz jon@...18...
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Sun, Nov 2, 2014, at 06:45 AM, Partha Bagchi wrote:
I did
grep 0xED share/inkscape/extensions
and came up empty. Am I looking at the right place?
Yes, that should be the right place.
So it is most likely an error with the strings GdkPixbuf is returning to our init call in gdkpixbuf-input.cpp. Sounds like the Windows lib is giving us current ANSI code page data instead of UTF-8 data. Did you bump your version of windows dev libs recently?
Regardless, it does sound like time to file a bug.
On Sun, Nov 2, 2014 at 11:23 AM, Jon A. Cruz <jon@...18...> wrote:
On Sun, Nov 2, 2014, at 06:45 AM, Partha Bagchi wrote:
I did
grep 0xED share/inkscape/extensions
and came up empty. Am I looking at the right place?
Yes, that should be the right place.
So it is most likely an error with the strings GdkPixbuf is returning to our init call in gdkpixbuf-input.cpp. Sounds like the Windows lib is giving us current ANSI code page data instead of UTF-8 data. Did you bump your version of windows dev libs recently?
Yes. My versions are the latest stable versions available.
Regardless, it does sound like time to file a bug.
Done: https://bugs.launchpad.net/inkscape/+bug/1388588
-- Jon A. Cruz jon@...18...
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Jon A. Cruz
-
Partha Bagchi