Thread subject: sK1 Project :: Fail to convert ps to svg

Posted by Yrogirg on 18-09-2009 09:04
#1

Code

$ uniconvertor plot.ps plot.svg
/usr/lib/python2.6/dist-packages/uniconvertor/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  from popen2 import popen2
This is probably not an Illustrator file. Try embedding it as EPS
Traceback (most recent call last):
  File "/usr/bin/uniconvertor", line 23, in <module>
    uniconvertor.main(sys.argv)
  File "/usr/lib/python2.6/dist-packages/uniconvertor/__init__.py", line 73, in main
    doc = load.load_drawing(argv[1])
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/io/load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/io/load.py", line 337, in load_drawing_from_file
    doc = loader.Load()
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/plugins/Filters/ailoader.py", line 1098, in Load
    value = self.read_prolog()
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/plugins/Filters/ailoader.py", line 1051, in read_prolog
    token, value = next()
SyntaxError: invalid character in hex string





UniConvertor 1.1.3
I'll attach plot.ps to this post

Posted by Yrogirg on 18-09-2009 09:07
#2

input file itself (archived).

Posted by igor on 19-09-2009 09:50
#3

Thank you for reported problem.

PS importer is in initial implementation so such problems are predictable. We will pay an attention for reported issue and will try fixing in next release.