[Sugar-devel] require some information from sugar to develop other plugins
Gonzalo Odiard
godiard at sugarlabs.org
Fri Aug 8 17:27:36 EDT 2014
Hi Puneet,
Please do a little more research from your part.
Check in the control panel code the information about the language, and
verify if need be converted
to get the format needed by Cordoba.
You already have information about how to get the network device,
if need more information, the NetworkManager documentation can be useful.
Gonzalo
On Fri, Aug 8, 2014 at 6:05 PM, Puneet Kaur <puneet.gkaur at gmail.com> wrote:
> also how to get the the BCP 47 compliant locale identifier string in sugar
> ? need it for -
> http://cordova.apache.org/docs/en/3.3.0/cordova_globalization_globalization.md.html#globalization.getLocaleName
>
>
>
> On Sat, Aug 9, 2014 at 2:30 AM, Puneet Kaur <puneet.gkaur at gmail.com>
> wrote:
>
>> when I checked : this the error I get :
>>
>> File
>> "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/cordova/network.py",
>> line 23, in nm_status
>> proxy = bus.get_object(_DBUS_SERVICE, _DBUS_PATH)
>> File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in
>> get_object
>> follow_name_owner_changes=follow_name_owner_changes)
>> File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in
>> __init__
>> self._named_service = conn.activate_name_owner(bus_name)
>> File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in
>> activate_name_owner
>> self.start_service_by_name(bus_name)
>> File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in
>> start_service_by_name
>> 'su', (bus_name, flags)))
>> File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651,
>> in call_blocking
>> message, timeout)
>> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
>> The name org.sugarlabs.SugarServices was not provided by any .service files
>>
>>
>> Is it because I am testing on a non-xo ?
>>
>>
>> On Fri, Aug 8, 2014 at 11:43 AM, Puneet Kaur <puneet.gkaur at gmail.com>
>> wrote:
>>
>>> Thanks, seems close to whats required, will try out and see if can fit
>>> in well.
>>>
>>>
>>> On Fri, Aug 8, 2014 at 7:43 AM, Walter Bender <walter.bender at gmail.com>
>>> wrote:
>>>
>>>> Perhaps you want something like this?
>>>>
>>>> https://github.com/walterbender/training/blob/master/utils.py#L1102
>>>>
>>>>
>>>> On Tue, Aug 5, 2014 at 2:47 PM, Puneet Kaur <puneet.gkaur at gmail.com>
>>>> wrote:
>>>>
>>>>> ( a specific function from the jarabe.model.network which can be used
>>>>> or a particular line )
>>>>>
>>>>>
>>>>> On Wed, Aug 6, 2014 at 12:16 AM, Puneet Kaur <puneet.gkaur at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I am unable to figure out how to fetch the connection details ( the
>>>>>> type of network connection )
>>>>>>
>>>>>> Can someone please point me to that ?
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 30, 2014 at 8:04 PM, Puneet Kaur <puneet.gkaur at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jul 30, 2014 at 4:58 PM, Gonzalo Odiard <
>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>
>>>>>>>> Maybe you can return a empty list right now,
>>>>>>>> and we can add support later if possible.
>>>>>>>>
>>>>>>>
>>>>>>> ok
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Gonzalo
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jul 30, 2014 at 5:05 AM, Puneet Kaur <
>>>>>>>> puneet.gkaur at gmail.com> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jul 30, 2014 at 2:50 AM, Gonzalo Odiard <
>>>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>>>
>>>>>>>>>> Is this a requirement?
>>>>>>>>>> I am not sure if the concept of Contact map well with the
>>>>>>>>>> collaboration stuff in Sugar.
>>>>>>>>>>
>>>>>>>>>> nope.
>>>>>>>>>
>>>>>>>>> We are still in the stage of experimenting things out. If contact
>>>>>>>>> doesnt map well to the friends incase of sugar , then we would leave that
>>>>>>>>> out.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Gonzalo
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jul 29, 2014 at 12:49 PM, Puneet Kaur <
>>>>>>>>>> puneet.gkaur at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jul 29, 2014 at 1:27 PM, James Cameron <quozl at laptop.org
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jul 29, 2014 at 12:59:48PM +0530, Puneet Kaur wrote:
>>>>>>>>>>>> > On Tue, Jul 29, 2014 at 2:16 AM, Gonzalo Odiard <
>>>>>>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>>>>>> > On Mon, Jul 28, 2014 at 4:30 PM, Puneet Kaur <
>>>>>>>>>>>> puneet.gkaur at gmail.com>
>>>>>>>>>>>> > wrote:
>>>>>>>>>>>> >
>>>>>>>>>>>> > 5. Fetching the friends details
>>>>>>>>>>>> >
>>>>>>>>>>>> > What information is needed in this case?
>>>>>>>>>>>> >
>>>>>>>>>>>> > the names of a person's friends , and their details (
>>>>>>>>>>>> somewhat like
>>>>>>>>>>>> > contacts we have in phone , map to the friends in sugar)
>>>>>>>>>>>>
>>>>>>>>>>>> Why is this needed?
>>>>>>>>>>>>
>>>>>>>>>>>> What will it be used for?
>>>>>>>>>>>>
>>>>>>>>>>>> Who will have access to it?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>> It is need to develop the contact cordova plugin :
>>>>>>>>>>> https://github.com/apache/cordova-plugin-contacts/blob/master/doc/index.md
>>>>>>>>>>>
>>>>>>>>>>> It will be used in case the cordova apps developed for some
>>>>>>>>>>> other platform are ported to sugar to be run as activities and in case they
>>>>>>>>>>> use the cordova contact plugin then the application should be able to
>>>>>>>>>>> perform on sugar the tasks it does on other platform ( we need to see which
>>>>>>>>>>> all can be supported in case of sugar - pick contact, find contact and
>>>>>>>>>>> create contact are a few method provided in the api )
>>>>>>>>>>>
>>>>>>>>>>> The cordova application ( the sugar actiivity) would be able to
>>>>>>>>>>> have access by picking up a contact, finding one or creating it.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> James Cameron
>>>>>>>>>>>> http://quozl.linux.org.au/
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Gonzalo Odiard
>>>>>>>>>>
>>>>>>>>>> SugarLabs - Software for children learning
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Gonzalo Odiard
>>>>>>>>
>>>>>>>> SugarLabs - Software for children learning
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Walter Bender
>>>> Sugar Labs
>>>> http://www.sugarlabs.org
>>>>
>>>
>>>
>>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
--
Gonzalo Odiard
SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140808/10aeaa46/attachment.html>
More information about the Sugar-devel
mailing list