MyPaint paint program with Python 2.7
I have put together a simple package to use the excellent paint
program MyPaint. This program is great with the wacom
digitizing tablet.
I checked it using porteus (xfce)
both off a CD and a hard drive partition
The instructions are inside archive.
There is only three packages to install.
Warning!! I'm not sure that the version of python I
supplied is totally compatible but at least it works
http://www.datafilehost.com/download-abb69e0b.html
MyPaint 1.0 paint program with Python
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: MyPaint 1.0 paint program with Python
hey, thanks! ....but.. i'm guessing this is 32bit(might be good to specify). I tried it in 1.1 64(kde/lxde) with the 32compat libs(which i assume should work?) and get this:
i've previously tried converting from .debs(64) and manually moving python and even editing the python start scipt of mypaint itself... i don't think i managed to get it to even find python 2.7..
also tried Mypaint 0.8 which uses python 2.6 .....with no luck....
Code: Select all
guest@porteus:~$ mypaint
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha512
(process:4507): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
builtin python 2.6 json support
/usr/share/mypaint/gui/layout.py:480: GtkWarning: Unable to locate theme engine in module_path: "nodoka",
handle_size = gtk.HPaned().style_get_property("handle-size") + 2
confpath = /home/guest/.mypaint/
/usr/share/mypaint/gui/application.py:53: GtkWarning: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
icon_theme = gtk.icon_theme_get_default()
/usr/share/mypaint/gui/application.py:432: GtkWarning: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
pixbuf = gdk.pixbuf_new_from_file(join(self.dirname, name + '.png'))
Traceback (most recent call last):
File "/usr/bin/mypaint", line 176, in <module>
main.main(datapath, extradata, confpath)
File "/usr/share/mypaint/gui/main.py", line 72, in main
run()
File "/usr/share/mypaint/gui/main.py", line 47, in run
app = application.Application(datadir, extradata, options.config, args)
File "/usr/share/mypaint/gui/application.py", line 74, in __init__
self.cursor_color_picker = gdk.Cursor(gdk.display_get_default(), self.pixmaps.cursor_color_picker, 1, 30)
File "/usr/share/mypaint/gui/application.py", line 434, in __getattr__
raise AttributeError, str(e)
AttributeError: Couldn't recognize the image file format for file '/usr/share/mypaint/pixmaps/cursor_color_picker.png'
also tried Mypaint 0.8 which uses python 2.6 .....with no luck....
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: MyPaint 1.0 paint program with Python
My packages come from the puppy pet repositories
and Puppy pet libraries are almost exclusively 32 bit.
I don't have a 64bit computer, but for people who do
it would be easy to convert the fatdog repository of pet packages
to Porteus.
The repository can be found here
http://distro.ibiblio.org/pub/linux/dis ... atdog/web/
Use my application extract-pet
http://forum.porteus.org/viewtopic.php? ... 3ea1ff938b
to make a module . After making the module and installing ---> Launch the app with the terminal
and you will likely get a complaint about a missing dependency.
Track down the 64 bit version of the dependency.
Alternatively you can cd to /usr/bin/
and in terminal type
This does a good job in listing the missing dependencies.
_______________________________________________________
and Puppy pet libraries are almost exclusively 32 bit.
I don't have a 64bit computer, but for people who do
it would be easy to convert the fatdog repository of pet packages
to Porteus.
The repository can be found here
http://distro.ibiblio.org/pub/linux/dis ... atdog/web/
Use my application extract-pet
http://forum.porteus.org/viewtopic.php? ... 3ea1ff938b
to make a module . After making the module and installing ---> Launch the app with the terminal
and you will likely get a complaint about a missing dependency.
Track down the 64 bit version of the dependency.
Alternatively you can cd to /usr/bin/
and in terminal type
Code: Select all
ldd /path/to/app
_______________________________________________________
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: MyPaint 1.0 paint program with Python
Hamza, i was hoping the python 2.7 included in the above
package would somehow combine with compat 32libs or
something ....seems not.. thats ok..
don590, i saw in 'development' thread, all makes sense
now in '486 modules'
good to know about fatdog repo and puppy packages generally.
no mypaint 64 tho or python....
on a side note, if your interested in making the package
smaller, unpack 'mypaint-data', and look in
/usr/share/mypaint/backgrounds/
two folders - mrmamurk and ramon, contain hi-res backgrounds.
29 mb. don't know if it would break anything to remove these.
would certainly slim things down and they could be an optional
module..
package would somehow combine with compat 32libs or
something ....seems not.. thats ok..
don590, i saw in 'development' thread, all makes sense
now in '486 modules'
good to know about fatdog repo and puppy packages generally.
no mypaint 64 tho or python....
on a side note, if your interested in making the package
smaller, unpack 'mypaint-data', and look in
/usr/share/mypaint/backgrounds/
two folders - mrmamurk and ramon, contain hi-res backgrounds.
29 mb. don't know if it would break anything to remove these.
would certainly slim things down and they could be an optional
module..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: MyPaint 1.0 paint program with Python
I'll do a check inside the package.
Thanks for the tip.
Thanks for the tip.
Re: MyPaint 1.0 paint program with Python
No, it's not included. ldd /path/to/binary is one of process used by Porteus Package Manager to solve missings deps and it appears PPM cannot solve Python deps too, at the moment.Hamza, i was hoping the python 2.7 included in the above
package would somehow combine with compat 32libs or
something ....seems not.. thats ok..
NjVFQzY2Rg==
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: MyPaint 1.0 paint program with Python
so ... i tried removing /usr/share/mypaint/backgrounds/ramon +mrmamurk.... and it still works fine... so if you want to slim it down to 5mb (+pythondeps), you can..
..something i've noticed... in xfce, i've noticed that there seems to be a couple of missing icons for flipping...dont know about trinity...
..and some error message on image saving...which seems to be no problem...just wondered if anyone else sees this...
..something i've noticed... in xfce, i've noticed that there seems to be a couple of missing icons for flipping...dont know about trinity...
..and some error message on image saving...which seems to be no problem...just wondered if anyone else sees this...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44