Ticket #7852 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Speak-5 times out when launching on joyride-2258 (No module named Numeric)

Reported by: garycmartin Owned by: morgs
Priority: high Milestone: 8.2.0 (was Update.2)
Component: speak-activity Version: Development build as of this date
Keywords: 8.2.0:? Measure Speak Cc: j@…, Rmyers
Action Needed: test in build Verified: no
Deployments affected: Blocked By:
Blocking:

Description

Clicking to launch Speak from the home ring displays the launching splash screen correctly, but then sits there for a long time before timing out. I've attached Speak logs, but just looks like the Numeric related package change has caused the breakage.

Attachments

vu.lux.olpc.Speak-1.log (13.8 kB) - added by garycmartin 6 years ago.
speak.diff (381 bytes) - added by morgs 6 years ago.
Patch which fixes this on joyride-2301

Change History

Changed 6 years ago by garycmartin

  Changed 6 years ago by mantaraya36

The measure activity exhibits the same problem.

  Changed 6 years ago by kimquirk

  • keywords 8.2.0:? added
  • owner changed from mstone to morgs

Morgs - can you find an owner to help look into this?

  Changed 6 years ago by garycmartin

Speak activity is by Joshua Minor (User:Jminor) email is j at lux.vu. I've sent a quick ping email (cc:ed morgs).

  Changed 6 years ago by thomaswamm

  • keywords Measure Speak added
  • priority changed from normal to high
  • next_action changed from never set to diagnose

Measure activity also times out when launching in joyride-2301.

ImportError: No module named Numeric

follow-up: ↓ 6   Changed 6 years ago by thomaswamm

This is probably a duplicate of http://dev.laptop.org/ticket/7771.

in reply to: ↑ 5   Changed 6 years ago by morgs

Replying to thomaswamm:

This is probably a duplicate of http://dev.laptop.org/ticket/7771.

That ticket is for Measure, this one is for Speak...

  Changed 6 years ago by morgs

On Wed, Jul 30, 2008 at 06:08, C. Scott Ananian <cscott@…> wrote:

Note that just replacing: import Numeric with: import numpy.oldnumeric as Numeric may be sufficient to fix these activities. If more invasive changes are required, numpy.oldnumeric.alter_code1 contains routines to automatically convert most Numeric code to run under numpy. --scott

Changed 6 years ago by morgs

Patch which fixes this on joyride-2301

  Changed 6 years ago by morgs

I'll get Joshua to apply this patch or I'll push it if I get no response.

  Changed 6 years ago by jminor

  • cc j@… added

Lets add a try/catch to fall back to the old modules so that the new version of Speak will work on new and old releases of Sugar.

  Changed 6 years ago by Rmyers

  • cc Rmyers added

  Changed 6 years ago by morgs

  • next_action changed from diagnose to test in build

I've released Speak-7 with the fix, and tested on build 708 and joyride 2301.

Get it from http://dev.laptop.org/~morgan/bundles/Speak-7.xo

garycmartin, you can close this ticket if it works for you...

  Changed 6 years ago by garycmartin

  • status changed from new to closed
  • resolution set to fixed

Also tested on an XO B4 in joyride-2301 here. Control panel updated it correctly, fav stars and all. Speech correctly runs, displays the different mouth styles, and sound works. Fixed.

  Changed 5 years ago by cjl

  • component changed from other-activity to speak-activity
Note: See TracTickets for help on using tickets.