-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'NoneType' object has no attribute 'SMALL_ICON_SIZE' #80
base: master
Are you sure you want to change the base?
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.