VSS compliancy

Asked by Inkescaper on 2017-02-02

I'm trying to use some VSS files (Symbol library) coming from Visio with Inkscape.

For some VSS files, it works (Symbols are usable). For some other VSS files, symbols are not viewable by Object > Symbols even if they are located in the appropriate folder: Inkscape > Share > Symbols.

How to check VSS is then compliant with Inkscape (v0.92)?

Thanks in advance,

Question information

Language:
English Edit question
Status:
Open
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2017-02-07
Last reply:
Hachmann (marenhachmann) said : #1

Hi Inkescaper,

could this be your bug: https://bugs.launchpad.net/inkscape/+bug/1555421 ?

You can check the console messages to compare, if you start Inkscape from the command line.

Kind Regards,
 Maren

Inkescaper (stephane-lecolier) said : #2

What is the command line in order to import/check VSS Symbols?

Hachmann (marenhachmann) said : #3

Hi Inkescaper,

there is no direct command line 'checking' for them.

But you can start Inkscape from the command line and take a look at the output you get when you open the symbols dialog.
To do so, copy your vss file(s) into the symbols directory in your Inkscape user configuration directory.

Then go to the command line and type 'inkscape'.
Hit Enter.
When Inkscape has opened, go to Objects -> Symbols...
Then compare the command line output to the output in the bug report mentioned above.

Kind Regards,
 Maren

Inkescaper (stephane-lecolier) said : #4

Hi Maren,

When I start Inkscape (v0.92) from command line, here is what I got:

$ ./inkscape.exe
FontLister::get_best_style_match(): can't find family: Sans
Entity: line 8: parser error : EntityRef: expecting ';'
  <title>Aerial&audio.vss</title>
                         ^
C:\<INSTALL_PATH>\tools\Inkscape\share\symbols\Aerial&audio.vss:1: parser error : Start tag expected, '<' not found
▒▒ࡱ▒
^
__________________________________________________________________________________________________________________
** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed
__________________________________________________________________________________________________________________

I succeed to parse graphically VSS symbols from "Objects>Symbols" menu, BUT Inkscape crashes when I try to drag and drop one of them.

======================================================================================================
** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): CRITICAL **: SPObject* SPDocument::getObjectById(const gchar*) const: assertion 'id != NULL' failed

** (inkscape.exe:3496): ERROR **: Fatal programming error in PrintEmf::begin at EMRHEADER

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
==============================================================================================

I understand something is wrong with VSS, but how to generate correct VSS from Visio?
I see the parser seems to support only some kind of title.
Let me know If can modify VSS attributes to make them compliant with Inkscape.

Rgds,

S.

Hachmann (marenhachmann) said : #5

Yep, seems it was time to make this a bug report :)
I wouldn't be able to help with the code part, but now the devs have got something they can start working with.

Can you help with this problem?

Provide an answer of your own, or ask Inkescaper for more information if necessary.

To post a message you must log in.