Visio Stencils Not Showing up in Stencil List (libxml2 >= 2.9.0)

Bug #1555421 reported by Irfan Ahmad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

According to [1], Visio Stencils are supported by Inkscape. "Visio stencil files (.vss) can also be used as a source of symbols by dropping the files into the share/symbols directory (if libvisio has been linked in)."

I'm running Inkscape 0.91.

I've tried several visio stencils [2][3] from various websites and none of them show up in the "Symbols (Shift+Ctrl+Y)" pane on Mac OS X 10.11.3 (El Capitan).

The process I follow is this:
 * Open up the Inkspace package via "Show Package Contents" in Finder.
 * Find Inkscape.app/Contents/Resources/share/inkscape/symbols
 * Notice SVG files there like: AigaSymbols.svg and BalloonSymbols.svg
 * Drop in Nimble-Storage.vss in same folder
 * Quit Inkscape and XQuartz
 * Restart computer
 * Start Inkscape
 * Look in "Symbols (Shift+Ctrl+Y)" pane and find nothing other than default shipping packages
 * Debugging:
   - move AigaSymbols.svg to different folder
   - restart Inkscape
   - notice that set of Symbols no longer showing up in the "Symbols (Shift+Ctrl+Y)" pane
   - stop Inkscape
   - move that file back, restart inkscape and notice list back to normal

Your help in getting these stencils to load would be highly appreciated!

Irfan

[1] http://wiki.inkscape.org/wiki/index.php/SymbolsDialog
[2] http://www.visiocafe.com/nimble.htm
[3] https://www.dropbox.com/s/wzgqsghwkebbvfx/VMware%20EUC%20Visio%20Stencils%202015.zip?dl=1 via http://www.rayheffer.com/vmware-euc-datacenter-visio-stencils-2015/

ps: thanks for supporting this awesome tool.

Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for taking the time to file a report!

Not reproduced on Windows 7, Inkscape 0.91 (32-bit) and trunk rev. 14755.
The VSS file shows correctly in the Symbols dialog (after a rather long load time). Tested with the VSS file placed in the global share/symbols folder and in the user profile folder.

tags: added: symbols
Revision history for this message
su_v (suv-lp) wrote :

Likely depends on libxml2 version used by Inkscape - console messages from Inkscape 0.91 (local build, using libxml2 2.9.3) on OS X 10.7.5:

Entity: line 11666: parser error : AttValue length too long
9324) scale(1, 1) rotate(30.0000) translate(-22.3381, -50.9324) " xlink:href=
                                                                               ^
Entity: line 11666: parser error : attributes construct error
9324) scale(1, 1) rotate(30.0000) translate(-22.3381, -50.9324) " xlink:href=
                                                                               ^
Entity: line 11666: parser error : Couldn't find end of Start Tag image line 11666
9324) scale(1, 1) rotate(30.0000) translate(-22.3381, -50.9324) " xlink:href=
                                                                               ^
Entity: line 11668: parser error : xmlSAX2Characters: huge text node
<svg:tspan font-family="Arial" font-size="4.5000" fill="#000000" fill-opacity="1
^
Entity: line 11668: parser error : Extra content at the end of the document
<svg:tspan font-family="Arial" font-size="4.5000" fill="#000000" fill-opacity="1
^
/Users/su_v/.config/inkscape/symbols/Nimble-Storage.vss:1: parser error : Start tag expected, '<' not found
??ࡱ?
^

@JazzyNico - any chance you could test a build with a more recent libxml2 version? AFAICT 32bit devlibs still includes libxml2 2.7.8.

Revision history for this message
jazzynico (jazzynico) wrote :

~suv, thanks for the tip about libxml.

Reproduced on Xubuntu 16.04, Inkscape trunk rev. 14957, libxml 2.9.3.

Changed in inkscape:
status: New → Triaged
importance: Undecided → Critical
importance: Critical → Medium
summary: - Visio Stencils Not Showing up in Stencil List
+ Visio Stencils Not Showing up in Stencil List (libxml2 >= 2.9.0)
tags: added: regression
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.