'NoneType' object has no attribute 'SMALL_ICON_SIZE'#80
'NoneType' object has no attribute 'SMALL_ICON_SIZE'#80Saumya-Mishra9129 wants to merge 1 commit intosugarlabs:masterfrom
Conversation
|
Thanks. Please tell me more about how this solves? |
|
@Saumya-Mishra9129 4a3cf3f uses a |
|
@Saumya-Mishra9129 wrote:
Actually, you mean in #65.
Yes. In the toolkit source file src/sugar3/graphics/icon.py.
Above code links are from Sugar 0.112. No code changes We are also getting a RuntimeError: sys.meta_path must be a list of import hooks.
Not so. Firstly, it was imported as shown above, and secondly if it were not imported the error would have been "NameError: name 'style' is not defined".
I see your logic; you are suggesting that the port to GTK 3 and GStreamer 1.0, which removed support for very old versions of the GTK 2 toolkit (before GRID_CELL_SIZE was added), was the cause of the error. You are suggesting that adding back support for very old versions of the GTK 2 toolkit will fix it. However, the error is not reported against the source file you are changing. Let me offer an alternative speculation;
By the way, to reproduce or test this you would need to install Fedora 18 VM with Sugar 0.112 packages. Those packages are available for i386 32-bit architecture from rpmdropbox.laptop.org. |
Yeah You are probably right. however I think sugar-toolkit-gtk3 is the place which can cause the error because of port from GTK2 to GTK3 . I still need to test it on Fedora because we can't make assumptions. |
The PR should fix #65 . This is based on a regression made by e3f8fa9.