LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-27-2010, 11:18 AM   #16
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0

When I learned how, yes. And it says this

Code:
 
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 think I'm really off now.
 
Old 12-27-2010, 04:10 PM   #17
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you get that error when you install the pre-built package, or from source? If the former, are there other packages that you didn't install?
 
Old 12-27-2010, 08:01 PM   #18
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 12-28-2010, 05:00 AM   #19
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 12-28-2010, 05:54 AM   #20
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the links, I didn't note them before.

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.
 
Old 12-29-2010, 04:15 AM   #21
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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:

Debian users: apt-get install g++ python-dev libglib2.0-dev python-numpy swig scons gettext python-protobuf protobuf-compiler

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.
 
Old 12-30-2010, 03:43 AM   #22
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
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 03:54 AM.
 
Old 01-02-2011, 12:23 PM   #23
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 01-04-2011, 03:29 PM   #24
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
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 ?
 
Old 01-04-2011, 04:09 PM   #25
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by maydayberry View Post
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.
 
  


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
LXer: MyPaint- A fast and easy opensource graphics application for digital painters LXer Syndicated Linux News 0 11-08-2010 11:00 AM
LXer: MyPaint hits 0.9 and is looking good LXer Syndicated Linux News 0 11-04-2010 07:20 AM
LXer: Open Source painting with MyPaint LXer Syndicated Linux News 0 04-02-2010 06:30 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 06:49 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 01:07 AM


All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration