Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-27 Thread Tomeu Vizoso
On Fri, Feb 26, 2010 at 20:56, vijit singh  wrote:
> Hello Tomeu,
> Thank You once again for your guidance. Surely I will keep on posting the
> updates. I was also confused about the use of the statement-
> hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))
> What is the significance of hulahop.startup? It surely seems to be imp.
> since the absence of this line results into an error.
> Also, gecko folder seems to be containing paths to different xulrunner
> files. Does including the same gecko folder (as is used in sugar) into the
> socialcalc package which we will make for fedora, and referring to this
> folder through the hulahop.startup statement work on fedora as well?
Hi Vijit,

if you look at the source code, you can see it's the path to the
profile directory:

http://git.sugarlabs.org/projects/hulahop/repos/mainline/blobs/master/python/__init__.py#line41

https://wiki.mozilla.org/XULRunner#User_Profiles

 Kindly
> give some pointers.
> Regards,
> VIJIT
> On Fri, Feb 26, 2010 at 8:21 PM, Tomeu Vizoso  wrote:
>>
>> 2010/2/23 vijit singh :
>> > Hello Tomeu,
>> > I tried installing hulahop again as you suggested on fedora-11 and it
>> > got installed properly. Now, the socialcalc and the browse activity are
>> > running as well. Thank you for your guidance.
>> > Also wished to discuss that we are planning to port SocialCalc on
>> > various linux distros starting from Fedora. The first approach which we are
>> > considering is by using a pygtk based root-level window to embed
>> > hulahop.webview widget in quite a similar fashion as it has been done in
>> > Sugar currently. Do you think it would be a feasible approach? Is there any
>> > other approach which you suggest would be better? Kindly give some pointers
>> > on the issue.
>>
>> This is the approach that I would recommend. Please keep us posted!
>>
>> Regards,
>>
>> Tomeu
>>
>> > Regards,
>> > VIJIT
>> >
>> >
>> > On Tue, Feb 16, 2010 at 12:29 AM, Tomeu Vizoso 
>> > wrote:
>> >>
>> >> On Mon, Feb 15, 2010 at 18:56, Vijit Singh  wrote:
>> >> > Hello Tomeu and Aleskey,
>> >> > Thank you for your replies. I will test your suggestions in a day or
>> >> > two and
>> >> > will let you know about the results since I have been out of town and
>> >> > hence
>> >> > unable to access net since the last 2 days.
>> >> >
>> >> > On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso 
>> >> > wrote:
>> >> >>
>> >> >> On Fri, Feb 12, 2010 at 23:36, vijit singh
>> >> >> 
>> >> >> wrote:
>> >> >> > Hello everyone,
>> >> >> > SocialCalc is based upon the use of hulahop.webview widget. While
>> >> >> > trying
>> >> >> > to
>> >> >> > run socialcalc on sugar emulator running on Fedora and Ubuntu,
>> >> >> > error
>> >> >> > saying
>> >> >> > "No module hulahop" was occurring. So, we tried installing hulahop
>> >> >> > on
>> >> >> > these
>> >> >> > linux distributions.
>> >> >> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps
>> >> >> > taken-
>> >> >> >
>> >> >> >  xulrunner was pre-installed. And then I
>> >> >> > installed python-support.deb
>> >> >> > and
>> >> >> > libxul0d.deb which are pre-requistie packages for python-xpcom
>> >> >> > package
>> >> >> > (other pre-requistie packages were already installed). Then i
>> >> >> > installed
>> >> >> > python-xpcom. And then I installed python-hulahop and hulahop.
>> >> >> >
>> >> >> > Downlaod links for these packages are as follows:-
>> >> >> >
>> >> >> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
>> >> >> > http://packages.ubuntu.com/en/intrepid/hulahop
>> >> >> > http://packages.ubuntu.com/en/intrepid/python-hulahop
>> >> >> > Now, though hulahop was getting imported but while using
>> >> >> > hulahop.webview, an
>> >> >> > error saying "hulahop has no attribute webview" occured. However,
>> >> >> > when
>> >> >> > we
>> >> >> > checked the hulahop folder, there was a file named webview.py, so
>> >> >> > this
>> >> >> > problem might be because of some kind of wrongly set library
>> >> >> > paths.
>> >> >> > 2. Then we tried it with ubuntu-9.10, with similar steps but got
>> >> >> > the
>> >> >> > same
>> >> >> > result.
>> >> >> > 3. Then we tried it with fedora-11-
>> >> >> > Installed hulahop and then xpcom from the following
>> >> >> >
>> >> >> >
>> >> >> > link- http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
>> >> >>
>> >> >> This is a Mandriva package. I recommend using the tools available in
>> >> >> each distro for installing software. In Fedora it would be: "yum
>> >> >> install hulahop"
>> >> >
>> >> > We tried yum install hulahop but it said no package named hulahop,
>> >> > our first
>> >> > approach on fedora was to use yum and on ubuntu was to use apt get,
>> >> > but both
>> >> > gave the same results.
>> >>
>> >> In Fedora 11, this is the ouput of yum search hulahop:
>> >>
>> >> [to...@zviratko ~]$ yum search hulahop
>> >> Loaded plugins: fastestmirror, presto, refresh-packagekit
>> >> =

Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-26 Thread vijit singh
Hello Tomeu,

