Need help creating .xo file

2008-06-04 Thread shivaprasad javali
Hi All ,
  I was wondering if you could help me out with this.

 I got the activity working fine on the OLPC. Now I want to create a
.xo file for my activity so that I can install the activity on other XO's.
My activity structure is as follows:
-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

There is a shell script in the bin folder which I have included in the exec
tag in activity.info.

I created the activity bundle according to the information in the post
http://olpcnews.com/forum/index.php?topic=1555.0 .
I have named my .xo file name.activity.xo

If I unzip the .xo in the Activities folder and then restart the X-server it
gets installed and I get the icon in the activity tray.

I tried installing it by copying the .xo to a thumb drive and then running
sugar-install-bundle on the XO but it gave me a DBUS timeout error. I also
tried to install it through the browse activity as given in
http://wiki.laptop.org/go/Activities#Manual_installation and through the
Journal without success.

Can you figure out where I am going wrong??

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


Re: Need help creating .xo file

2008-06-04 Thread Bert Freudenberg
On 04.06.2008, at 08:11, shivaprasad javali wrote:

 Hi All ,
   I was wondering if you could help me out with this.

  I got the activity working fine on the OLPC. Now I want to  
 create a .xo file for my activity so that I can install the activity  
 on other XO's. My activity structure is as follows:
 -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

 There is a shell script in the bin folder which I have included in  
 the exec tag in activity.info.

 I created the activity bundle according to the information in the  
 post http://olpcnews.com/forum/index.php?topic=1555.0 .
 I have named my .xo file name.activity.xo

 If I unzip the .xo in the Activities folder and then restart the X- 
 server it gets installed and I get the icon in the activity tray.

 I tried installing it by copying the .xo to a thumb drive and then  
 running sugar-install-bundle on the XO but it gave me a DBUS timeout  
 error. I also tried to install it through the browse activity as  
 given in http://wiki.laptop.org/go/Activities#Manual_installation  
 and through the Journal without success.

 Can you figure out where I am going wrong??


Not without logs. See

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

- Bert -


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


Re: Need help creating .xo file

2008-06-04 Thread Tomeu Vizoso
2008/6/4 shivaprasad javali [EMAIL PROTECTED]:

 Can you figure out where I am going wrong??

What's your problem? The bundle seems to install correctly as its icon
appears in the shell. Is the problem that the activity doesn't start?
Logs will help in any case, as Bert said.

Regards,

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


Re: Need help creating .xo file

2008-06-04 Thread shivaprasad javali
The Bundle installs correctly only when I unzip it manually and then restart
the X-server. I want to do this through sugar-install-bundle or through
browse activity or through Journal. None of which seem to work.

Anyway when I tried to install through the sugar-install-bundle command It
failed giving a DBus timeout. Here are the log files I got.

Thanks
Shivaprasad

P.S: I didnt which log file would really be useful to you guys so I attached
all of them which I thought had some relevant information.

On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote:

 2008/6/4 shivaprasad javali [EMAIL PROTECTED]:
 
  Can you figure out where I am going wrong??

 What's your problem? The bundle seems to install correctly as its icon
 appears in the shell. Is the problem that the activity doesn't start?
 Logs will help in any case, as Bert said.

 Regards,

 Tomeu

