maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Mypaint-0.7.1 for Fremantle (https://talk.maemo.org/showthread.php?t=41807)

apol657 2010-05-08 12:37

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by Creativetone (Post 649245)
Oh.. maybe I misunderstand :o
.. gtk_menu should allow you to edit keys.

Ah ok, I will try gtk_menu later!

I just found a problem on saving my file... It has two layers, but i cant save it as .ora or .jpg ... I get the following error:

Traceback (most recent call last):
File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 259, save_as_cb(self=<gui.filehandling.FileHandler object at 0x4268fd70>, action=<gtk.Action object at 0x43711b20 (GtkAction at 0x1a3ae78)>)
dialog.hide()
self.save_file(filename, **options)
break
variables: {'self.save_file': ('local', <bound method FileHandler.wrapper of <gui.filehandling.FileHandler object at 0x4268fd70>>), 'options': ('local', None), 'filename': ('local', '/home/user/MyDocs/.images/Mypaint/Tree.ora.ora')}
File "/opt/mypaint/share/mypaint/gui/drawwindow.py", line 36, wrapper(self=<gui.filehandling.FileHandler object at 0x4268fd70>, *args=('/home/user/MyDocs/.images/Mypaint/Tree.ora.ora',), **kwargs={})
self.app.drawWindow.window.set_cursor(gdk.Cursor(g dk.WATCH))
self.app.drawWindow.tdw.window.set_cursor(None)
# make sure it is actually changed before we return
AttributeError: 'NoneType' object has no attribute 'set_cursor'


edit: merging the layers also didnt work... I am sorry that I wont be able to provide more information,but i have to go... I use the maemo10 version by the way.

object 2010-05-08 12:59

Re: Mypaint-0.7.1 for Fremantle
 
http://1.bp.blogspot.com/_NRWUGak3PF...throbotics.jpg

Creativetone 2010-05-08 15:04

Re: Mypaint-0.7.1 for Fremantle
 
Hi!
apol657 - I am using maemo10 and I have no problems to save the files with layers or not. Interesting.. hmm.

object - very nice painting... "android" n-900? :D ... grrr... I must learn to draw.. figuratives.

harp - I do not mind if you attach images :).. I like to see what you can do with this great painting app.

xpsj 2010-05-08 15:42

Re: Mypaint-0.7.1 for Fremantle
 
okey..im a long time reader but this is my first post and question about this nice piece of software..
after a lot of try and error I was able to get this thing to work.

but after the update to maemo10 I cant get it to start up again...
and when I try to start the app using xterm I get the following error:

/home/user # mypaint
process 5247: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 5247: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted

Does anyone know what kind of error this is? And is it easy fixable;)?

Thx in advance!!
grtzz Xpsj

anders_gud 2010-05-08 15:52

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by xpsj (Post 649418)
/home/user # mypaint

I presume you are trying to run it as root. Don't do that... Run as user.

xpsj 2010-05-08 16:04

Re: Mypaint-0.7.1 for Fremantle
 
I see!! thx for your quick reply...but..Now I get a new error:P

~ $ mypaint
confpath = /home/user/.mypaint/
/home/user/.mypaint/brushes/order_default.conf: Warning: brush appears twice in the same group, ignored
/opt/mypaint/share/mypaint/brushes/order.conf: Warning: brush appears twice in the same group, ignored
Merging upstream brush changes into your collection.
Traceback (most recent call last):
File "/opt/mypaint/bin/mypaint", line 124, in <module>
main.main(datapath, confpath)
File "/opt/mypaint/share/mypaint/gui/main.py", line 27, in main
app = application.Application(datapath, options.config, args)
File "/opt/mypaint/share/mypaint/gui/application.py", line 50, in __init__
self.brushmanager = brushmanager.BrushManager(join(datapath, 'brushes'), join(confpath, 'brushes'))
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 43, in __init__
self.load_groups()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 129, in load_groups
self.save_brushorder()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 162, in save_brushorder
f = open(os.path.join(self.user_brushpath, 'order.conf'), 'w')
IOError: [Errno 13] Permission denied: '/home/user/.mypaint/brushes/order.conf'

I have to add that I am a bit noobish deciphering these logs..

anders_gud 2010-05-08 16:21

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by xpsj (Post 649440)
I see!! thx for your quick reply...but..Now I get a new error:P

~ $ mypaint
confpath = /home/user/.mypaint/
/home/user/.mypaint/brushes/order_default.conf: Warning: brush appears twice in the same group, ignored
/opt/mypaint/share/mypaint/brushes/order.conf: Warning: brush appears twice in the same group, ignored
Merging upstream brush changes into your collection.
Traceback (most recent call last):
File "/opt/mypaint/bin/mypaint", line 124, in <module>
main.main(datapath, confpath)
File "/opt/mypaint/share/mypaint/gui/main.py", line 27, in main
app = application.Application(datapath, options.config, args)
File "/opt/mypaint/share/mypaint/gui/application.py", line 50, in __init__
self.brushmanager = brushmanager.BrushManager(join(datapath, 'brushes'), join(confpath, 'brushes'))
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 43, in __init__
self.load_groups()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 129, in load_groups
self.save_brushorder()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 162, in save_brushorder
f = open(os.path.join(self.user_brushpath, 'order.conf'), 'w')
IOError: [Errno 13] Permission denied: '/home/user/.mypaint/brushes/order.conf'

I have to add that I am a bit noobish deciphering these logs..

When you ran mypaint as root the .mypaint directory got wrong file permissions
remove the old .mypaint directory
as root:
cd /home/user/
rm -R .mypaint/
exit

xman 2010-05-08 16:22

Re: Mypaint-0.7.1 for Fremantle
 
I've remaped my keyboard to include pageup, page down, home and end + tab too. It make getting around site and document list just about every thing easier. It's not hard, you just have to make sure you do it right.

Wiki how page here


A post that help me here

Quote:

Originally Posted by twenty90seven (Post 649160)
does anyone know the keys to use layers? mypaint refers to page up keys what is the equivalent key on the n900 keyboard? cheers


I don't mine either, but don't forget post them the thread you started Look what I drew on my phone thread .... to keep that going too ... :D

Quote:

Originally Posted by harp (Post 649256)
Hope you guys don't mind me attaching these images all the time.

Just thought I add to what Dousan said; in that with the gtk_menu on after you tap once you can use the arrow keys to navigate to the menu item you want to change, now you have both hand availible to make a shortcuts like shift-fn-P or whatever you can think of. It a lot easier this way for me. Unless I'm stating the obvious....lol oops.

Quote:

Originally Posted by Dousan (Post 649181)
I don't know but you should be able to change them by tapping and holding and then choose the new key while holding and then let go :)


Tiboric 2010-05-08 16:40

Re: Mypaint-0.7.1 for Fremantle
 
Thanks for this, its so good, got my creative juices flowing. :)


My first drawing... of any kind... ever

http://img132.imageshack.us/img132/9020/scrap001m.jpg

my gf wouldn't belive me coz she's seen my biro doodles.

apol657 2010-05-08 16:58

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by Creativetone (Post 649390)
Hi!
apol657 - I am using maemo10 and I have no problems to save the files with layers or not. Interesting.. hmm.

object - very nice painting... "android" n-900? :D ... grrr... I must learn to draw.. figuratives.

harp - I do not mind if you attach images :).. I like to see what you can do with this great painting app.

Thanks for your interest Tone! Ok everything got magically working after the gtk_menu! It could be a coincidence,or not idk... But what matters is that now i can save files, make shortcuts and have fullscreen(and a very small working menu at the same time if i want :D)! Mypaint became even more awesome with your help people,thanks again!!!

By the way as i see many of you know very much about mypaint, do you know how to save to *.ora again after i saved to *.jpg ? I tried save as file.ora but it creates a file named file.ora.jpg .I can always save as *.ora before exporting to jpg and then restart mypaint and open the *.ora file and saving format reverts to *.ora again... So its not that important, just kinda useful..


All times are GMT. The time now is 18:56.

vBulletin® Version 3.8.8