#2726 closed defect (fixed)
Can not connect to school server
Reported by: | erikos | Owned by: | erikos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Sugar | Version: | 0.92.x |
Severity: | Critical | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Resolved |
Description
There are two issues to this:
- traceback: OLPC 10776 (Python 2.7 switched from using httplib.HTTP to using httplib.HTTPConnection)
- no feedback: OLPC 10678 (introduced by #1742)
Attachments (2)
Change History (6)
Changed 12 years ago by erikos
comment:1 Changed 12 years ago by erikos
Diagnosis of the no feedback issue:
Since we do not cache the palette for the BuddyIcon anymore, we do not cache the Owner palette in the Favorites view anymore. The current code wants to change the register menu in the palette when successfully registered to 'register again'. But the palette has been destroyed and therefore this attempt fails.
2 Possible solutions:
We could just cache the palette of the Owner (patch a) as it has been before. The second patch (b) does not cache the palette and rely on the create_palette method to setup the palette accordingly on popup.
Preference:
As registering (and therefore the change of the palette) happens rather seldom compared to the change of a buddy palette in the neighborhood view I would vote for patch (a). I think the Owner palette can be considered to be mostly static and therefore we can cache it.
comment:2 Changed 12 years ago by erikos
- Owner set to erikos
- Status changed from new to assigned
comment:3 Changed 12 years ago by erikos
- Bug Status changed from New to Resolved
- Resolution set to fixed
- Status changed from assigned to closed
a) cache the palette