[Sugar-devel] Sugar-build : can't see my own activity

laurent bernabe laurent.bernabe at gmail.com
Sat Sep 14 18:10:58 EDT 2013


Yes i can pass you the source code
it is in joined to this mail

Notice that I downloaded the OLPC games 1.6 and generated a skeleton with
it.


2013/9/15 Daniel Narvaez <dwnarvaez at gmail.com>

> Do you have the code anywhere?
>
> At very least the setup.py must be importing sugar or sugar3, unless it
> implements its own dev command.
>
>
> On 14 September 2013 23:47, laurent bernabe <laurent.bernabe at gmail.com>wrote:
>
>> no neither import sugar, nor import sugar3 (and it does not seems to me
>> that I must rely on OLPC Games code for that) : maybe I missed that point.
>>
>>
>> 2013/9/14 Daniel Narvaez <dwnarvaez at gmail.com>
>>
>>> pygame aside, does it use sugar-toolkit (import sugar) or
>>> sugar-toolkit-gtk3 (import sugar3)?
>>>
>>> On 14 September 2013 23:38, laurent bernabe <laurent.bernabe at gmail.com>wrote:
>>>
>>>> no it is a pygame activity built upon sugar olpc games
>>>>
>>>>
>>>> 2013/9/14 Daniel Narvaez <dwnarvaez at gmail.com>
>>>>
>>>>> Is it a gtk2 activity? If not, is it using "from sugar3.activity
>>>>> import bundlebuilder" in the setup.py?
>>>>>
>>>>>
>>>>> On 14 September 2013 22:06, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>>>>>
>>>>>> From terminal is fine, you are  inside the chroot. Looks like a bug
>>>>>> somewhere, investigating...
>>>>>>
>>>>>>
>>>>>> On 14 September 2013 22:03, laurent bernabe <
>>>>>> laurent.bernabe at gmail.com> wrote:
>>>>>>
>>>>>>> I don't think, as I started the sugar emulator with
>>>>>>> $> ./osbuild run
>>>>>>>
>>>>>>> rather than running $> ./osbuild shell
>>>>>>>
>>>>>>> And from the terminal activity, I enter the installation command for
>>>>>>> my own activity.
>>>>>>>
>>>>>>>
>>>>>>> 2013/9/14 Daniel Narvaez <dwnarvaez at gmail.com>
>>>>>>>
>>>>>>>> Did you run setup.py dev inside an osbuild shell? (Btw I don't
>>>>>>>> develop activities myself so your feedback is very useful)
>>>>>>>>
>>>>>>>> On Saturday, 14 September 2013, laurent bernabe wrote:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I've just installed my own activity in sugar-build, by the command
>>>>>>>>> $>python setup.py dev
>>>>>>>>>
>>>>>>>>> But, though I've restarted Sugar-build, I can't see my own
>>>>>>>>> application, even looking at the table view of the activities. And I did
>>>>>>>>> not see any trace of my own activity in the logs.
>>>>>>>>>
>>>>>>>>> Meanwhile, I launched "$> python setup.py dev" again, and I got
>>>>>>>>> the message "the activity is already installed in developpement mode".
>>>>>>>>>
>>>>>>>>> Also, I looked into the sugar-build folder, but did not see the
>>>>>>>>> subfolder activities, letting me think that the application is not properly
>>>>>>>>> installed.
>>>>>>>>>
>>>>>>>>> What did I misunderstood ?
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Daniel Narvaez
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Daniel Narvaez
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Daniel Narvaez
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>
>
> --
> Daniel Narvaez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.py
Type: application/octet-stream
Size: 115 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ball.py
Type: application/octet-stream
Size: 508 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activity.py
Type: application/octet-stream
Size: 225 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: application/octet-stream
Size: 863 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: operation.py
Type: application/octet-stream
Size: 1058 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run.py
Type: application/octet-stream
Size: 1280 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130915/ed8a4f13/attachment-0005.obj>


More information about the Sugar-devel mailing list