package python-uniconvertor 1.1.4-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 101

Bug #998705 reported by bogdan sandica
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-uniconvertor (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Problem

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python-uniconvertor 1.1.4-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 13 11:52:01 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 101
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: python-uniconvertor
Title: package python-uniconvertor 1.1.4-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 101
UpgradeStatus: Upgraded to precise on 2012-05-13 (0 days ago)

Revision history for this message
bogdan sandica (bogdan-sandica) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-uniconvertor (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Richardson (tim-richardson) wrote :

I get this on kubuntu 12.04 and Ubuntu 12.04
To reproduce, install inkscape and python-uniconvertor
1) start inkscape and make a simple document
2) save as type sk1 vector graphics files (.sk1)

The save will fail with the error message

UniConvertor failed:

Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

Revision history for this message
Tim Richardson (tim-richardson) wrote :

For me, this happens on a 64 bit Ubuntu 12.04 and a 32 bit Kubuntu 12.04

Revision history for this message
Tim Richardson (tim-richardson) wrote :

In my haste to find any bug on this package, I realise that I have reported a different bug.
However, the conclusion is pretty similar. The packaging of python-uniconvertor in 12.04 is broken.
Part of the installed files seem to refer to a library which belongs to a different version.

The error is here: app.Graphics.image import CMYK_IMAGE

CMYK_IMAGE is simply not in /usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/image.py in 12.04's python-uniconvertor package

This is how I fixed it

http://sk1project.org/forum/viewthread.php?thread_id=472&pid=1108#post_1108

Revision history for this message
Al Tarakanoff (al-tarakanoff) wrote :

How to fix it in repo? How do I can help you?

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.