sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
Parsing error with CGM file
ottadini
#1 Print Post
Posted on 13-12-2011 03:42
Member

Posts: 1
Joined: 19.05.10

I get an error returned when trying to convert a CGM file:
Download source  Code
An error occurred: Parsing error: Lost position in File



From cmd line:
Download source  Code

Cannot load plugin module cgmloader
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/__init__.py", line 84, in load_module
    desc)
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/import/cgmloader.py", line 337, in <module>
    init.text.fontindex = fntlst.index((sk1libs.ft2engine.fontlist[0])[0])
IndexError: list index out of range
When importing plugin cgmloader
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/__init__.py", line 158, in __call__
    module = self.load_module()
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/__init__.py", line 84, in load_module
    desc)
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/import/cgmloader.py", line 337, in <module>
    init.text.fontindex = fntlst.index((sk1libs.ft2engine.fontlist[0])[0])
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/bin/uniconvertor", line 13, in <module>
    uniconv_run()
  File "/usr/lib/python2.6/dist-packages/uniconvertor/__init__.py", line 95, in uniconv_run
    doc = load.load_drawing(input_file)
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/io/load.py", line 377, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib/python2.6/dist-packages/uniconvertor/app/io/load.py", line 334, in load_drawing_from_file
    loader = info(file, filename, match)
  File "/usr/lib/python2.6/dist-packages/sk1libs/filters/__init__.py", line 165, in __call__
    'message':self.class_name})
app.events.skexceptions.SketchError: Cannot load filter cgmloader.CGMLoader




 
igor
#2 Print Post
Posted on 13-12-2011 21:25
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

I would appreciate if you provide sample file to reproduce this issue. You can send it via email: sk1.project.org(at)gmail.com
Regards,

Igor Novikov
sK1 Project
 
Jump to Forum: