Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20121 - uniconvertor package broken

Attached to Project: Community Packages
Opened by Joseph Xu (jzxu) - Thursday, 08 July 2010, 20:48 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 12 July 2010, 09:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After a new pacman install of the uniconvertor package (version 1.1.5-1), running /usr/bin/uniconvertor on any input file fails with the following message:

Traceback:
/usr/bin/uniconvertor:13 in <module>
uniconv_run()
/usr/lib/python2.6/site-packages/uniconvertor/__init__.py:83 in uniconv_run
from app.io import load
/usr/lib/python2.6/site-packages/uniconvertor/app/__init__.py:69 in <module>
from conf.configurator import Configurator
/usr/lib/python2.6/site-packages/uniconvertor/app/conf/configurator.py:11 in <module>
from app.events import connector
/usr/lib/python2.6/site-packages/uniconvertor/app/__init__.py:69 in <module>
from conf.configurator import Configurator
/usr/lib/python2.6/site-packages/uniconvertor/app/conf/configurator.py:13 in <module>
from sk1libs.utils.fs import gethome
ImportError: No module named sk1libs.utils.fs

It appears that sk1libs should be a dependency of this package. Strangely, even after manually making and installing packages for both uniconvertor and sk1libs using sources downloaded off of the project home page

http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download

the program still fails to run correctly, with the following message:

Traceback:
/usr/bin/uniconvertor:13 in <module>
uniconv_run()
/usr/lib/python2.6/site-packages/uniconvertor/__init__.py:83 in uniconv_run
from app.io import load
/usr/lib/python2.6/site-packages/uniconvertor/app/__init__.py:69 in <module>
from conf.configurator import Configurator
/usr/lib/python2.6/site-packages/uniconvertor/app/conf/configurator.py:11 in <module>
from app.events import connector
/usr/lib/python2.6/site-packages/uniconvertor/app/__init__.py:73 in <module>
colormanager=ColorManager()
/usr/lib/python2.6/site-packages/uniconvertor/app/managers/colormanager.py:27 in __init__
self.refresh_profiles()
/usr/lib/python2.6/site-packages/uniconvertor/app/managers/colormanager.py:56 in refresh_profiles
self.hRGB = cmsCreateRGBProfile()
/usr/lib/python2.6/site-packages/sk1libs/pycms/__init__.py:95 in cmsCreateRGBProfile
result = _pycms.createRGBProfile()
AttributeError: 'module' object has no attribute 'createRGBProfile'

This second error is the authors' fault as inspection of the sk1libs.pycms package shows that createRGBProfile has been renamed to cmsCreateRGBProfile. It's hard to believe that they would release software which such an obvious bug though, so maybe I'm doing something wrong.

In conclusion, it seems that a new sk1libs package has to be made and be marked as a dependency for uniconvertor, but there's no hurry as the program is broken upstream anyway.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 12 July 2010, 09:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  - moved sk1libs to community
- sk1libs removed from sk1
- sk1 and uniconvertor deps fixed
thanks
Comment by Thomas Dziedzic (tomd123) - Monday, 12 July 2010, 04:38 GMT
created an sk1libs package, see attached source.

Loading...