[Sugar-devel] Browse activity not working

2010-06-01 Thread John Samuel
This is John here, I recently installed Sugar 0.88 Xephyr. I used the following 
code to install : 

sudo add-apt-repository ppa:alsroot/trisquel-edu-3.5
sudo apt-get update
sudo apt-get install sugar-platform

But when I try to run the Browse activity, I get the following error :

Browse failed to start.

I tried to run the Browse activity from the terminal and got the following 
error : 


r...@labadmin-desktop:/usr/share/sugar/activities/Browse.activity# python 
browser.py
Traceback (most recent call last):
  File "browser.py", line 26, in 
    import hulahop
  File "/usr/lib/pymodules/python2.6/hulahop/__init__.py", line 29, in 
    from hulahop._hulahop import shutdown
ImportError: libxul.so: cannot open shared object
 file: No such file or directory
r...@labadmin-desktop:/usr/share/sugar/activities/Browse.activity# 


Kindly help

John Samuel


  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse activity not working

2010-06-02 Thread John Samuel
I solved the problem
I installed xulrunner and it started working properly




--- On Tue, 6/1/10, Luke Faraone  wrote:

From: Luke Faraone 
Subject: Re: [Sugar-devel] Browse activity not working
To: "John Samuel" 
Cc: sugar-devel@lists.sugarlabs.org, "Ubuntu SugarTeam" 

Date: Tuesday, June 1, 2010, 8:04 AM

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/01/2010 06:01 AM, John Samuel wrote:
> This is John here, I recently installed Sugar 0.88 Xephyr. I used the
> following code to install :
> 
> sudo add-apt-repository ppa:alsroot/trisquel-edu-3.5
> sudo apt-get update
> sudo apt-get install sugar-platform
> 
> 
> But when I try to run the Browse activity, I get the following error :
> 
> Browse failed to start.
> 
> I tried to run the Browse activity from the terminal and got the
> following error :
> 
> 
> r...@labadmin-desktop:/usr/share/sugar/activities/Browse.activity#
> python browser.py <http://browser.py>
> Traceback (most recent call last):
>   File "browser.py", line 26, in 
>     import hulahop
>   File "/usr/lib/pymodules/python2.6/hulahop/__init__.py", line 29, in
> 
>     from hulahop._hulahop import shutdown
> ImportError: libxul.so <http://libxul.so>: cannot open shared object
> file: No such file or directory
> r...@labadmin-desktop:/usr/share/sugar/activities/Browse.activity#

Unfortunately, Hulahop is broken in Ubuntu 10.04 LTS. We're currently
trying to find a way to fix that, but the way forward will probably be a
WebKit-based Browse.

Thanks,
Luke Faraone
http://luke.faraone.cc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwFIYMACgkQtrC51grHAgZuRQCfWBsUcgvhfy6BXJFmGPfeHTB3
9UsAoK033ttykT71Ins16RVl1OVJ2n+r
=LES5
-END PGP SIGNATURE-



  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar-devel Digest, Vol 20, Issue 76

2010-06-18 Thread John Samuel
Thanks for your reply Mr. Simmons,
I had gone through the manual before writing the code. The problem is that I 
use a separate window to display the program, hence the program pops out. I 
need guidance in running the program in the default window of Sugar.




Date: Thu, 17 Jun 2010 11:01:05 -0500
From: James Simmons 
Subject: Re: [Sugar-devel] Help Needed - Convert python code into
    Sugar
To: sugar-devel@lists.sugarlabs.org
Message-ID:
    
Content-Type: text/plain; charset=ISO-8859-1

John,

We have a manual which should help you figure out what you're doing wrong:

http://en.flossmanuals.net/ActivitiesGuideSugar/Introduction

James Simmons


> Date: Thu, 17 Jun 2010 03:28:52 -0700 (PDT)
> From: John Samuel 
> Subject: [Sugar-devel] Help Needed - Convert python code into Sugar
> To: Sugar Devel 
> Message-ID: <350718.92048...@web45305.mail.sp1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi, this is John Samuel here.I am new to Sugar. I've made a small program in 
> python for the viewing of images.It runs perfectly as a standalone program, 
> but when I convert it into Sugar, it runs in a different window coz of which 
> it cannot be stopped.I have to close Xephyr and run it again.I use Sugar .88 
> on Ubuntu 9.10 KarmicCould anyone please help me?
> I've attached my code along with this mail.
>
>
> John Samuel





  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel