Opened 12 years ago

Last modified 11 years ago

#3218 assigned defect

Labyrint get errors when try to save the map

Reported by: Alvar Owned by: j266
Priority: Urgent Milestone:
Component: Labyrinth Version: 0.94.x
Severity: Major Keywords: Labyrinth, fedora 15
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

Hi to all,
We have a problem in sugar that are running on Fedora 15.
we can not save our job.
This is the log
more org.gnome.Labyrinth-1.log
Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
1319145663.093416 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.096839 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/toolbarbox.py:117: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

self.props.palette.add(self.page_widget)

1319145663.154111 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.160015 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.162826 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:412: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

_sugarext.Menu.do_insert(self, item, position)

1319145663.171207 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.174282 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.177242 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.180177 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/toolbutton.py:48: GtkWarning: IAgtk_accel_group_connect: assertion `accel_key > 0' failed

gtk.ACCEL_LOCKED | gtk.ACCEL_VISIBLE)

1319145663.203869 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/window.py:197: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

self.vbox.pack_start(toolbar_box, False)

1319145663.206372 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.206557 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/graphics/toolbarbox.py:45: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

self.parent.owner.pack_start(self.page_widget)

1319145663.209649 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.209845 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.211857 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.212056 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.212216 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.214430 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.214627 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.214785 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.216679 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.216851 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.217011 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.217169 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.219407 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.219581 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.219739 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.219895 WARNING root: No gtk.AccelGroup in the top level window.
1319145663.224186 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:284: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(self.mods[0], tool_offset)

1319145663.251719 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:291: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(self.mods[1], tool_offset + 1)

1319145663.255171 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:298: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(self.mods[2], tool_offset + 2)

1319145663.258536 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:305: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(self.mods[3], tool_offset + 3)

1319145663.261793 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:312: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(self.mods[5], tool_offset + 4)

1319145663.265067 WARNING root: No gtk.AccelGroup in the top level window.
/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py:321: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

target_toolbar.insert(tool, tool_offset + 6)

(sugar-activity:1664): DEBUG: Got client ID "105f555daff2a37c7d131914566337526900000013240007"
(sugar-activity:1664): DEBUG: Setting initial properties
(sugar-activity:1664): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(sugar-activity:1664): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
(sugar-activity:1664): DEBUG: Received SaveComplete message in state save-yourself-done
/usr/lib/python2.7/site-packages/sugar/graphics/palette.py:211: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

if menu_item.props.submenu is not None:

1319145686.574692 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.7/site-packages/sugar/activity/namingalert.py:194: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

vbox.pack_start(toolbar, False)

/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py:103: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - i
nterpreting them as being unequal

if key not in self._properties or self._properties[key] != value:

1319145689.764103 ERROR root: Error saving activity object to datastore
Traceback (most recent call last):

File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line 844, in _prepare_close

self.save()

File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line 678, in save

self.write_file(file_path)

File "/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py", line 526, in write_file

self._main_area.element)

File "/home/arbol/Activities/Labyrinth.activity/labyrinthactivity.py", line 542, in serialize_to_xml

string = doc.toxml ()

File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 47, in toxml

return self.toprettyxml("", "", encoding)

File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 59, in toprettyxml

self.writexml(writer, "", indent, newl, encoding)

File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 1746, in writexml

node.writexml(writer, indent, addindent, newl)

File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 816, in writexml

_write_data(writer, attrs[a_name].value)

File "/usr/lib/python2.7/site-packages/_xmlplus/dom/minidom.py", line 304, in _write_data

data = data.replace("&", "&amp;").replace("<", "&lt;")

AttributeError: 'NoneType' object has no attribute 'replace'
1319145689.784790 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.139398 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.139652 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.145536 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.145754 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.145914 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.151210 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.151408 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.151570 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.151727 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.156139 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.156332 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.156492 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.156650 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.156841 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.157001 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.157184 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.159287 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.159473 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.164940 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.165160 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.165335 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.169964 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.170156 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.170331 WARNING root: No gtk.AccelGroup in the top level window.
1319145700.170489 WARNING root: No gtk.AccelGroup in the top level window.
Exited with status 0, pid 1664 data (None, <open file '<fdopen>', mode 'w' at 0x9ba9860>, dbus.ByteArray('94afd7da9680d6725a27777716d3423980f70083', variant_
level=1))

Change History (5)

comment:1 Changed 12 years ago by garycmartin

  • Owner changed from garycmartin to j266
  • Status changed from new to assigned

comment:2 Changed 12 years ago by godiard

Alvar, are you using F15 or have moved to F16? Is this a bug you can reproduce right now?

comment:3 Changed 12 years ago by godiard

  • Component changed from Labyrinth to sugar

This is a issue with Sugar and not with the activity. Will be addressed with the feature http://wiki.sugarlabs.org/go/Features/Can_share

comment:4 Changed 12 years ago by godiard

  • Component changed from sugar to Labyrinth

Ignore the last comment, wrong ticket

comment:5 Changed 11 years ago by dnarvaez

  • Milestone 0.94 deleted

Milestone 0.94 deleted

Note: See TracTickets for help on using tickets.