LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2016, 07:37 PM   #1
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Rep: Reputation: Disabled
Inkscape can't save PLT files : can't find sk1libs.utils.fs in Ubuntu Studio


Hi all.


I have a new install of Ubuntu Studio (16.04) XFCE: 4.12

with Inkscape : 0.91


Which I am very dependent on for my laser-cutter/business. My laser-cutters work best with PLT files - and inkscape has been fine with these for the last 6 years over multiple laptops. Now however, it is saying:


Code:
UniConvertor failed:

Traceback (most recent call last):
  File "/usr/bin/uniconvertor", line 13, in <module>
    uniconv_run()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/__init__.py", line 83, in uniconv_run
    from app.io import load
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 13, in <module>
    from sk1libs.utils.fs import gethome
ImportError: No module named sk1libs.utils.fs

And won't save.



Any ideas?





Nick
 
Old 12-19-2016, 03:04 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Googling for sk1libs.utils.fs produces similar reports of the problem (e.g. https://bugs.debian.org/cgi-bin/bugr...cgi?bug=820748), leading to http://sk1project.net/ from where you can download a deb to install sk1 which should install the missing module.

Let us know how you get on.
 
Old 12-19-2016, 03:41 AM   #3
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hiya - thanks for that.


I've tried installing the sk1 deb, but it gives his error:

dpkg: dependency problems prevent configuration of python-sk1libs:
python-sk1libs depends on liblcms1; however:
Package liblcms1 is not installed.
python-sk1libs depends on libjpeg62; however:
Package libjpeg62 is not installed.

As far as I can see (from synaptic package manager), both of those are already installed.


The pressure for this one is off... I've found a workaround for the laser-cutter. It would be quite good to get to the bottom of this one though.


Thanks for you help.
 
Old 12-19-2016, 04:34 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Ok. It looks as if the software may be dependent on previous package versions. One solution might be to set up a VM with an environment that you know works (e.g. Ubuntu Studio 14.04 or even 12.04) and use that until someone updates and sorts the issues with uniconverter/sk1libs.utils.fs.
 
Old 12-21-2016, 05:56 PM   #5
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hiya - thanks for your reply.


Sorry for being old-fashioned etc - I'd kindof prefer to get Python running with the dependencies it needs to do this without using whole new operating systems. I should probably learn how to do this, but it would be a bit of a learning curve I think. I've never used a VM before.


As to the dependencies... it seems to require: sk1libs.utils.fs which in turn requires liblcms1 - which I cannot find anywhere... I don't think it has been superseded by liblcms2 - which I can install, but I don't know how to get sk1libs to use the new one rather than the old one. Could I do something hacky like simply renaming liblcms2?




Nick
 
Old 12-22-2016, 03:11 PM   #6
codingchris
LQ Newbie
 
Registered: Sep 2009
Location: Arkansas City, KS
Distribution: Ubuntu 16.04 as a LAMP server
Posts: 2

Rep: Reputation: 0
Python installation

Have you tried a complete reinstall of Python? Those libraries sound like they're either corrupted or can't be located in their expected paths. I see you already checked on package installations, but you may have to pull down the source and build the binaries on the box itself to get past this.
 
Old 12-23-2016, 05:39 PM   #7
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hiya

I haven't tried reinstalling python - I'm running Python 2.7.12


Should I be upgrading to 3.something?

If so, should the reinstall look like:

sudo dpkg -P python2.7

sudo apt-get install python3.6

?


Sorry - Newbie question, and I've been using linux for at least 10 years as well.
 
Old 12-25-2016, 08:18 PM   #8
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
I tried that - and I think it's caused me to destroy my entire system. I did

sudo apt-get remove python2.7

in the hope of then doing

sudo apt-get install python3.5


it says it's already installed - but it's deleted half the apps, and quite a lot of the others I've tried (eg: Jack) no longer work



So next question - is there a way of re-installing python for ubuntu-studio, or do I now have to reinstall the entire operating system from scratch?
 
Old 12-26-2016, 12:47 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by Nickwit View Post
I tried that - and I think it's caused me to destroy my entire system. I did

sudo apt-get remove python2.7

in the hope of then doing

sudo apt-get install python3.5


it says it's already installed - but it's deleted half the apps, and quite a lot of the others I've tried (eg: Jack) no longer work

So next question - is there a way of re-installing python for ubuntu-studio, or do I now have to reinstall the entire operating system from scratch?
Sorry, I wish I had seen this earlier. Python is normally crucial for the operation of a Linux distro, a lot depends on it, and generally you should never muck around with it unless you know what you're doing, let alone delete it.

Many applications still depend on Python 2, whereas much now depends on Python 3, so you need to keep both of these around. Personally, on my Linux Mint setup, for example, I have Python 2.7.12 and 3.5.2 installed.

So, here's the rub. The complexity of the Python dependencies on the normal Linux system would normally indicate that by far the best solution for you now would be to reinstall Ubuntu Studio from scratch. You could try re-installing Python but it could be arduous and you wouldn't be confident that everything worked as before.

One thing to consider in the future is to make a system image before you make any major changes. For example, I use Macrium Reflect to image my root, home and data partitions (because that's the way I structure my Linux partitions). I do this on a weekly basis or before I make major changes such as an upgrade. That way, it is very easy to revert to a previous image if things go awry.
 
Old 12-26-2016, 01:31 AM   #10
Nickwit
LQ Newbie
 
Registered: Dec 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Okey dokes - new install it is
 
Old 12-26-2016, 02:02 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,713

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
I would advise you look to use LVM on the new install (if offered) and see how they use snapshot. Similar idea to above, but integrated at the block device layer rather than a separate tool.
LVM offers other flexibility too which you may not appreciate immediately, but come to later.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Find Nor save files files on NAS? mstanley Linux - Newbie 1 10-06-2013 09:15 PM
[SOLVED] Video - Studio 13.37 vs KXStudio, AV Linux, Dream Studio, and Ubuntu Studio l0wt3ch Studio 13.37 1 12-05-2012 07:45 PM
how do i view .plt files in linux? chemdawg Linux - Software 3 06-01-2011 05:15 AM
Where to find and install libc header files in Ubuntu Studio for dual monitors vansch76 Linux - Hardware 7 06-18-2009 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration