Sozi version problem
Sozi version problem
Sozi svg produces this error message.
A quick goggling led me to the solution in the Sozi authors git and alxsal found a work-around. Here I simply just noted down a maybe clear step-by-step solution.
From the error message, this seems to be a problem of version inconsistency. So, the first step is to open the svg file with a text editor. I used gedit to edit svg file. In the gedit, I then used search to find the keyword, "version". I found two places with this keyword, where another keyword "sozi" is nearby. There may be more places containing the version number, depending on how the svg document is edited, I guess. Below is a screenshot of the place I found the version number in the svg document.
So now I got the version number in the edited document, which should be produced by the Sozi in my office machine. The next step is to find the Sozis version number installed on the my laptop. The place I looked for is the source file. I downloaded the tar ball and installed from there, so again I used gedit to open "sozi_upgrade.py" and used search to find "VERSION" keyword. Here is where it is.
Copy-and-paste the version number from sozi-upgrade.py now move to /usr/share/inkscape/extension/sozi/version.py to the place in the svg document. The problem is then sorted. I am unsure exactly the real reason causing problem. According to the git link, the authors suspicion is that perhaps the maintainers of the Sozi binary installation files may slightly modified the version number.
A quick goggling led me to the solution in the Sozi authors git and alxsal found a work-around. Here I simply just noted down a maybe clear step-by-step solution.
From the error message, this seems to be a problem of version inconsistency. So, the first step is to open the svg file with a text editor. I used gedit to edit svg file. In the gedit, I then used search to find the keyword, "version". I found two places with this keyword, where another keyword "sozi" is nearby. There may be more places containing the version number, depending on how the svg document is edited, I guess. Below is a screenshot of the place I found the version number in the svg document.
So now I got the version number in the edited document, which should be produced by the Sozi in my office machine. The next step is to find the Sozis version number installed on the my laptop. The place I looked for is the source file. I downloaded the tar ball and installed from there, so again I used gedit to open "sozi_upgrade.py" and used search to find "VERSION" keyword. Here is where it is.
Copy-and-paste the version number from sozi-upgrade.py now move to /usr/share/inkscape/extension/sozi/version.py to the place in the svg document. The problem is then sorted. I am unsure exactly the real reason causing problem. According to the git link, the authors suspicion is that perhaps the maintainers of the Sozi binary installation files may slightly modified the version number.
download file now
Comments
Post a Comment