Ticket #1641 (closed enhancement: notabug)

Opened 3 years ago

Last modified 3 years ago

Speak fails on launch without net connection

Reported by: cjb Owned by: alsroot
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Browse Version: Unspecified
Severity: Unspecified Keywords:
Cc: dsd, mikus, alsroot, mstone, quozl Distribution/OS: Unspecified
Bug Status: New

Description

According to this OLPC bug, Speak is crashing on launch with no net connection:

 http://dev.laptop.org/ticket/9945

It seems obvious to me that Speak should never depend on a net connection. What's going on?

Change History

Changed 3 years ago by mstone

  • cc alsroot, mstone added

Changed 3 years ago by quozl

  • cc quozl added

Changed 3 years ago by alsroot

Speak was switched to services( http://wiki.sugarlabs.org/go/Activity_Team/Services) to install missed gst-espeak plugin which is missed on XO.

This issue with disabled connection after downloading but before first launch was predicted but can be fixed only from shell side(see offline mode in  http://wiki.sugarlabs.org/go/Features/Zero_Install_integration). I guess in most cases it should work as is(since user downloaded activity from ASLO), other cases(like deploying previously downloaded from ASLO activities) could be treaded in separate way e.g. ASLO or something which deploy "offline" ASLO activities can automatically bundle all 0install dependencies.

Changed 3 years ago by alsroot

  • status changed from new to assigned
  • component changed from Speak to activities.sugarlabs.org
  • owner changed from jminor to alsroot
  • distribution changed from OLPC to Unspecified
  • type changed from defect to enhancement
  • status_field changed from Unconfirmed to New

It already could be done somehow on ASLO, since we have user's arch from useragent string and language from ASLO's language selector and I'm working on it. In the rest cases like complicated deps that require not only arch to resolve the full deps tree or in cases when users already have activity dependencies  http://wiki.sugarlabs.org/go/Features/Zero_Install_integration could pass "online" mode flag in Browse's useragent string

Changed 3 years ago by alsroot

  • component changed from activities.sugarlabs.org to Browse

hmm.. it will break mirroring workflow since downloaded .xo could be different for the same activity. I guess better tweak Browse to split .xo downloading to two phases - binary less .xo and 0install deps.

I'm going to implement such fix for 0.82+ Browses.

Changed 3 years ago by alsroot

  • status changed from assigned to closed
  • resolution set to notabug

I've reverted CB-9 and Speak-12 to previous versions and closing this ticket since the whole Sugar Services will be accessible from development environment(somehow).

Note: See TracTickets for help on using tickets.