python-liblcms: python bindings defective
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sK1 |
Fix Released
|
Undecided
|
geshade | ||
lcms (Ubuntu) |
Confirmed
|
Undecided
|
geshade |
Bug Description
Binary package hint: python-liblcms
* installing liblcms1 and python-liblcms
* the module "lcms" from the python bindings to LittleCMS are available, but they do not seem to contain any bindings to the actual liblcms1 library
* try the following in the interactive python interpreter:
$ python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lcms
>>> foo = lcms.cmsCIEXYZ()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'cmsCIEXYZ'
>>>
Compilation of lcms-1.17 from the original sources (http://
Changed in lcms (Ubuntu): | |
status: | Confirmed → Fix Released |
status: | Fix Released → Confirmed |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
assignee: | nobody → geshade (geshade) |
Changed in sk1: | |
assignee: | nobody → geshade (geshade) |
status: | New → Confirmed |
$ python
Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lcms import lcms
>>> foo = lcms.cmsCIEXYZ()
>>> foo
XYZ [0, 0, 0]
Notice the way it's imported.
Regards,
Alex
(Debian liblcms maintainer)