Re: Anyone set up a client/server application using stream tubes?

2008-10-27 Thread Faisal Anwar
On Mon, Oct 27, 2008 at 7:22 AM, Bert Freudenberg [EMAIL PROTECTED]wrote: Am 27.10.2008 um 11:23 schrieb Guillaume Desmottes [EMAIL PROTECTED]: Le vendredi 24 octobre 2008 à 14:18 +, Faisal Anwar a écrit : Hi All, I'm trying to document some more stuff related to Stream Tubes

Anyone set up a client/server application using stream tubes?

2008-10-24 Thread Faisal Anwar
Hi All, I'm trying to document some more stuff related to Stream Tubes for the sugar almanac (http://wiki.laptop.org/go/Sugar_Almanac) and wanted to set up some examples related to the different types of client/server arrangments that can be supported by the sugar.network package. However, I've

Re: Anyone seen this error when using sugar-launch?

2008-08-10 Thread Faisal Anwar
Thanks Michael ... I'm trying that out. Faisal On Fri, Aug 8, 2008 at 5:41 PM, Michael Stone [EMAIL PROTECTED] wrote: Here's the relevant part: File /usr/share/sugar/services/shell/activityregistryservice.py, line 90, in FindActivity if name.find(key) != -1 or bundle_id.find(key) !=

Anyone seen this error when using sugar-launch?

2008-08-08 Thread Faisal Anwar
Hi, I just installed build 708 on an XO and also installed the standard set of activities using the script provided at http://wiki.laptop.org/go/Bert%27s_script. I can launch activities using their UI icons, but when I try to launch activities from the terminal using sugar-launch, I get the

Re: [sugar] Question about clipboard service

2008-07-22 Thread Faisal Anwar
of priorities for 9.1 - Eben On Sat, Jul 19, 2008 at 4:19 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 10:29 PM, Faisal Anwar [EMAIL PROTECTED] wrote: Hi, I'm playing around with the clipboard package on sugar and had a quick question. So

Sugar Almanac Update - Using Pango, Internationalization

2008-07-17 Thread Faisal Anwar
Hello All, I've put up some sample code and instructions on using Pango to render fonts in your sugar activities. I've also written up an updated set of steps to internationalize your activity based on the instructions at http://wiki.laptop.org/go/Python_i18n and my own experience getting text to

Re: [sugar] Question about internationalization on sugar-jhbuild

2008-07-03 Thread Faisal Anwar
PROTECTED] wrote: Hi, from that strace log, seems like gettext thinks you are in the en locale, right? How are you running your activity? Regards, Tomeu On Wed, Jul 2, 2008 at 11:50 PM, Faisal Anwar [EMAIL PROTECTED] wrote: Hello All, I'm trying to set up some simple internationalization

Question about internationalization on sugar-jhbuild

2008-07-02 Thread Faisal Anwar
Hello All, I'm trying to set up some simple internationalization on a sugar activity but am running in to problems. I am specifically using sugar-jhbuild and launching it with 'LANG=es ./sugar-jhbuild run' command when I want to test my internationalization out. Here are the steps I have followed

Re: Recent Updates to Sugar Almanac

2008-07-01 Thread Faisal Anwar
Hi Tomeu, No problem about the late reply ... I am documenting improvements as I document the current state of the system. So I'll try to suggest some more coherent api as well. Let's keep in touch about this. Faisal On Tue, Jul 1, 2008 at 4:49 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote: Hi

Re: Updates This Week to the Sugar Almanac - Using the Datastore and More

2008-06-27 Thread Faisal Anwar
call could be abstracted to some standard python calls. Faisal On Wed, Jun 25, 2008 at 4:28 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote: Hi Faisal, some answers below: 2008/6/24 Faisal Anwar [EMAIL PROTECTED]: ?? Is there a specific reason why there isn't a set() method

Updates This Week to the Sugar Almanac - Using the Datastore and More

2008-06-24 Thread Faisal Anwar
Hello All, First off, thanks to everyone who has been contributing to the almanac ( http://wiki.laptop.org/go/Sugar-api-doc) directly or giving me feedback on things that need to be added or improved for accuracy. Please keep the feedback coming. Among many other additions, the Sugar Almanac now

Re: Recent Updates to Sugar Almanac

2008-06-16 Thread Faisal Anwar
Beyond Hello World that covers much the same ground as yours, but I like yours better. Thanks, James Simmons Date: Fri, 13 Jun 2008 17:34:43 -0400 From: Faisal Anwar [EMAIL PROTECTED] Subject: Recent Updates to Sugar Almanac To: devel@lists.laptop.org, [EMAIL PROTECTED] Message-ID

Question about logging behavior

2008-06-16 Thread Faisal Anwar
Hi, I'm trying to do simple logging for an activity, but am finding some strange behavior with logging that I'm hoping someone can clarify for me. In particular, I've written code similar to the following: import logging _logger = logging.getLogger('Annotate') class

Re: Recent Updates to Sugar Almanac

2008-06-16 Thread Faisal Anwar
, as in the Read activity. James Simmons Faisal Anwar wrote: Hi James, Thanks for the feedback. I had two follow up questions for you or others who are in the know with datastore: 1. You said: 'However, if your application is like Read, Read Etexts, or View Slides, which are always resumed

Re: [sugar] Recent Updates to Sugar Almanac

2008-06-14 Thread Faisal Anwar
widget (as used by write) in python programs. The links are on our wiki here: http://www.abisource.com/wiki/AbiWidget http://www.abisource.com/wiki/PyAbiWord Cheers Martin On Fri, 2008-06-13 at 17:34 -0400, Faisal Anwar wrote: Hello All, As many of you know, I'm writing up

Recent Updates to Sugar Almanac

2008-06-13 Thread Faisal Anwar
Hello All, As many of you know, I'm writing up a sugar almanac to help new sugar/python developers get up and running with creating useful activities. I will try to send frequent updates in terms of what has been added. In addition to using the documentation, I'd appreciate it if people familiar