[SoaS] Physics fails in SoaS-34

Frederick Grose fgrose at gmail.com
Wed Feb 17 12:38:43 EST 2021


See https://bugs.sugarlabs.org/ticket/4999
logs attached there.

>From Physics log:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
562, in do_get_preferred_height
    surface = self._buffer.get_surface()
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
370, in get_surface
    handle = self._load_svg(icon_info.file_name)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
197, in _load_svg
    return self._loader.load(file_name, entities, self.cache)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
140, in load
    return Rsvg.Handle.new_from_data(icon.encode('utf-8'))
gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201
(3) in (null):22:40: Namespace prefix inkscape for connector-curvature on
path is not defined
 (0)
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
574, in do_get_preferred_width
    surface = self._buffer.get_surface()
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
370, in get_surface
    handle = self._load_svg(icon_info.file_name)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
197, in _load_svg
    return self._loader.load(file_name, entities, self.cache)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
140, in load
    return Rsvg.Handle.new_from_data(icon.encode('utf-8'))
gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201
(3) in (null):22:40: Namespace prefix inkscape for connector-curvature on
path is not defined
 (0)
Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/gi/_propertyhelper.py", line
401, in obj_set_property
    prop.fset(self, value)
  File "/usr/lib/python3.9/site-packages/sugar3/activity/activity.py", line
612, in set_active
    self.save()
  File "/usr/lib/python3.9/site-packages/sugar3/activity/activity.py", line
978, in save
    self.write_file(file_path)
  File "/usr/share/sugar/activities/Physics.activity/activity.py", line
129, in write_file
    self.game.write_file(file_path)
  File "/usr/share/sugar/activities/Physics.activity/physics.py", line 78,
in write_file
    self.world.add.remove_mouseJoint()
AttributeError: 'PhysicsGame' object has no attribute 'world'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
587, in do_draw
    surface = self._buffer.get_surface(sensitive, self)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
370, in get_surface
    handle = self._load_svg(icon_info.file_name)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
197, in _load_svg
    return self._loader.load(file_name, entities, self.cache)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
140, in load
    return Rsvg.Handle.new_from_data(icon.encode('utf-8'))
gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201
(3) in (null):22:40: Namespace prefix inkscape for connector-curvature on
path is not defined
 (0)
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
587, in do_draw
    surface = self._buffer.get_surface(sensitive, self)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
370, in get_surface
    handle = self._load_svg(icon_info.file_name)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
197, in _load_svg
    return self._loader.load(file_name, entities, self.cache)
  File "/usr/lib/python3.9/site-packages/sugar3/graphics/icon.py", line
140, in load
    return Rsvg.Handle.new_from_data(icon.encode('utf-8'))
gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201
(3) in (null):22:40: Namespace prefix inkscape for connector-curvature on
path is not defined
 (0)
Terminated by signal 11, pid 1876 activity_id
fe77a8a253d763333ced8ef2f6955bfa91a4cca2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/soas/attachments/20210217/7eeadd4c/attachment.htm>


More information about the SoaS mailing list