Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
m@m-laptop:~$ mypaint
We are not currently installed or compiled !
script: "usr/local/bin/mypaint"
deduced prefix: "usr/local"
lib_shared: "usr/local/share/mypaint"
lib_compiled: "usr/local/lib/mypaint"
Traceback (most recent call last):
File "/usr/local/bin/mypaint", line 54, in <module>
from lib import mypaintlib
ImportError: No module named lib
I installed .deb package
I think it wasn't this error, if there was any. Installation looked succesfully, it's in Apps(Menu)/Graphics but I can't run it.
I found the other .deb package 'mypaint-data', but I can't install it because of an error about overwriting some brush file.
When I removed that file (I thought if I remove it, there will be nothing to overwrite), it happened again.
Presumably you couldn't run it from the menu because there was something missing, or something else was wrong. That's why I advised running it from the terminal, to check for errors..
Did you look at the MyPaint website for more official sources of help? You might want to try their forums, mailing list or IRC channel if people here can't help you. Those resources are linked to from here.
If I understand, you asked me, if I tried to run it from the terminal several posts before.
I did - I think I did. Code in post #16 - I have never run something in this way, I needed to find out how, so maybe I didn't try to run it correctly, but when I wrote this :
m@m-laptop:~$ mypaint
that error from #16 appeared there.
By the way, I am cleaning my picture folder. When I wanted to open one .png file, there was something like minimized window 'Launching MyPaint'. After few seconds it disappeared and nothing happened.
You did the right thing. The error suggests that something is missing. Presumably you downloaded the .deb from GetDeb.net? That site doesn't appear to list dependencies, but I've downloaded the source for version 0.8.2, inside which there's a README saying you need the following:
Some of these packages won't be required for you (like g++), because they're required to compile the software from source. In any case, are there any packages from this list that aren't installed, specifically python-numpy, or possibly gettext? You already said you installed the protobuf packages.
Yes, first it was downloaded from GetDeb. When it didn't work, I found something on packages.debian.org, but it was just mypaint-data (downloaded from my local ftp - ftp.cz.debian.org/debian)
I checked python-numpy, it was installed, gettext, too.
I upgraded to 10.04 version (I didn't want to because I have quite unstable internet connection, but it was ok), where everything what has to do something with python or gettext was installed automatically. MyPaint ver. 0.8.2 is available. I tried to remove and install again these two packages (mypaint and mypaint-data), everything was "successfully done", but the situation has been unchanged - the same problem, the same error.
Yes, something is probably missing, but how do I get that thing or how do I find out what is it ?
EDIT : One little knowledge - on Ubuntu 10.10 on my dad's netbook that program works without errors. I wouldn't bother you all if I could borrow that squirt and do what I need to do, but he works abroad and he need it, so I can't.
Last edited by maydayberry; 12-30-2010 at 02:54 AM.
I have no idea about this, really, I'm afraid (the reason is that I'm really not familiar with the package management in Debian and its derivatives). I think maybe trying the MyPaint developers would be an idea right now.
Well, because I needed to hurry up with my work, I borrowed another, unused computer, which is occupying my desk right now. (I am not used to have a normal, big desktop.) Ubuntu 10.10, everything works fine.
The problem seems to be solved, but just for this time. What if anybody else has the same trouble like me ? What if I won't be able to borrow that PC next time ? Can I mark this thread as SOLVED or not ?
Well, because I needed to hurry up with my work, I borrowed another, unused computer, which is occupying my desk right now. (I am not used to have a normal, big desktop.) Ubuntu 10.10, everything works fine.
Good to hear it works with Ubuntu 10.10.
Quote:
The problem seems to be solved, but just for this time. What if anybody else has the same trouble like me ? What if I won't be able to borrow that PC next time ? Can I mark this thread as SOLVED or not ?
You can mark it as solved if you think that's appropriate. If people manage to find a solution to this problem with the older version of Ubuntu, they're obviously welcome to post here. If not, again, I'd recommend trying to ask the developers to try and help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.