Thank You once again for your guidance. Surely I will keep on posting the
updates. I was also confused about the use of the statement-

*hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))*
*
*
What is the significance of hulahop.startup? It surely seems to be imp.
since the absence of this line results into an error.

Also, gecko folder seems to be containing paths to different xulrunner
files. Does including the same gecko folder (as is used in sugar) into the
socialcalc package which we will make for fedora, and referring to this
folder through the hulahop.startup statement work on fedora as well?  Kindly
give some pointers.

Regards,
VIJIT

On Fri, Feb 26, 2010 at 8:21 PM, Tomeu Vizoso  wrote:

> 2010/2/23 vijit singh :
> > Hello Tomeu,
> > I tried installing hulahop again as you suggested on fedora-11 and it got
> installed properly. Now, the socialcalc and the browse activity are running
> as well. Thank you for your guidance.
> > Also wished to discuss that we are planning to port SocialCalc on various
> linux distros starting from Fedora. The first approach which we are
> considering is by using a pygtk based root-level window to embed
> hulahop.webview widget in quite a similar fashion as it has been done in
> Sugar currently. Do you think it would be a feasible approach? Is there any
> other approach which you suggest would be better? Kindly give some pointers
> on the issue.
>
> This is the approach that I would recommend. Please keep us posted!
>
> Regards,
>
> Tomeu
>
> > Regards,
> > VIJIT
> >
> >
> > On Tue, Feb 16, 2010 at 12:29 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Mon, Feb 15, 2010 at 18:56, Vijit Singh  wrote:
> >> > Hello Tomeu and Aleskey,
> >> > Thank you for your replies. I will test your suggestions in a day or
> two and
> >> > will let you know about the results since I have been out of town and
> hence
> >> > unable to access net since the last 2 days.
> >> >
> >> > On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso 
> wrote:
> >> >>
> >> >> On Fri, Feb 12, 2010 at 23:36, vijit singh <
> vijitthetopco...@gmail.com>
> >> >> wrote:
> >> >> > Hello everyone,
> >> >> > SocialCalc is based upon the use of hulahop.webview widget. While
> trying
> >> >> > to
> >> >> > run socialcalc on sugar emulator running on Fedora and Ubuntu,
> error
> >> >> > saying
> >> >> > "No module hulahop" was occurring. So, we tried installing hulahop
> on
> >> >> > these
> >> >> > linux distributions.
> >> >> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps
> taken-
> >> >> >
> >> >> >  xulrunner was pre-installed. And then I
> installed python-support.deb
> >> >> > and
> >> >> > libxul0d.deb which are pre-requistie packages for python-xpcom
> package
> >> >> > (other pre-requistie packages were already installed). Then i
> installed
> >> >> > python-xpcom. And then I installed python-hulahop and hulahop.
> >> >> >
> >> >> > Downlaod links for these packages are as follows:-
> >> >> >
> >> >> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
> >> >> > http://packages.ubuntu.com/en/intrepid/hulahop
> >> >> > http://packages.ubuntu.com/en/intrepid/python-hulahop
> >> >> > Now, though hulahop was getting imported but while using
> >> >> > hulahop.webview, an
> >> >> > error saying "hulahop has no attribute webview" occured. However,
> when
> >> >> > we
> >> >> > checked the hulahop folder, there was a file named webview.py, so
> this
> >> >> > problem might be because of some kind of wrongly set library paths.
> >> >> > 2. Then we tried it with ubuntu-9.10, with similar steps but got
> the
> >> >> > same
> >> >> > result.
> >> >> > 3. Then we tried it with fedora-11-
> >> >> > Installed hulahop and then xpcom from the following
> >> >> >
> >> >> > link-
> http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
> >> >>
> >> >> This is a Mandriva package. I recommend using the tools available in
> >> >> each distro for installing software. In Fedora it would be: "yum
> >> >> install hulahop"
> >> >
> >> > We tried yum install hulahop but it said no package named hulahop, our
> first
> >> > approach on fedora was to use yum and on ubuntu was to use apt get,
> but both
> >> > gave the same results.
> >>
> >> In Fedora 11, this is the ouput of yum search hulahop:
> >>
> >> [to...@zviratko ~]$ yum search hulahop
> >> Loaded plugins: fastestmirror, presto, refresh-packagekit
> >> === Matched: hulahop
> ===
> >> hulahop.i586 : A pygtk widget for embedding mozilla
> >>
> >> Are you sure you wrote the name of the package correctly?
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >> > Regards,
> >> > VIJIT
> >
> >
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-26 Thread Tomeu Vizoso
2010/2/23 vijit singh :
> Hello Tomeu,
> I tried installing hulahop again as you suggested on fedora-11 and it got 
> installed properly. Now, the socialcalc and the browse activity are running 
> as well. Thank you for your guidance.
> Also wished to discuss that we are planning to port SocialCalc on various 
> linux distros starting from Fedora. The first approach which we are 
> considering is by using a pygtk based root-level window to embed 
> hulahop.webview widget in quite a similar fashion as it has been done in 
> Sugar currently. Do you think it would be a feasible approach? Is there any 
> other approach which you suggest would be better? Kindly give some pointers 
> on the issue.

This is the approach that I would recommend. Please keep us posted!

Regards,

Tomeu

> Regards,
> VIJIT
>
>
> On Tue, Feb 16, 2010 at 12:29 AM, Tomeu Vizoso  wrote:
>>
>> On Mon, Feb 15, 2010 at 18:56, Vijit Singh  wrote:
>> > Hello Tomeu and Aleskey,
>> > Thank you for your replies. I will test your suggestions in a day or two 
>> > and
>> > will let you know about the results since I have been out of town and hence
>> > unable to access net since the last 2 days.
>> >
>> > On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso  
>> > wrote:
>> >>
>> >> On Fri, Feb 12, 2010 at 23:36, vijit singh 
>> >> wrote:
>> >> > Hello everyone,
>> >> > SocialCalc is based upon the use of hulahop.webview widget. While trying
>> >> > to
>> >> > run socialcalc on sugar emulator running on Fedora and Ubuntu, error
>> >> > saying
>> >> > "No module hulahop" was occurring. So, we tried installing hulahop on
>> >> > these
>> >> > linux distributions.
>> >> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps taken-
>> >> >
>> >> >  xulrunner was pre-installed. And then I installed python-support.deb
>> >> > and
>> >> > libxul0d.deb which are pre-requistie packages for python-xpcom package
>> >> > (other pre-requistie packages were already installed). Then i installed
>> >> > python-xpcom. And then I installed python-hulahop and hulahop.
>> >> >
>> >> > Downlaod links for these packages are as follows:-
>> >> >
>> >> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
>> >> > http://packages.ubuntu.com/en/intrepid/hulahop
>> >> > http://packages.ubuntu.com/en/intrepid/python-hulahop
>> >> > Now, though hulahop was getting imported but while using
>> >> > hulahop.webview, an
>> >> > error saying "hulahop has no attribute webview" occured. However, when
>> >> > we
>> >> > checked the hulahop folder, there was a file named webview.py, so this
>> >> > problem might be because of some kind of wrongly set library paths.
>> >> > 2. Then we tried it with ubuntu-9.10, with similar steps but got the
>> >> > same
>> >> > result.
>> >> > 3. Then we tried it with fedora-11-
>> >> > Installed hulahop and then xpcom from the following
>> >> >
>> >> > link- http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
>> >>
>> >> This is a Mandriva package. I recommend using the tools available in
>> >> each distro for installing software. In Fedora it would be: "yum
>> >> install hulahop"
>> >
>> > We tried yum install hulahop but it said no package named hulahop, our 
>> > first
>> > approach on fedora was to use yum and on ubuntu was to use apt get, but 
>> > both
>> > gave the same results.
>>
>> In Fedora 11, this is the ouput of yum search hulahop:
>>
>> [to...@zviratko ~]$ yum search hulahop
>> Loaded plugins: fastestmirror, presto, refresh-packagekit
>> === Matched: hulahop 
>> ===
>> hulahop.i586 : A pygtk widget for embedding mozilla
>>
>> Are you sure you wrote the name of the package correctly?
>>
>> Regards,
>>
>> Tomeu
>>
>> > Regards,
>> > VIJIT
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-23 Thread vijit singh
Hello Tomeu,

I tried installing hulahop again as you suggested on fedora-11 and it got
installed properly. Now, the socialcalc and the browse activity are running
as well. Thank you for your guidance.

Also wished to discuss that we are planning to port SocialCalc on various
linux distros starting from Fedora. The first approach which we are
considering is by using a pygtk based root-level window to embed
hulahop.webview widget in quite a similar fashion as it has been done in
Sugar currently. Do you think it would be a feasible approach? Is there any
other approach which you suggest would be better? Kindly give some pointers
on the issue.

Regards,
VIJIT



On Tue, Feb 16, 2010 at 12:29 AM, Tomeu Vizoso  wrote:

> On Mon, Feb 15, 2010 at 18:56, Vijit Singh  wrote:
> > Hello Tomeu and Aleskey,
> > Thank you for your replies. I will test your suggestions in a day or two
> and
> > will let you know about the results since I have been out of town and
> hence
> > unable to access net since the last 2 days.
> >
> > On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso 
> wrote:
> >>
> >> On Fri, Feb 12, 2010 at 23:36, vijit singh 
> >> wrote:
> >> > Hello everyone,
> >> > SocialCalc is based upon the use of hulahop.webview widget. While
> trying
> >> > to
> >> > run socialcalc on sugar emulator running on Fedora and Ubuntu, error
> >> > saying
> >> > "No module hulahop" was occurring. So, we tried installing hulahop on
> >> > these
> >> > linux distributions.
> >> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps taken-
> >> >
> >> >  xulrunner was pre-installed. And then I installed python-support.deb
> >> > and
> >> > libxul0d.deb which are pre-requistie packages for python-xpcom package
> >> > (other pre-requistie packages were already installed). Then i
> installed
> >> > python-xpcom. And then I installed python-hulahop and hulahop.
> >> >
> >> > Downlaod links for these packages are as follows:-
> >> >
> >> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
> >> > http://packages.ubuntu.com/en/intrepid/hulahop
> >> > http://packages.ubuntu.com/en/intrepid/python-hulahop
> >> > Now, though hulahop was getting imported but while using
> >> > hulahop.webview, an
> >> > error saying "hulahop has no attribute webview" occured. However, when
> >> > we
> >> > checked the hulahop folder, there was a file named webview.py, so this
> >> > problem might be because of some kind of wrongly set library paths.
> >> > 2. Then we tried it with ubuntu-9.10, with similar steps but got the
> >> > same
> >> > result.
> >> > 3. Then we tried it with fedora-11-
> >> > Installed hulahop and then xpcom from the following
> >> >
> >> > link-
> http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
> >>
> >> This is a Mandriva package. I recommend using the tools available in
> >> each distro for installing software. In Fedora it would be: "yum
> >> install hulahop"
> >
> > We tried yum install hulahop but it said no package named hulahop, our
> first
> > approach on fedora was to use yum and on ubuntu was to use apt get, but
> both
> > gave the same results.
>
> In Fedora 11, this is the ouput of yum search hulahop:
>
> [to...@zviratko ~]$ yum search hulahop
> Loaded plugins: fastestmirror, presto, refresh-packagekit
> === Matched: hulahop
> ===
> hulahop.i586 : A pygtk widget for embedding mozilla
>
> Are you sure you wrote the name of the package correctly?
>
> Regards,
>
> Tomeu
>
> > Regards,
> > VIJIT
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-15 Thread Vijit Singh
Hello Tomeu and Aleskey,

