-
Notifications
You must be signed in to change notification settings - Fork 255
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
Fix harmless traceback of sugar-control-panel #802
Conversation
Thanks. Reviewed to d153654. I don't like the solution, because it does not explain the problem. A hack. Mysteries should not be left unsolved, because they often come back later. Why is |
* error was caused by a recursive import Fixes #793 Tested-by: Rahul Bothra <[email protected]> # Ubuntu 16.04
Thanks for pointing out. I have added comments and updated the commit message
Yes, |
Is there an alternative solution? Net effect of a326c5f is to defer the import until the palette is created. At what elapsed time in the user experience? During shell startup before the activity ring is rendered, or when the icon is hovered over or clicked? We have some slow systems that run Sugar, and adding delay in the latter case would be unwelcome. |
I don't have access to any slower system, is there an alternative on how I can test for delay in slower systems on my current system |
You can simulate a slower system by configuring a virtual machine hypervisor to restrict the CPU time available. You can then add However, you may find Remember also that |
While I am not getting time to test the delay, I can't see an alternative solution to this
I agree. Should we keep this then ? |
Perhaps refactor to avoid the recursion? Look at the traceback again, and consider each import from the top. Look at What alerted me to this was the PyGIWarning for Gtk and the other libraries. The reason there was only one |
@pro-panda what's the status of this, I hadn't been paying much attention until I recently tried using |
@chimosky, thanks for bringing my attention to this. I'm not sure what did you mean by "status". Stale. Closing |
Fixes #793
Tested on: Ubuntu 16.04, Sugar 0.112