Re: Need help installing an activity

2008-06-02 Thread shivaprasad javali
My directory structure for the activity is:
->activity -->has the .info file and the icon
->bin  --> has a shell script and the exe which i have to run
->lib  --> has the libs which my application is dependent on
-> MANIFEST file

I used the information in this link : http://www.catmoran.com/olpc/#sugxterm
to sugarize my activity.

Is there any problem with the structure of this bundle??

Also I am relatively new to development on the XO. Is there any command
where I can know the version of my sugar so that I can provide that
information to you??

Thanks Shivaprasad

On Mon, Jun 2, 2008 at 4:22 PM, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:

> 2008/6/2 shivaprasad javali <[EMAIL PROTECTED]>:
> > Sorry didnt observe it properly. It is a D-BUS timeout. I am runing the
> > command from the terminal activity on an actual XO.
>
> Which version of the software are you using? Some old versions would
> give you that error if the bundle was malformed.
>
> As always, logs would help:
>
> http://wiki.laptop.org/go/Attaching_Sugar_Logs_to_Tickets
>
> Regards,
>
> Tomeu
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread Tomeu Vizoso
2008/6/2 shivaprasad javali <[EMAIL PROTECTED]>:
> Sorry didnt observe it properly. It is a D-BUS timeout. I am runing the
> command from the terminal activity on an actual XO.

Which version of the software are you using? Some old versions would
give you that error if the bundle was malformed.

As always, logs would help:

http://wiki.laptop.org/go/Attaching_Sugar_Logs_to_Tickets

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread shivaprasad javali
Sorry didnt observe it properly. It is a D-BUS timeout. I am runing the
command from the terminal activity on an actual XO.

On Mon, Jun 2, 2008 at 4:06 PM, Bert Freudenberg <[EMAIL PROTECTED]>
wrote:

> Are you sure it is a network timeout, not a D-Bus timeout?
>
> Also, the script will not work from the console, only from the Terminal
> activity.
>
> If this does not work, please open a bug report.
>
> - Bert -
>
>
>
> On 02.06.2008, at 12:23, shivaprasad javali wrote:
>
>  Hi Bert,
>>
>>  I tried sugar-install-bundle its giving me an error timeout in
>> the network connection. Do i have to be connected in the network before I
>> can run that command??
>>
>> Also i tried Simon's suggestion in the follow up mail. When i try
>> to install it through the browse activity it just stays on that page for a
>> long time with a waiting mouse cursor and then abruptly quits without
>> installing the activity. Also i cannot find an entry for that download in
>> the journal
>>
>> Can you think of anything that i might be doing wrong??  When I use
>> unzip to unzip the .xo file in the appropriate directory and restart the
>> xserver it works fine.
>>
>> On Mon, Jun 2, 2008 at 2:10 PM, Bert Freudenberg <[EMAIL PROTECTED]>
>> wrote:
>>
>> On 02.06.2008, at 10:29, shivaprasad javali wrote:
>>
>> Hi,
>>
>>I prepared a .xo file for my application to be installed on the XO. I
>> created the .xo file by running the zip command on the activity folder. Now
>> if I have to install the activity through a thumb drive, I go to the
>> terminal move to Activities folder and then unzip the .xo file there. Then I
>> have to restart the xserver for my activity to show up on the home page.
>>
>>
>>   Is there any way I can install the activity like this without having to
>> restart the xserver or restart the xserver implicitly??
>>
>> Yes. Use "sugar-install-bundle /path/to/bundle.xo" from the Terminal
>> activity, which unzips the activity and tells the Sugar shell that it was
>> installed.
>>
>>
>>   Also can I do the installation through the journal if I have the .xo
>> file on a thumb drive??
>>
>>
>> Yes. Clicking the .xo in the Journal view of your USB drive will install
>> it.
>>
>> - Bert -
>>
>>
>>
>>
>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread Simon Schampijer
shivaprasad javali wrote:
> Hi Bert,
> 
>   I tried sugar-install-bundle its giving me an error timeout in the
> network connection. Do i have to be connected in the network before I can
> run that command??

Did you run the command in the Terminal activity? In the virtual console you 
will 
have errors.

'''with sugar-install-bundle'''
# open the Terminal activity;
# type ''sugar-install-bundle /media//''


>  Also i tried Simon's suggestion in the follow up mail. When i try
> to install it through the browse activity it just stays on that page for a
> long time with a waiting mouse cursor and then abruptly quits without
> installing the activity. Also i cannot find an entry for that download in
> the journal

Hmm I would need logs to see what happened.

>  Can you think of anything that i might be doing wrong??  When I use
> unzip to unzip the .xo file in the appropriate directory and restart the
> xserver it works fine.

You can also install an activity from the Journal by dragging the .xo bundle 
from 
the USB device.

Simon


> On Mon, Jun 2, 2008 at 2:10 PM, Bert Freudenberg <[EMAIL PROTECTED]>
> wrote:
> 
>> On 02.06.2008, at 10:29, shivaprasad javali wrote:
>>
>>  Hi,
>>> I prepared a .xo file for my application to be installed on the XO. I
>>> created the .xo file by running the zip command on the activity folder. Now
>>> if I have to install the activity through a thumb drive, I go to the
>>> terminal move to Activities folder and then unzip the .xo file there. Then I
>>> have to restart the xserver for my activity to show up on the home page.
>>>
>>>
>>>Is there any way I can install the activity like this without having to
>>> restart the xserver or restart the xserver implicitly??
>>>
>> Yes. Use "sugar-install-bundle /path/to/bundle.xo" from the Terminal
>> activity, which unzips the activity and tells the Sugar shell that it was
>> installed.
>>
>> Also can I do the installation through the journal if I have the .xo
>>> file on a thumb drive??
>>>
>>
>> Yes. Clicking the .xo in the Journal view of your USB drive will install
>> it.
>>
>> - Bert -
>>
>>
>>
> 
> 
> 
> 
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread Bert Freudenberg
Are you sure it is a network timeout, not a D-Bus timeout?

Also, the script will not work from the console, only from the  
Terminal activity.

If this does not work, please open a bug report.

- Bert -


On 02.06.2008, at 12:23, shivaprasad javali wrote:

> Hi Bert,
>
>   I tried sugar-install-bundle its giving me an error  
> timeout in the network connection. Do i have to be connected in the  
> network before I can run that command??
>
>  Also i tried Simon's suggestion in the follow up mail. When  
> i try to install it through the browse activity it just stays on  
> that page for a long time with a waiting mouse cursor and then  
> abruptly quits without installing the activity. Also i cannot find  
> an entry for that download in the journal
>
>  Can you think of anything that i might be doing wrong??  When I  
> use unzip to unzip the .xo file in the appropriate directory and  
> restart the xserver it works fine.
>
> On Mon, Jun 2, 2008 at 2:10 PM, Bert Freudenberg  
> <[EMAIL PROTECTED]> wrote:
>
> On 02.06.2008, at 10:29, shivaprasad javali wrote:
>
> Hi,
>
> I prepared a .xo file for my application to be installed on the  
> XO. I created the .xo file by running the zip command on the  
> activity folder. Now if I have to install the activity through a  
> thumb drive, I go to the terminal move to Activities folder and then  
> unzip the .xo file there. Then I have to restart the xserver for my  
> activity to show up on the home page.
>
>
>Is there any way I can install the activity like this without  
> having to restart the xserver or restart the xserver implicitly??
>
> Yes. Use "sugar-install-bundle /path/to/bundle.xo" from the Terminal  
> activity, which unzips the activity and tells the Sugar shell that  
> it was installed.
>
>
>Also can I do the installation through the journal if I have  
> the .xo file on a thumb drive??
>
>
> Yes. Clicking the .xo in the Journal view of your USB drive will  
> install it.
>
> - Bert -
>
>
>



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread shivaprasad javali
Hi Bert,

  I tried sugar-install-bundle its giving me an error timeout in the
network connection. Do i have to be connected in the network before I can
run that command??

 Also i tried Simon's suggestion in the follow up mail. When i try
to install it through the browse activity it just stays on that page for a
long time with a waiting mouse cursor and then abruptly quits without
installing the activity. Also i cannot find an entry for that download in
the journal

 Can you think of anything that i might be doing wrong??  When I use
unzip to unzip the .xo file in the appropriate directory and restart the
xserver it works fine.

On Mon, Jun 2, 2008 at 2:10 PM, Bert Freudenberg <[EMAIL PROTECTED]>
wrote:

>
> On 02.06.2008, at 10:29, shivaprasad javali wrote:
>
>  Hi,
>>
>> I prepared a .xo file for my application to be installed on the XO. I
>> created the .xo file by running the zip command on the activity folder. Now
>> if I have to install the activity through a thumb drive, I go to the
>> terminal move to Activities folder and then unzip the .xo file there. Then I
>> have to restart the xserver for my activity to show up on the home page.
>>
>>
>>Is there any way I can install the activity like this without having to
>> restart the xserver or restart the xserver implicitly??
>>
>
> Yes. Use "sugar-install-bundle /path/to/bundle.xo" from the Terminal
> activity, which unzips the activity and tells the Sugar shell that it was
> installed.
>
> Also can I do the installation through the journal if I have the .xo
>> file on a thumb drive??
>>
>
>
> Yes. Clicking the .xo in the Journal view of your USB drive will install
> it.
>
> - Bert -
>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread Simon Schampijer

http://wiki.laptop.org/go/Activities#Manual_installation

from Browse: http://wiki.laptop.org/go/Browse#Install_an_activity

Best,
Simon


shivaprasad javali wrote:
> Hi,
> 
>  I prepared a .xo file for my application to be installed on the XO. I
> created the .xo file by running the zip command on the activity folder. Now
> if I have to install the activity through a thumb drive, I go to the
> terminal move to Activities folder and then unzip the .xo file there. Then I
> have to restart the xserver for my activity to show up on the home page.
> 
> 
> Is there any way I can install the activity like this without having to
> restart the xserver or restart the xserver implicitly??
> 
> Also can I do the installation through the journal if I have the .xo
> file on a thumb drive??
> 
> Thanks
> Shivaprasad
> 
> 
> 
> 
> 
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help installing an activity

2008-06-02 Thread Bert Freudenberg

On 02.06.2008, at 10:29, shivaprasad javali wrote:

> Hi,
>
>  I prepared a .xo file for my application to be installed on the  
> XO. I created the .xo file by running the zip command on the  
> activity folder. Now if I have to install the activity through a  
> thumb drive, I go to the terminal move to Activities folder and then  
> unzip the .xo file there. Then I have to restart the xserver for my  
> activity to show up on the home page.
>
>
> Is there any way I can install the activity like this without  
> having to restart the xserver or restart the xserver implicitly??

Yes. Use "sugar-install-bundle /path/to/bundle.xo" from the Terminal  
activity, which unzips the activity and tells the Sugar shell that it  
was installed.

> Also can I do the installation through the journal if I have  
> the .xo file on a thumb drive??


Yes. Clicking the .xo in the Journal view of your USB drive will  
install it.

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel