sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
[SOLVED]LittleCMS can't find python binding
imet
#1 Print Post
Posted on 17-05-2009 00:32
Member

Posts: 7
Joined: 16.05.09

Hi,
Just found sk1 looking great.
Build and Installation went fine, but launching sk1 gives the error.
What am I missing? I do have lcms v1.18 installed. I'm using Zenwalk 6.0 distro
Edited by imet on 19-05-2009 00:20
 
igor
#2 Print Post
Posted on 17-05-2009 21:51
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Hi,

Please try checking the following thread from our old forum:

http://sk1project...p;topic=48

Also sometime python-libcms package installation is corrupted. So you can verify the package installation and reinstall if required.
Regards,

Igor Novikov
sK1 Project
 
imet
#3 Print Post
Posted on 18-05-2009 13:42
Member

Posts: 7
Joined: 16.05.09

I'm not exactly sure about python-libcms, it's not packaged for Zenwalk, so I took it from the debian repo and have it installed. It still doesn't work even with the symlink advised from the old forum.
I did try it on Ubuntu 9.04 just to see how it is, it does works but kind of slow.
I'll keep trying to make it work in Zenwalk.
I'm mainly interested if it has support for plotters/vinyl cutters.

thanks.
 
GArik
#4 Print Post
Posted on 18-05-2009 17:14
Member

Posts: 6
Joined: 16.05.09

build python-lcms package yourself Wink

python-lcms.SlackBuild: http://paste.org.ru/?ns1t44
slack-desc: http://paste.org.ru/?t38tdj
 
igor
#5 Print Post
Posted on 18-05-2009 17:22
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

imet wrote:
I'm not exactly sure about python-libcms, it's not packaged for Zenwalk, so I took it from the debian repo and have it installed.


The debian package is a main source of similar bugreports. It seems Debian maintainer tried improving the package on own taste but result as usually Smile The similar issue was with tk8.5-dev package - these headers are located in Debian in unusual placement. So we have been forced to write workaround specially for Debian/Ubuntu.

For Zenwalk you can try compiling LCMS with python bridge. It's really simple task. This bridge is just 2 files no more.
Regards,

Igor Novikov
sK1 Project
 
imet
#6 Print Post
Posted on 18-05-2009 23:13
Member

Posts: 7
Joined: 16.05.09

@GArik:
thanks for the build script. I actually wanted to made me my own package but I can't find python-libcms, google top hits pertain to cygwin. The slackbuild compiled fine and installed tho, and now I know where to get python-libcms.

@igor:
Thanks for the tip, I now have these installed:
Imaging (Imaging-tk appears to be part of this package)
python-lcms (compiled using slackbuild posted by GArik)
pyreportlab

Unfortunately, it still doesn't work. I got the error on the last part of this:
Download source  Code

shared memory images supported
/usr/lib/python2.6/site-packages/sk1/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  from popen2 import popen2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/sk1/__init__.py", line 19, in <module>
    app.main.main()
  File "/usr/lib/python2.6/site-packages/sk1/app/main.py", line 150, in main
    application = SketchApplication(filename, options.display, options.geometry, run_script = options.run_script)
  File "/usr/lib/python2.6/site-packages/sk1/app/skapp.py", line 156, in __init__
    self.build_window()
  File "/usr/lib/python2.6/site-packages/sk1/app/skapp.py", line 194, in build_window
    self.main_window = sK1MainWindow(self, self.filename, self.run_script)
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 113, in __init__
    self.build_menu()
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 919, in build_menu
    self.update_mru_files()
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 937, in update_mru_files
    self.file_menu.RebuildMenu()
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/tkext.py", line 468, in RebuildMenu
    self.menu.delete(0, END)
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 2675, in delete
    self.deletecommand(c)
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 358, in deletecommand
    self.tk.deletecommand(name)
TclError: can't delete Tcl command





what else should I check?
Edited by imet on 18-05-2009 23:20
 
imet
#7 Print Post
Posted on 19-05-2009 00:19
Member

Posts: 7
Joined: 16.05.09

Hi guys,

I got it working now, I use build 734 from svn and it seems to be running fine.
It looks like a better alternative to inkscape.

thanks.
 
stani
#8 Print Post
Posted on 19-05-2009 00:19
Member

Posts: 4
Joined: 19.05.09

I run in the same issue, but it seems to be resolved with the latest "sK1 0.9.1 prerelease snapshot rev.730" release.
 
imet
#9 Print Post
Posted on 19-05-2009 12:12
Member

Posts: 7
Joined: 16.05.09

I didn't realized the download page has been updated with sK1 0.9.1. I just went to get it via svn and got svn 734 and it's good.
 
kmrs75
#10 Print Post
Posted on 21-03-2010 23:18
Member

Posts: 21
Joined: 21.03.10

imet wrote:
I'm not exactly sure about python-libcms, it's not packaged for Zenwalk, so I took it from the debian repo and have it installed. It still doesn't work even with the symlink advised from the old forum.
I did try it on Ubuntu 9.04 just to see how it is, it does works but kind of slow.
I'll keep trying to make it work in Zenwalk.
I'm mainly interested if it has support for plotters/vinyl cutters.

thanks.

viyl cutting

go here http://www.securetech-ns.ca/camm-linux.html
vinyl decals - banners - t-shirts - most designed in sk1 and cut in linux

We specialize is custom work for all sports teams and any special event. we also do work for business store fronts as well as auto decals

we love doing work for linux users

Linux, MS-DOS, and Windows NT also known as the Good, the Bad, and the Ugly

www.hometown-graphics.com
 
http://hometown-graphics.com
grigorianz
#11 Print Post
Posted on 18-03-2011 09:02
Member

Posts: 1
Joined: 18.03.11

imet wrote:
Hi,
Just found sk1 looking great.
Build and Installation went fine, but launching sk1 gives the error.
What am I missing? I do have lcms v1.18 installed. I'm using Zenwalk 6.0 distro


On Vista it makes error but on win7 it works fine )
 
http://eyesvision.ru/drugie-bolezni
jerry0503222
#12 Print Post
Posted on 20-09-2011 09:36
Member

Posts: 1
Joined: 20.09.11

I'm not exactly sure about python-libcms, it's not packaged for Zenwalk, so I took it from the debian repo and have it installed. It still doesn't work even with the symlink advised from the old forum.
Edited by jerry0503222 on 20-09-2011 09:36
 
igor
#13 Print Post
Posted on 20-09-2011 16:10
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

well... recent sK1 and UniConvertor versions doesn't depend on python-libcms because we have created own internal module for color management.
Regards,

Igor Novikov
sK1 Project
 
Jump to Forum: