Re: [Sugar-devel] Download Manager ProgressBar

2016-01-22 Thread James Cameron
On Fri, Jan 22, 2016 at 10:27:29PM +0530, Utkarsh Tiwari wrote:
> Could anyone please specify the expected features for the
> ProgressBar integration in the download alerts. I would like to work
> on this feature enhancement.

You have given no references.

If you are referring to my ticket #4721.
https://bugs.sugarlabs.org/ticket/4721

No, specific features are not what I expect, instead I expect
solutions to the issues.  The issues are:

- "This web page could not be loaded" is displayed even though
  download starts and completes.

- it is not possible to see, in Browse, that a download is in
  progress.

I don't see how adding a progress bar to a download alert would help.

Because after the alert is dismissed, Browse does not say that a
download is in progress.

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Download Manager ProgressBar

2016-01-22 Thread Utkarsh Tiwari
Hi,
 Could anyone please specify the expected features for the ProgressBar
integration in the download alerts. I would like to work on this feature
enhancement.

regards,
Utkarsh
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Working text to speech example needed

2016-01-22 Thread James Simmons
I have been neglecting my Sugar Activities for a long time, and I'm trying
to get them back in shape and using GTK3. I find that my Read Etexts
Activity, one of the first to use Aleksey Lim's gstreamer for espeak, no
longer works. I have code in there which is supposed to detect the presence
of the gst espeak package and use it if available and hide the speech
buttons on the toolbar if it cannot.

Needless to say, the buttons are hidden.

I'm looking for Activities that use speech and work. The obvious candidate,
Speak, has code in Git that looks very much like the code I'm using. I saw
several versions in Git and they all use similar code:

http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py

shows the code I use to detect whether gst-plugins-espeak will work. The
log messages show it disabled.

I thought updating the code to use Gst might be the answer, but I don't
have that working either.

Are there any working applications that use gst-plugins-espeak?

James Simmons
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Working text to speech example needed

2016-01-22 Thread James Cameron
G'day James,

Here's some ideas.

Can you try the imports by hand in a Python interpreter to find which
are failing and why?

Can you remove your exception handlers temporarily to find out whether
the import is failing, or something else?

What environment are you developing within?

Can you use 'from sugar3.speech import SpeechManager'?

https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/speech.py

See example of use, the Clock activity:

https://github.com/godiard/clock-activity/blob/master/speaker.py

Can you check you are looking at latest Speak source?  It looks
different to yours.  See Speech activity on GitHub:

https://github.com/godiard/speak/blob/master/local_espeak.py

On Fri, Jan 22, 2016 at 08:21:21PM -0600, James Simmons wrote:
> I have been neglecting my Sugar Activities for a long time, and I'm trying to
> get them back in shape and using GTK3. I find that my Read Etexts Activity, 
> one
> of the first to use Aleksey Lim's gstreamer for espeak, no longer works. I 
> have
> code in there which is supposed to detect the presence of the gst espeak
> package and use it if available and hide the speech buttons on the toolbar if
> it cannot.
> 
> Needless to say, the buttons are hidden.
> 
> I'm looking for Activities that use speech and work. The obvious candidate,
> Speak, has code in Git that looks very much like the code I'm using. I saw
> several versions in Git and they all use similar code:
> 
> [1]http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py
> 
> shows the code I use to detect whether gst-plugins-espeak will work. The log
> messages show it disabled.
> 
> I thought updating the code to use Gst might be the answer, but I don't have
> that working either.
> 
> Are there any working applications that use gst-plugins-espeak?
> 
> James Simmons
> 
> References:
> 
> [1] http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py

> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel