|
2010-10-19
, 20:41
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#52
|
|
2010-12-15
, 13:23
|
Posts: 102 |
Thanked: 23 times |
Joined on Nov 2009
@ Finland
|
#53
|
|
2010-12-22
, 14:49
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#54
|
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: | ||
|
2011-04-20
, 09:25
|
|
Posts: 311 |
Thanked: 376 times |
Joined on Nov 2010
@ Hungary
|
#55
|
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
The Following User Says Thank You to zdanee For This Useful Post: | ||
|
2011-04-20
, 09:30
|
|
Posts: 1,079 |
Thanked: 1,019 times |
Joined on Mar 2010
|
#56
|
|
2011-04-20
, 10:12
|
|
Posts: 311 |
Thanked: 376 times |
Joined on Nov 2010
@ Hungary
|
#57
|
def save_as_png(surface, filename, *rect, **kwargs):
pixbufsurface.save_as_png(self, filename, *doc_bbox, alpha=False, **kwargs)
__init()__ arg 4 must be string not None
|
2011-04-20
, 10:32
|
|
Posts: 939 |
Thanked: 366 times |
Joined on Dec 2010
@ U.K.
|
#58
|
|
2011-04-20
, 12:02
|
|
Posts: 939 |
Thanked: 366 times |
Joined on Dec 2010
@ U.K.
|
#60
|
Thanks.