Ticket #1327 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Error while initiating .sugar environment

Reported by: alsroot Owned by: tomeu
Priority: Low Milestone: 0.86
Component: sugar Version: 0.85.x
Severity: Unspecified Keywords: r+
Cc: Distribution/OS: Ubuntu
Bug Status: Unconfirmed

Description

PPA:  https://launchpad.net/~alsroot/+archive/sugar-0.86

|TestCase|
* start from new .sugar environment
* log all time starts with

1252700542.068306 ERROR root: Error reading public key
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/sugar/profile.py", line 69, in _load_pubkey
    f = open(key_path, "r")
IOError: [Errno 2] No such file or directory: '/home/test/.sugar/default/owner.key.pub'
1252700547.664951 DEBUG sugar.presence.presenceservice: Created proxy <Buddy object at 0x899ab1c (sugar+presence+buddy+Buddy at 0x8a24090)>
_IceTransSocketOpenCOTSServer: Unable to open socket for inet6
_IceTransOpen: transport open failed for inet6/ubuntu:
_IceTransMakeAllCOTSServerListeners: failed to open listener for inet6
** (sugar-session:2838): DEBUG: starting phase 1

** (sugar-session:2838): DEBUG: ending phase 1

Attachments

sugar-1327.patch Download (1.0 KB) - added by alsroot 4 years ago.
sugar-1327.2.patch Download (1.1 KB) - added by alsroot 4 years ago.
sugar-1327.3.patch Download (2.2 KB) - added by alsroot 4 years ago.

Change History

Changed 4 years ago by alsroot

  • owner changed from tomeu to alsroot
  • status changed from new to assigned
  • milestone changed from Unspecified by Release Team to 0.86

Changed 4 years ago by alsroot

  • priority changed from Unspecified by Maintainer to Normal

Changed 4 years ago by tomeu

  • priority changed from Normal to Immediate

Changed 4 years ago by tomeu

Those files should be created by the intro window, any idea why that didn't worked?

Changed 4 years ago by alsroot

  • keywords r? added
  • owner changed from alsroot to tomeu

Changed 4 years ago by alsroot

Changed 4 years ago by tomeu

  • keywords r- added; r? removed

What's the point of this patch? AFAICS it only silences an error.

Several things won't work without the keys, so we should see why those weren't created at the intro window.

Changed 4 years ago by alsroot

Changed 4 years ago by alsroot

  • keywords r? added; r- removed
  • priority changed from Immediate to Low

sugar just fails(which is not fail, in fact) while trying to load keys before creating new environment.

Changed 4 years ago by alsroot

Changed 4 years ago by erikos

So, this still needs review, right?

Changed 4 years ago by tomeu

  • keywords r+ added; r? removed
  • status changed from assigned to closed
  • resolution set to fixed

Sounds good to me, I was a bit concerned about loading the keys eagerly, but now that we have gconf, we don't use the Profile class anywhere else.

Note: See TracTickets for help on using tickets.