1212594090.268322 INFO root: Starting Datastore /home/olpc/.sugar/default/datastore
1212594090.300597 DEBUG root: IndexManager.connect()
1212594090.333430 DEBUG root: IndexManager.flush: True 0
1212594098.207695 DEBUG root: IndexManager.connect()
1212594098.229774 ERROR root: Error while trying to load mount point /media/RED_DEVIL/.olpc.store: Db block overwritten - are there multiple writers?. Will try to renitialize and load again.
1212594098.247106 DEBUG root: IndexManager.connect()
1212594099.492161 DEBUG root: IndexManager.flush: True 0
1212594099.963942 DEBUG root: Content.suggestName: dbus.String(u'WeDo.activity.xo') 'xo'
1212594099.988344 DEBUG root: FileBackingStore._targetFile: '62f2e012-5c7e-4f72-95e9-56f2b1c7fe76' u'WeDo.activity.xo' None None
1212594101.686014 INFO org.sugar.datastore.xapianindex: created e67e8fd4-7cc6-43ef-a006-0ebb96bcd333:1.0
1212594101.688182 DEBUG root: IndexManager.flush: False 0
1212594101.982632 INFO org.sugar.datastore.xapianindex: updated e67e8fd4-7cc6-43ef-a006-0ebb96bcd333:1.0
1212594102.022779 DEBUG root: IndexManager.flush: False 1
1212594102.089718 INFO org.sugar.datastore.xapianindex: created 95900480-ec3c-495f-8176-276035b01085:1.0
1212594102.091860 DEBUG root: IndexManager.flush: False 2
1212594102.294715 INFO org.sugar.datastore.xapianindex: updated 95900480-ec3c-495f-8176-276035b01085:1.0
1212594102.297006 DEBUG root: IndexManager.flush: False 3
1212594102.505951 INFO org.sugar.datastore.xapianindex: created 7e2a419f-2ce7-47a1-8290-2b66d595c302:1.0
1212594102.509034 DEBUG root: IndexManager.flush: False 4
1212594102.617162 INFO org.sugar.datastore.xapianindex: updated 7e2a419f-2ce7-47a1-8290-2b66d595c302:1.0
1212594102.619336 DEBUG root: IndexManager.flush: False 5
1212594102.728013 INFO org.sugar.datastore.xapianindex: created 7843b2ed-4c8d-41bb-bdfd-99638e3c709b:1.0
1212594102.730134 DEBUG root: IndexManager.flush: False 6
1212594102.821709 INFO org.sugar.datastore.xapianindex: updated 7843b2ed-4c8d-41bb-bdfd-99638e3c709b:1.0
1212594102.823852 DEBUG root: IndexManager.flush: False 7
1212594102.962378 INFO org.sugar.datastore.xapianindex: created 507f7e86-0d97-4cd7-bcba-6c9aa46585a4:1.0
1212594102.964514 DEBUG root: IndexManager.flush: False 8
1212594103.032338 INFO org.sugar.datastore.xapianindex: updated 507f7e86-0d97-4cd7-bcba-6c9aa46585a4:1.0
1212594103.034422 DEBUG root: IndexManager.flush: False 9
1212594103.153525 INFO org.sugar.datastore.xapianindex: created 99937bd5-548c-476f-a3db-982fbba85513:1.0
1212594103.155660 DEBUG root: IndexManager.flush: False 10
1212594103.229656 INFO org.sugar.datastore.xapianindex: updated 99937bd5-548c-476f-a3db-982fbba85513:1.0
1212594103.232318 DEBUG root: IndexManager.flush: False 11
1212594103.310825 INFO org.sugar.datastore.xapianindex: created 2d2f3e8b-63a3-4575-9013-0493d595f27c:1.0
1212594103.312964 DEBUG root: IndexManager.flush: False 12
1212594103.367179 INFO org.sugar.datastore.xapianindex: updated 2d2f3e8b-63a3-4575-9013-0493d595f27c:1.0
1212594103.369309 DEBUG root: IndexManager.flush: False 13
1212594103.444890 INFO org.sugar.datastore.xapianindex: created 5e60098d-0228-46f5-9ab1-4ec4bf9c0aeb:1.0
1212594103.447130 DEBUG root: IndexManager.flush: False 14
1212594103.508198 INFO org.sugar.datastore.xapianindex: updated 5e60098d-0228-46f5-9ab1-4ec4bf9c0aeb:1.0
1212594103.510326 DEBUG root: IndexManager.flush: False 15
1212594103.595810 INFO org.sugar.datastore.xapianindex: created 3de8c1ae-010d-4a6a-9d16-40f992b15bd9:1.0
1212594103.597936 DEBUG root: IndexManager.flush: False 16
1212594103.695864 INFO org.sugar.datastore.xapianindex: updated 3de8c1ae-010d-4a6a-9d16-40f992b15bd9:1.0
1212594103.698615 DEBUG root: IndexManager.flush: False 17
1212594103.776684 INFO org.sugar.datastore.xapianindex: created a1d20289-075c-4309-a413-aad249027ad6:1.0
1212594103.778820 DEBUG root: IndexManager.flush: False 18
1212594103.847745 INFO org.sugar.datastore.xapianindex: updated a1d20289-075c-4309-a413-aad249027ad6:1.0
1212594103.849883 DEBUG root: IndexManager.flush: False 19
1212594103.908298 INFO org.sugar.datastore.xapianindex: created 

