Active Topics

 



Notices


Reply
Thread Tools
Posts: 40 | Thanked: 10 times | Joined on Feb 2010
#251
Originally Posted by Creativetone View Post
Oh.. maybe I misunderstand
.. 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.

Last edited by apol657; 2010-05-08 at 12:41.
 
object's Avatar
Posts: 52 | Thanked: 191 times | Joined on Apr 2010
#252
 

The Following 7 Users Say Thank You to object For This Useful Post:
Creativetone's Avatar
Posts: 502 | Thanked: 4,475 times | Joined on Feb 2010 @ Finland
#253
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? ... 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.
 

The Following User Says Thank You to Creativetone For This Useful Post:
Posts: 10 | Thanked: 26 times | Joined on Jan 2010
#254
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
 
Posts: 118 | Thanked: 297 times | Joined on Nov 2007
#255
Originally Posted by xpsj View Post
/home/user # mypaint
I presume you are trying to run it as root. Don't do that... Run as user.
 

The Following User Says Thank You to anders_gud For This Useful Post:
Posts: 10 | Thanked: 26 times | Joined on Jan 2010
#256
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..
 
Posts: 118 | Thanked: 297 times | Joined on Nov 2007
#257
Originally Posted by xpsj View Post
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
 

The Following 2 Users Say Thank You to anders_gud For This Useful Post:
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#258
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

Originally Posted by twenty90seven View Post
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 ...

Originally Posted by harp View Post
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.

Originally Posted by Dousan View Post
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

Last edited by xman; 2010-05-08 at 16:26.
 

The Following User Says Thank You to xman For This Useful Post:
Tiboric's Avatar
Posts: 433 | Thanked: 312 times | Joined on Nov 2009 @ U.K
#259
Thanks for this, its so good, got my creative juices flowing.


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



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

Last edited by Tiboric; 2010-05-08 at 16:42.
 

The Following 3 Users Say Thank You to Tiboric For This Useful Post:
Posts: 40 | Thanked: 10 times | Joined on Feb 2010
#260
Originally Posted by Creativetone View Post
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? ... 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 )! 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..
 

The Following User Says Thank You to apol657 For This Useful Post:
Reply

Tags
mypaint, sketching


 
Forum Jump


All times are GMT. The time now is 17:57.