Thank you for your replies. I will test your suggestions in a day or two and
will let you know about the results since I have been out of town and hence
unable to access net since the last 2 days.

On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso  wrote:

> On Fri, Feb 12, 2010 at 23:36, vijit singh 
> wrote:
> > Hello everyone,
> > SocialCalc is based upon the use of hulahop.webview widget. While trying
> to
> > run socialcalc on sugar emulator running on Fedora and Ubuntu, error
> saying
> > "No module hulahop" was occurring. So, we tried installing hulahop on
> these
> > linux distributions.
> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps taken-
> >
> >  xulrunner was pre-installed. And then I installed python-support.deb and
> > libxul0d.deb which are pre-requistie packages for python-xpcom package
> > (other pre-requistie packages were already installed). Then i installed
> > python-xpcom. And then I installed python-hulahop and hulahop.
> >
> > Downlaod links for these packages are as follows:-
> >
> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
> > http://packages.ubuntu.com/en/intrepid/hulahop
> > http://packages.ubuntu.com/en/intrepid/python-hulahop
> > Now, though hulahop was getting imported but while using hulahop.webview,
> an
> > error saying "hulahop has no attribute webview" occured. However, when we
> > checked the hulahop folder, there was a file named webview.py, so this
> > problem might be because of some kind of wrongly set library paths.
> > 2. Then we tried it with ubuntu-9.10, with similar steps but got the same
> > result.
> > 3. Then we tried it with fedora-11-
> > Installed hulahop and then xpcom from the following
> > link-
> http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
>
> This is a Mandriva package. I recommend using the tools available in
> each distro for installing software. In Fedora it would be: "yum
> install hulahop"
>

We tried yum install hulahop but it said no package named hulahop, our first
approach on fedora was to use yum and on ubuntu was to use apt get, but both
gave the same results.

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


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-15 Thread Tomeu Vizoso
On Mon, Feb 15, 2010 at 18:56, Vijit Singh  wrote:
> Hello Tomeu and Aleskey,
> Thank you for your replies. I will test your suggestions in a day or two and
> will let you know about the results since I have been out of town and hence
> unable to access net since the last 2 days.
>
> On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso  wrote:
>>
>> On Fri, Feb 12, 2010 at 23:36, vijit singh 
>> wrote:
>> > Hello everyone,
>> > SocialCalc is based upon the use of hulahop.webview widget. While trying
>> > to
>> > run socialcalc on sugar emulator running on Fedora and Ubuntu, error
>> > saying
>> > "No module hulahop" was occurring. So, we tried installing hulahop on
>> > these
>> > linux distributions.
>> > 1. Firstly we tried with ubuntu-8.10, here are the exact steps taken-
>> >
>> >  xulrunner was pre-installed. And then I installed python-support.deb
>> > and
>> > libxul0d.deb which are pre-requistie packages for python-xpcom package
>> > (other pre-requistie packages were already installed). Then i installed
>> > python-xpcom. And then I installed python-hulahop and hulahop.
>> >
>> > Downlaod links for these packages are as follows:-
>> >
>> > http://packages.ubuntu.com/en/intrepid/python/python-xpcom
>> > http://packages.ubuntu.com/en/intrepid/hulahop
>> > http://packages.ubuntu.com/en/intrepid/python-hulahop
>> > Now, though hulahop was getting imported but while using
>> > hulahop.webview, an
>> > error saying "hulahop has no attribute webview" occured. However, when
>> > we
>> > checked the hulahop folder, there was a file named webview.py, so this
>> > problem might be because of some kind of wrongly set library paths.
>> > 2. Then we tried it with ubuntu-9.10, with similar steps but got the
>> > same
>> > result.
>> > 3. Then we tried it with fedora-11-
>> > Installed hulahop and then xpcom from the following
>> >
>> > link- http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
>>
>> This is a Mandriva package. I recommend using the tools available in
>> each distro for installing software. In Fedora it would be: "yum
>> install hulahop"
>
> We tried yum install hulahop but it said no package named hulahop, our first
> approach on fedora was to use yum and on ubuntu was to use apt get, but both
> gave the same results.

In Fedora 11, this is the ouput of yum search hulahop:

