Notices


Reply
Thread Tools
PMaff's Avatar
Posts: 361 | Thanked: 219 times | Joined on Sep 2010
#51
Originally Posted by Dousan View Post
Enable extras-testing and do this as root in xterm (you need rootsh installed)

apt-get install mypaint 'enter'
Worked.
Thanks.
 
Posts: 100 | Thanked: 18 times | Joined on Jan 2010 @ Bristol, UK
#52
thanks for this app. this is the best app for n900 I just did my first sketch in system controls lecture
Attached Images
 
 
Posts: 102 | Thanked: 23 times | Joined on Nov 2009 @ Finland
#53
Thank you indeed for this awesome app!!! Here´s little sketch i made
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#54
Not sure if this is the right thread to report this. MyPaint told me when I tried to save an image that it found a bug an I should report this.

Code:
Traceback (most recent call last):
  File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 249, save_cb(self=<gui.filehandling.FileHandler object at 0x42893bb0>, action=<gtk.Action object at 0x43916558 (GtkAction at 0x407978)>)
            if not self.filename:
                self.save_as_cb(action)
            else:
  variables: {'action': ('local', <gtk.Action object at 0x43916558 (GtkAction at 0x407978)>), 'self.save_as_cb': ('local', <bound method FileHandler.save_as_cb of <gui.filehandling.FileHandler object at 0x42893bb0>>)}
  File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 284, save_as_cb(self=<gui.filehandling.FileHandler object at 0x42893bb0>, action=<gtk.Action object at 0x43916558 (GtkAction at 0x407978)>)
                    filename = dialog.get_filename()
                    name, ext = os.path.splitext(filename)
                    ext_filter, options = self.filter2info.get(dialog.get_filter(), ('ora', {}))
  variables: {'ext': (None, None), 'os.path.splitext': ('global', <function splitext at 0x40214ef0>), 'name': (None, None), 'filename': ('local', None)}
  File "/usr/lib/python2.5/posixpath.py", line 92, splitext(p=None)
        last dot to the end.  Returns "(root, ext)", either part may be empty."""
        i = p.rfind('.')
        if i<=p.rfind('/'):
  variables: {'i': (None, None), 'p': ('local', None)}
AttributeError: 'NoneType' object has no attribute 'rfind'
 

The Following User Says Thank You to Venemo For This Useful Post:
zdanee's Avatar
Posts: 311 | Thanked: 376 times | Joined on Nov 2010 @ Hungary
#55
I've updated mypaint from the repos to 0.9, it fails to start:

external python-simplejson
Traceback (most recent call last):
File "/opt/mypaint/bin/mypaint", line 171, in <module>
from gui import main
File "/opt/mypaint/share/mypaint/gui/main.py", line 16, in <module>
from gui import application
File "/opt/mypaint/share/mypaint/gui/application.py", line 14, in <module>
import filehandling, keyboard, brushmanager, windowing, document, layout
File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 17, in <module>
from lib import document, helpers
File "/opt/mypaint/share/mypaint/lib/document.py", line 396
pixbufsurface.save_as_png(self, filename, *doc_bbox, alpha=False, **kwargs)
^
SyntaxError: invalid syntax
Now this sounds like a small mistype kinda bug, so I wouldn't like to wait days for the fix, I'd just fix it myself... if I only knew what could be wrong here. Anyone else tried this yet?
 

The Following User Says Thank You to zdanee For This Useful Post:
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#56
Not working for me since the last update either

Hopefully a fix is waiting in the wings.
Can't comment on your post, zdanee. I'm not a Maemo Wizard like you lot.
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.
 
zdanee's Avatar
Posts: 311 | Thanked: 376 times | Joined on Nov 2010 @ Hungary
#57
Okay, I think I see something. In /opt/mypaint/share/mypaint/lib/pixbufsurface.py at line 114 it says:
def save_as_png(surface, filename, *rect, **kwargs):
while in document.py it calls:
pixbufsurface.save_as_png(self, filename, *doc_bbox, alpha=False, **kwargs)
Now I don't speak pythonese, but I don't know what that alpha=False is doing there. On the other hand removing it still messes up stuff:

Type error in /opt/mypaint/share/mypaint/gui/filehandling.py at line 74:
__init()__ arg 4 must be string not None
 
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#58
Originally Posted by stickymick View Post
Not working for me since the last update either

Hopefully a fix is waiting in the wings.
Can't comment on your post, zdanee. I'm not a Maemo Wizard like you lot.
same here mine not working after update.
 
zdanee's Avatar
Posts: 311 | Thanked: 376 times | Joined on Nov 2010 @ Hungary
#59
Okay, I've reverted back to 0.8.2. It says Vanilla upstream 0.9.1 -version, so I guess no Maemo-specific change has been made in it, and I'd be in over my head trying to fix this.
 
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#60
i too have reverted back working fine again
 
Reply


 
Forum Jump


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