Re: Need help creating .xo file

2008-06-04 Thread Tomeu Vizoso
Could you upload your .xo somewhere so I can give it a look?

Thanks,

Tomeu

On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED] wrote:
 The Bundle installs correctly only when I unzip it manually and then restart
 the X-server. I want to do this through sugar-install-bundle or through
 browse activity or through Journal. None of which seem to work.

 Anyway when I tried to install through the sugar-install-bundle command It
 failed giving a DBus timeout. Here are the log files I got.

 Thanks
 Shivaprasad

 P.S: I didnt which log file would really be useful to you guys so I attached
 all of them which I thought had some relevant information.

 On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote:

 2008/6/4 shivaprasad javali [EMAIL PROTECTED]:
 
  Can you figure out where I am going wrong??

 What's your problem? The bundle seems to install correctly as its icon
 appears in the shell. Is the problem that the activity doesn't start?
 Logs will help in any case, as Bert said.

 Regards,

 Tomeu


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


Re: Need help creating .xo file

2008-06-04 Thread Tomeu Vizoso
So can you replace the proprietary code from the bundle, see if you
have the same problem then upload?

Tomeu

On Wed, Jun 4, 2008 at 4:31 PM, shivaprasad javali [EMAIL PROTECTED] wrote:
 Sorry Tomeu. Its a propreitary product .So cannot upload the.xo.

 On Wed, Jun 4, 2008 at 7:51 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote:

 Could you upload your .xo somewhere so I can give it a look?

 Thanks,

 Tomeu

 On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED]
 wrote:
  The Bundle installs correctly only when I unzip it manually and then
  restart
  the X-server. I want to do this through sugar-install-bundle or through
  browse activity or through Journal. None of which seem to work.
 
  Anyway when I tried to install through the sugar-install-bundle command
  It
  failed giving a DBus timeout. Here are the log files I got.
 
  Thanks
  Shivaprasad
 
  P.S: I didnt which log file would really be useful to you guys so I
  attached
  all of them which I thought had some relevant information.
 
  On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED]
  wrote:
 
  2008/6/4 shivaprasad javali [EMAIL PROTECTED]:
  
   Can you figure out where I am going wrong??
 
  What's your problem? The bundle seems to install correctly as its icon
  appears in the shell. Is the problem that the activity doesn't start?
  Logs will help in any case, as Bert said.
 
  Regards,
 
  Tomeu
 
 


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


Re: Need help creating .xo file

2008-06-04 Thread shivaprasad javali
ok. I will try that.

Thanks
Shivaprasad

On Wed, Jun 4, 2008 at 8:05 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote:

 So can you replace the proprietary code from the bundle, see if you
 have the same problem then upload?

 Tomeu

 On Wed, Jun 4, 2008 at 4:31 PM, shivaprasad javali [EMAIL PROTECTED]
 wrote:
  Sorry Tomeu. Its a propreitary product .So cannot upload the.xo.
 
  On Wed, Jun 4, 2008 at 7:51 PM, Tomeu Vizoso [EMAIL PROTECTED]
 wrote:
 
  Could you upload your .xo somewhere so I can give it a look?
 
  Thanks,
 
  Tomeu
 
  On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED]
  wrote:
   The Bundle installs correctly only when I unzip it manually and then
   restart
   the X-server. I want to do this through sugar-install-bundle or
 through
   browse activity or through Journal. None of which seem to work.
  
   Anyway when I tried to install through the sugar-install-bundle
 command
   It
   failed giving a DBus timeout. Here are the log files I got.
  
   Thanks
   Shivaprasad
  
   P.S: I didnt which log file would really be useful to you guys so I
   attached
   all of them which I thought had some relevant information.
  
   On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED]
   wrote:
  
   2008/6/4 shivaprasad javali [EMAIL PROTECTED]:
   
Can you figure out where I am going wrong??
  
   What's your problem? The bundle seems to install correctly as its
 icon
   appears in the shell. Is the problem that the activity doesn't start?
   Logs will help in any case, as Bert said.
  
   Regards,
  
   Tomeu
  
  
 
 

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