sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
Uniconvertor 1.1.4 not running on mandriva
mathog
#1 Print Post
Posted on 28-04-2010 22:38
Member

Posts: 5
Joined: 28.04.10

Installed uniconvertor-1.1.4-1mdv2009.0.i586.rpm on Mandriva 2008.1. It seemed to
install OK, asked only for a couple of python RPMs, but it doesn't run. Could not install it on
Mandriva 2010.0 because something is linked against libpython2.5, and the newer Mandriva
has libpython2.6. Anyway, here is what happens:

Download source  Code
 uniconv polymk03.cgm polymk03.svg
Cannot load plugin module cgmloader
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/cgmloader.py", line 336, in <module>
    init.text.fontindex = fntlst.index("Times-Roman")
ValueError: list.index(x): x not in list
When importing plugin cgmloader
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 147, in __call__
    module = self.load_module()
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/cgmloader.py", line 336, in <module>
    init.text.fontindex = fntlst.index("Times-Roman")
ValueError: list.index(x): x not in list
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/uniconvertor/__init__.py", line 82, in uniconv
    doc = load.load_drawing(input_file)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/io/load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/io/load.py", line 325, in load_drawing_from_file
    loader = info(file, filename, match)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/plugins.py", line 154, in __call__
    'message':self.class_name})
app.events.skexceptions.SketchError: Cannot load filter cgmloader.CGMLoader





Something else supposed to be installed?

Thanks.
 
igor
#2 Print Post
Posted on 28-04-2010 23:20
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Hi,

I would recommend you to try building UniConvertor 1.1.5pre from project repository. Recently we have fixed some font related issues in CGM filter and have ported font engine from sK1 to UniConvertor. Package build is really simple. Just run:

python setup.py bdist_rpm

You need compiling sk1libs and uniconvertor packages. Also we are planning to release new UniConvertor version in the end of May.
Regards,

Igor Novikov
sK1 Project
 
Jump to Forum: