Uniconvertor Failed

Bug #492912 reported by Bear
86
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned
UniConvertor
Confirmed
Undecided
Unassigned
inkscape (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

UniConvertor failed:Traceback (most recent call last):
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 582, in Load
    self.info.process_properties()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 250, in process_properties
    self.process_paths(chunk)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 319, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 395, in loda_coords
    path.AppendBezier(point1,point2,Point(CoordX*self.scale, CoordY*self.scale),cont)
TypeError: three points expected
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 72, in <module>
    doc = load.load_drawing(sys.argv[1])
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 337, in load_drawing_from_file
    doc = loader.Load()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 582, in Load
    self.info.process_properties()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 250, in process_properties
    self.process_paths(chunk)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 319, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 395, in loda_coords
    path.AppendBezier(point1,point2,Point(CoordX*self.scale, CoordY*self.scale),cont)
TypeError: three points expected

Revision history for this message
Alvin Penner (apenner) wrote :

could you attach the file you were trying to load, I'm guessing it was a .cdr file?

su_v (suv-lp)
tags: added: uniconvertor
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
Bear (bear2007) wrote : RE: [Bug 492912] Re: UNIConverter Failed

Here is the file. It is my logo.

Bear

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Alvin Penner
Sent: Saturday, December 05, 2009 11:31 AM
To: <email address hidden>
Subject: [Bug 492912] Re: UNIConverter Failed

could you attach the file you were trying to load, I'm guessing it was a
.cdr file?

--
UNIConverter Failed
https://bugs.launchpad.net/bugs/492912
You received this bug notification because you are a direct subscriber
of the bug.

Status in Inkscape: A Vector Drawing Tool: New

Bug description:
UniConvertor failed:Traceback (most recent call last):
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 582, in Load
    self.info.process_properties()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 250, in process_properties
    self.process_paths(chunk)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 319, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 395, in loda_coords
    path.AppendBezier(point1,point2,Point(CoordX*self.scale, CoordY*self.scale),cont)
TypeError: three points expected
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 72, in <module>
    doc = load.load_drawing(sys.argv[1])
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 337, in load_drawing_from_file
    doc = loader.Load()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 582, in Load
    self.info.process_properties()
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 250, in process_properties
    self.process_paths(chunk)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 319, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/cdrloader.py", line 395, in loda_coords
    path.AppendBezier(point1,point2,Point(CoordX*self.scale, CoordY*self.scale),cont)
TypeError: three points expected

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/inkscape/+bug/492912/+subscribe

Revision history for this message
su_v (suv-lp) wrote : Re: UNIConverter Failed

reproduced with Inkscape 0.47 on OS X 10.5.8,
Python 2.6.2, UniConvertor 1.1.5 prerelease

tags: added: cdr importing
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Ubuntu 9.10, Inkscape 0.47pre4 and UniConvertor 1.1.4 (command line).

Changed in inkscape:
status: New → Confirmed
Changed in uniconvertor:
status: New → Confirmed
max (maxim-s-barabash)
summary: - UNIConverter Failed
+ Uniconvertor Failed
Revision history for this message
Matthias Mailänder (mailaender) wrote :

reproduced on Ubuntu 10.04, Inkscape 0.47 and 0.48.

UniConvertor failed:

/usr/lib/pymodules/python2.6/uniconvertor/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  from popen2 import popen2
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 201, in __call__
    module.save(document, file, filename, options)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/pltsaver.py", line 205, in save
    saver.SaveDocument(document)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/pltsaver.py", line 199, in SaveDocument
    self.SaveLayers(doc.Layers())
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/pltsaver.py", line 184, in SaveLayers
    self.SaveObjects(layer.GetObjects())
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/pltsaver.py", line 174, in SaveObjects
    self.SaveObjects(object.GetObjects())
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/pltsaver.py", line 178, in SaveObjects
    obj=object.AsBezier()
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/Graphics/text.py", line 534, in AsBezier
    paths = self.properties.font.GetPaths(self.text, self.properties)
AttributeError: 'NoneType' object has no attribute 'GetPaths'

Very annoying as it pops up over and over again when editing SVGs.

Revision history for this message
max (maxim-s-barabash) wrote :

Try to work on the scheme:

1. Path\Object to Path
2. File\Vacuum Defs
3. Save a Copy...

affects: ubuntu → inkscape (Ubuntu)
Changed in inkscape (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
nick_s (nickstylianou) wrote :

I'm experiencing similar problems in Inkscape on Xubuntu11.04.
I create a circle, copy and paste it and a similar error pops up. This happens a few times and then the application hangs.
It makes Inkscape completely unuseable.

Revision history for this message
su_v (suv-lp) wrote :

nick_s wrote:
> I'm experiencing similar problems in Inkscape on Xubuntu11.04.
> I create a circle, copy and paste it and a similar error pops up.

@nick_s, your problem is Bug #418242 “Incorrect call to output plugins (with persistent error message) on copy”. While working with Inkscape, disable whatever application you have running in the background which monitors or in some way manages the clipboard to avoid the error messages.

Revision history for this message
nick_s (nickstylianou) wrote :

OK, I'll redirect my "this bug affects me" to that bug.
(The workaround suggested there appears to work for me).

Revision history for this message
pareshchaudhary (chaudharyparesh1986) wrote :

Can't load attachment file in inkscape

Revision history for this message
unicode_launchpad (unicode-ht) wrote :

A CDR file can't be loaded yet. Log as following:
--------------------------------------------------------------------------
UniConvertor failed:

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 95, in uniconv_run

    doc = load.load_drawing(input_file)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 377, in load_drawing

    return load_drawing_from_file(file, filename)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\uniconvertor\app\io\load.py", line 359, in load_drawing_from_file

    raise SketchLoadError(_("unrecognised file type"))

app.events.skexceptions.SketchLoadError: unrecognised file type

-------------------------------------------------------------------------------------

Revision history for this message
Brice (bbrice) wrote :

An 'uniconvertor failed' error appears when Inkscape (0.91) is in the background on Ubuntu 14.04, with a svg opened, not without.
The message talk about a /home/brice/.uniconvertor folder which doesn't exists, and when i create it the message is 'Fontsystem not yet implemented in UniConvertor'...
I have just 2s for kill the process between two pop up, and sometimes i must reboot my computer because all is frozen.
This bug is a pain since a long time, please fix it.

Revision history for this message
jazzynico (jazzynico) wrote :

0.92 no longer requires Uniconvertor for CDR import and export.

Changed in inkscape:
milestone: none → 0.92
status: Triaged → Fix Committed
Changed in inkscape:
status: Fix Committed → Fix Released
Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.