[to...@zviratko ~]$ yum search hulahop
Loaded plugins: fastestmirror, presto, refresh-packagekit
=== Matched: hulahop ===
hulahop.i586 : A pygtk widget for embedding mozilla

Are you sure you wrote the name of the package correctly?

Regards,

Tomeu

> Regards,
> VIJIT
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-14 Thread Tomeu Vizoso
On Fri, Feb 12, 2010 at 23:36, vijit singh  wrote:
> Hello everyone,
> SocialCalc is based upon the use of hulahop.webview widget. While trying to
> run socialcalc on sugar emulator running on Fedora and Ubuntu, error saying
> "No module hulahop" was occurring. So, we tried installing hulahop on these
> linux distributions.
> 1. Firstly we tried with ubuntu-8.10, here are the exact steps taken-
>
>  xulrunner was pre-installed. And then I installed python-support.deb and
> libxul0d.deb which are pre-requistie packages for python-xpcom package
> (other pre-requistie packages were already installed). Then i installed
> python-xpcom. And then I installed python-hulahop and hulahop.
>
> Downlaod links for these packages are as follows:-
>
> http://packages.ubuntu.com/en/intrepid/python/python-xpcom
> http://packages.ubuntu.com/en/intrepid/hulahop
> http://packages.ubuntu.com/en/intrepid/python-hulahop
> Now, though hulahop was getting imported but while using hulahop.webview, an
> error saying "hulahop has no attribute webview" occured. However, when we
> checked the hulahop folder, there was a file named webview.py, so this
> problem might be because of some kind of wrongly set library paths.
> 2. Then we tried it with ubuntu-9.10, with similar steps but got the same
> result.
> 3. Then we tried it with fedora-11-
> Installed hulahop and then xpcom from the following
> link- http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html

This is a Mandriva package. I recommend using the tools available in
each distro for installing software. In Fedora it would be: "yum
install hulahop"

> Now, when we tried to use hulahop.webview, the following error
> occured- http://pastebin.be/23452. though hulahop was getting imported
> properly in this case as well.
> Could someone please guide us about what are right steps in case we are
> wrong somewhere. Also has anyone been able to use
> hulahop.webview  successfully on linux distros before?

Sugar's Browse is known to run in all those distros (and many more),
though in the Ubuntu case I think you need to use PPAs as explained
in:

http://wiki.sugarlabs.org/go/Community/Distributions/Ubuntu

Regards,

Tomeu

> Regards,
> VIJIT
>
>
>
>
>
>
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-12 Thread Aleksey Lim
On Sat, Feb 13, 2010 at 05:06:38AM +0530, vijit singh wrote:
> Hello everyone,
> 
> SocialCalc is based upon the use of hulahop.webview widget. While trying to
> run socialcalc on sugar emulator running on Fedora and Ubuntu, error saying
> "No module hulahop" was occurring. So, we tried installing hulahop on these
> linux distributions.
> 
> *1. Firstly we tried with ubuntu-8.10, here are the exact steps taken- *
> 
> * **xulrunner was pre-installed. And then I installed python-support.deb and
> libxul0d.deb which are pre-requistie packages for python-xpcom package
> (other pre-requistie packages were already installed). Then i installed
> python-xpcom. And then I installed python-hulahop and hulahop. *
> 
> *Downlaod links for these packages are as follows:-*
> *http://packages.ubuntu.com/en/intrepid/python/python-xpcom*
> * **
> http://packages.ubuntu.com/en/intrepid/hulahop*
> *
> **http://packages.ubuntu.com/en/intrepid/python-hulahop*
> 
> Now, though hulahop was getting imported but while using hulahop.webview, an
> error saying "hulahop has no attribute webview" occured. However, when we
> checked the hulahop folder, there was a file named webview.py, so this
> problem might be because of some kind of wrongly set library paths.
> 
> *2. Then we tried it with ubuntu-9.10, with similar steps but got the same
> result.*

for all ubuntu versions before 10.04(10.04 uses debian packages),
try sugar repos from
http://wiki.sugarlabs.org/go/Community/Distributions/Ubuntu
the package is python-hulahop

but it supports only 9.10, 9.04, 8.04
not sure if supporting 8.10 makes sense today, since LTS is 8.04

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