Bug 469603

Summary: mypaint does not run
Product: [Fedora] Fedora Reporter: Máirín Duffy <duffy>
Component: mypaintAssignee: Marc Wiriadisastra <marc>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: marc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-12 02:51:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
results of grep for mydrawwidget in /usr/share/mypaint/python none

Description Máirín Duffy 2008-11-03 04:36:53 UTC
Description of problem:

i have a somewhat fresh (<1 week old) f10/rawhide install. i installed MyPaint. it does not run after installation. here is what happens:

[duffy@Aiko ~]$ mypaint 
ImportError: No module named mydrawwidget

We are not correctly installed or compiled!
script = "/usr/bin/mypaint"
dir_install = "/usr/bin"

You need to './configure && make' the C modules first.

Comment 1 Marc Wiriadisastra 2008-11-03 09:05:57 UTC
Can you tell me what you are trying to run it on. x86 or 64?

Comment 2 Marc Wiriadisastra 2008-11-03 11:36:23 UTC
A couple of things.

Can you do a search for mydrawwidget please.

Can you also try this package and tell me if it works.

http://koji.fedoraproject.org/koji/taskinfo?taskID=915439

I'm hoping it's just the main file that's causing the issue however in F9 it works and I don't have F-10 at the moment so I'm flying blind.

Comment 3 Máirín Duffy 2008-11-03 15:04:57 UTC
Hi Marc, it's an x86_64 Lenovo x61 tablet.

Can you tell me how to do a search for mydrawwidget (I'm not really sure where I'm to search?) and I'd be happy to do so? I greped for it in /usr/share/mypaint/python and got a few hits (attached)

I tried the new package and it didn't seem to fix the problem:

[duffy@Aiko ~]$ rpm -qa | grep mypaint
mypaint-0.5.1-2.fc10.x86_64

[duffy@Aiko ~]$ mypaint 
ImportError: No module named mydrawwidget

We are not correctly installed or compiled!
script = "/usr/bin/mypaint"
dir_install = "/usr/bin"

You need to './configure && make' the C modules first.

Comment 4 Máirín Duffy 2008-11-03 15:05:45 UTC
Created attachment 322309 [details]
results of grep for mydrawwidget in /usr/share/mypaint/python

Comment 5 Marc Wiriadisastra 2008-11-03 21:52:15 UTC
Just run the following commands for me please. 
$updatedb
$locate mydrawwidget

The reason I ask is because I've spoken to someone else on F10 and they can run it so it might be the fact that it's a 64 bit.  If thats the case the main /usr/bin/mypaint is pointing to the wrong location which is what I think it is.

Comment 6 Máirín Duffy 2008-11-04 01:56:36 UTC
it doesn't look like locate shows anything new or different from my search attached in comment 4:

[duffy@Aiko ~]$ locate mydrawwidget
/usr/lib64/python2.5/site-packages/mypaint/mydrawwidget.so
/usr/share/mypaint/python/infinitemydrawwidget.py
/usr/share/mypaint/python/infinitemydrawwidget.pyc
/usr/share/mypaint/python/infinitemydrawwidget.pyo
[duffy@Aiko ~]$

Comment 7 Marc Wiriadisastra 2008-11-04 11:44:00 UTC
http://koji.fedoraproject.org/koji/taskinfo?taskID=916957

Thanks for telling me about the bug. The attached build should work please tell me if it doesn't.

Comment 8 Fedora Update System 2008-11-04 11:52:33 UTC
mypaint-0.5.1-2.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/mypaint-0.5.1-2.fc8

Comment 9 Fedora Update System 2008-11-04 11:53:44 UTC
mypaint-0.5.1-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/mypaint-0.5.1-2.fc10

Comment 10 Fedora Update System 2008-11-04 11:54:28 UTC
mypaint-0.5.1-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/mypaint-0.5.1-2.fc9

Comment 11 Máirín Duffy 2008-11-04 23:28:37 UTC
Hi Marc, are you sure you pushed the right pacakge? 0.5.1-2 is the same version you had me try in comment 2 and it does not fix the problem. I still get the following when I try to run it:

[duffy@Aiko ~]$ mypaint 
ImportError: No module named mydrawwidget

We are not correctly installed or compiled!
script = "/usr/bin/mypaint"
dir_install = "/usr/bin"

You need to './configure && make' the C modules first.

Comment 12 Máirín Duffy 2008-11-04 23:30:37 UTC
Hi Marc, oh okay ignore comment #11, it works now. You just didn't bump the NVRE of the package so I wasn't able to install it until I removed the old package I tested for ya.

Comment 13 Fedora Update System 2008-11-07 02:51:10 UTC
mypaint-0.5.1-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mypaint'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-9412

Comment 14 Fedora Update System 2008-11-07 02:57:17 UTC
mypaint-0.5.1-2.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mypaint'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9482

Comment 15 Fedora Update System 2008-11-12 02:51:19 UTC
mypaint-0.5.1-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2008-11-12 02:53:47 UTC
mypaint-0.5.1-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2008-12-03 01:20:05 UTC
mypaint-0.5.1-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.