Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#743 closed defect (fixed)

Hablar con Sara does not load on Soas2

Reported by: Jose Icaza Owned by: RafaelOrtiz
Priority: Normal Milestone: Unspecified
Component: Sugar on a Stick (SoaS) Version: 0.84.x
Severity: Major Keywords: hablar con sara, soas2 0.84
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

This is one of the recommended activities.
SoaS2-200904091547 running on Dell Latitude D619/Windows XP

To repeat bug:
Download Sara with the Sugar browser pointing to SugarLabs Activities. Click on it in the journal: it does not load. Log shows syntax error:

/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead

import sha

Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 21, in <module>

main.main()

File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 105, in main

module = import(module_name)

File "/home/liveuser/Activities/HablarConSara.activity/activity.py", line 59, in <module>

import voice

File "/home/liveuser/Activities/HablarConSara.activity/voice.py", line 104

as = re.split(r'[a-z]+', a.lower())


SyntaxError: invalid syntax

Change History (5)

comment:1 Changed 12 years ago by alsroot

  • Owner changed from alsroot to RafaelOrtiz
  • Status changed from new to assigned

comment:2 Changed 12 years ago by RafaelOrtiz

this file
http://people.sugarlabs.org/rafael/HablarConSara-3.xo, with the proper as sintaxis fixes is reported to work on the xo and in a ubuntu sugar (from package) setup, but not in jhbuild setup and in a soas setup,

launching only gives this..
http://pastebin.com/f72fce7bb

comment:3 Changed 12 years ago by RafaelOrtiz

sara is Now merged to speak.-- (but only in code). we need to create a button called sara that calls the brain and the chatter bot.

comment:4 Changed 12 years ago by RafaelOrtiz

  • Resolution set to fixed
  • Status changed from assigned to closed

hablarconsara should load now trough th speak new release in a tab called robot.

closing this onetill further notice.

comment:5 Changed 11 years ago by sascha_silbe

  • Component changed from activities.sugarlabs.org to SoaS
  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

Note: See TracTickets for help on using tickets.