Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#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)

Attachments (2)

cache_the_palette.patch (485 bytes) - added by erikos 13 years ago.
a) cache the palette
no_cache.patch (1.1 KB) - added by erikos 13 years ago.
b) don't cache the palette

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by erikos

a) cache the palette

Changed 13 years ago by erikos

b) don't cache the palette

comment:1 Changed 13 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 13 years ago by erikos

  • Owner set to erikos
  • Status changed from new to assigned

comment:3 Changed 13 years ago by erikos

  • Bug Status changed from New to Resolved
  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 11 years ago by dnarvaez

  • Milestone 0.92 deleted

Milestone 0.92 deleted

Note: See TracTickets for help on using tickets.