Ticket #1130 (new)

Opened 5 months ago

Last modified 4 months ago

invalid svg on wikipathways

Reported by: thomaskelder Owned by: AlexanderPico
Milestone: Component: WikiPathways website
Severity: major Keywords:
Cc:

Description

See this thread:  http://groups.google.com/group/wikipathways-discuss/browse_thread/thread/85bf9945e74d9888

Sometimes when downloading the png archive, you get an error like this:

Unable to convert to png: 
(inkscape:22544): Gdk-CRITICAL **: gdk_display_list_devices: assertion `GDK_IS_DISPLAY (display)' failed
/var/www/wikipathways/images/5/5c/WP569_34097.svg:4100: parser error : Extra content at the end of the document
/svg
^
/var/www/wikipathways/images/5/5c/WP569_34097.svg:4100: parser error : Extra content at the end of the document
/svg
^

** (inkscape:22544): WARNING **: Specified document /var/www/wikipathways/images/5/5c/WP569_34097.svg cannot be opened (is it valid SVG file?)

(inkscape:22544): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

Command: inkscape -z -b white -w 1000 -f '/var/www/wikipathways/images/5/5c/WP569_34097.svg' -e '/var/www/wikipathways/images/4/43/WP569_34097.png' 2>&1

If I check the svg file, it contains extra whitespace at the end. I don't know where this comes from.

Change History

Changed 5 months ago by thomaskelder

Actually, the file in the error (see attachment) doesn't contain whitespace, but an invalid closing tag:

Last 4 lines:

></svg
>
/svg
>

Changed 4 months ago by martijn

  • milestone milestone_23 deleted
Note: See TracTickets for help on using tickets.