Pyjama hangs up when querying Jamendo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjama |
New
|
Undecided
|
Unassigned |
Bug Description
When the jamendo servers are not available or slow, pyjama hangs when trying to talk to them: The "querying jamendo" dialog occurs - nothing else happens, pyjama greys out.
The reasons seems to be a design smell:
1) If an error occurs while querying Jamendo, an error-message is going to be shown.
2) The function for the error-dialog embeds the dialog-call into a gtk.gdk.
3) Unfortunately these lines make pyjama hang up when the calling function is NOT threaded.
==> As the jamendo-query function can be called by threaded and by non-threaded functions, an error will always result in Pyjama hanging up - either caused by an non-threaded function causing this error or by an threaded function causing this error.
Possible Solution: Have an isolated Jamendo-