sugarlabs / turtleart-activity

A block-based Logo programming environment
MIT License
18 stars 54 forks source link

RuntimeError: sys.meta_path must be a list of import hooks, AttributeError: 'NoneType' object has no attribute 'SMALL_ICON_SIZE' #65

Open quozl opened 5 years ago

quozl commented 5 years ago

On Fedora 18 on an XO-4 with Sugar 0.112, the Turtle Blocks 218 logs this on stop;

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sugar3/logger.py", line 72, in _except_
    from IPython.ultraTB import AutoFormattedTB
RuntimeError: sys.meta_path must be a list of import hooks

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/icon.py", line 559, in 
ferred_height
    self._sync_image_properties()
  File "/usr/lib/python2.7/site-packages/sugar3/graphics/icon.py", line 536, in 
e_properties
    pixel_size = style.SMALL_ICON_SIZE
AttributeError: 'NoneType' object has no attribute 'SMALL_ICON_SIZE'

No apparent impact.

No other activities log this.

A bisection shows regression introduced by e3f8fa9 GTK3 and GST1.0 port.