Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-12 Thread vijit singh
Hi Tomeu,

I apologize for not being able to reply to you for so long. Actually, my
mid-semester exams are currently going on and so I would be able to resume
my work only after 20th september after they get over.



>
> Well, we are pretty much in the dark here so may be good to get a bit
> more systematic.
>
Yes, sure.

>
> Can you remove any traces of hulahop and xulrunner from your system
> and start anew with only one version of python installed? And also
> write the series of commands you execute to build it all?
>
I will try this once my exams  are over.

>
> Also, are you building it in jhbuild?
>

No, I am not building it in jhbuild.


Thank You Tomeu for your constant help and support.

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


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-06 Thread Tomeu Vizoso
On Sat, Sep 5, 2009 at 21:22, vijit singh wrote:
> Hello Tomeu,
>
>
>>
>> It is a warning, but I don't see why you think it isn't related to the
>> exception.
>
> I might be missing some point or might be unable to interpret this warning
> properly.
>>
>> Removing 2.4 is not enough, you need to rebuild hulahop and pyxpcom
>> with only 2.5 installed and try again.
>
> I tried doing it, I removed python2.4 , rebuild hulahop and pyxpcom, but
> still I am getting the same error. Is any other thing also required to be
> done?

Well, we are pretty much in the dark here so may be good to get a bit
more systematic.

Can you remove any traces of hulahop and xulrunner from your system
and start anew with only one version of python installed? And also
write the series of commands you execute to build it all?

Also, are you building it in jhbuild?

Regards,

Tomeu

> Regards,
> VIJIT aka sumit
>>
>> Regards,
>>
>> Tomeu
>>
>>
>
>



-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-05 Thread vijit singh
Hello Tomeu,



> It is a warning, but I don't see why you think it isn't related to the
> exception.
>

I might be missing some point or might be unable to interpret this warning
properly.

>
> Removing 2.4 is not enough, you need to rebuild hulahop and pyxpcom
> with only 2.5 installed and try again.
>

I tried doing it, I removed python2.4 , rebuild hulahop and pyxpcom, but
still I am getting the same error. Is any other thing also required to be
done?

Regards,
VIJIT aka sumit

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


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-05 Thread Tomeu Vizoso
On Fri, Sep 4, 2009 at 23:37, vijit singh wrote:
> Hi Tomeu,
>
>
>>
>> #
>> /var/lib/python-support/python2.5/xpcom/xpt.py:72: RuntimeWarning:
>> tp_compare didn't return -1 or -2 for exception
>>
>> I think this is due to some python C modules being compiled with a
>> python version and others with a different version.
>
> I think this is a runtime warning and not an error, so the exception which
> is coming in the log is not because of this warning. Still I tried removing
> python2.4 and running only with python2.5 to ensure only one python version
> is throughout, if that is what you wanted to say. Still, the same problem
> occurs.

It is a warning, but I don't see why you think it isn't related to the
exception.

Removing 2.4 is not enough, you need to rebuild hulahop and pyxpcom
with only 2.5 installed and try again.

Regards,

Tomeu

> I think the error is because it is unable to include xpt.py module, however
> this is very strange because on line no 16 at http://pastebin.be/20740 , xpt
> is imported properly, which means the libraries are connected properly, but
> when we again try to include it in line 24, it gives error. The only
> difference b/w line 16 and line 24 is that at the latter one it tries to
> include it from a folder not in the same location as the module while in the
> former one it was imported from the same folder. Any suggestions ?
>
> Anyways, I also tried including the /var/lib/python-support/python2.5/xpcom/
> path also before running python by giving the following command-
>
> LD_LIBRARY_PATH=/var/lib/python-support/python2.5/xpcom/ :
> /usr/lib/xulrunner-1.9.0.6 python
>
> but still the same problem is occuring. Kindly give your suggestions.
>
> All,
>
> Is there anyone who has tried running hulahop on ubuntu8.10 or anyother
> version of ubuntu. Did anyone else faced similar problems?
>
> Regards,
> VIJIT aka sumit
>>
>> Can you check?
>>
>> Regards,
>>
>> Tomeu
>>
>>
>
>



-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-04 Thread vijit singh
Hi Tomeu,



> #
> /var/lib/python-support/python2.5/xpcom/xpt.py:72: RuntimeWarning:
> tp_compare didn't return -1 or -2 for exception
>
> I think this is due to some python C modules being compiled with a
> python version and others with a different version.
>

I think this is a runtime warning and not an error, so the exception which
is coming in the log is not because of this warning. Still I tried removing
python2.4 and running only with python2.5 to ensure only one python version
is throughout, if that is what you wanted to say. Still, the same problem
occurs.

I think the error is because it is unable to include xpt.py module, however
this is very strange because on line no 16 at http://pastebin.be/20740 , xpt
is imported properly, which means the libraries are connected properly, but
when we again try to include it in line 24, it gives error. The only
difference b/w line 16 and line 24 is that at the latter one it tries to
include it from a folder not in the same location as the module while in the
former one it was imported from the same folder. Any suggestions ?

Anyways, I also tried including the /var/lib/python-support/python2.5/xpcom/
path also before running python by giving the following command-

LD_LIBRARY_PATH=/var/lib/python-support/python2.5/xpcom/ :
/usr/lib/xulrunner-1.9.0.6 python

but still the same problem is occuring. Kindly give your suggestions.

All,

Is there anyone who has tried running hulahop on ubuntu8.10 or anyother
version of ubuntu. Did anyone else faced similar problems?

Regards,
VIJIT aka sumit

>
> Can you check?
>
> Regards,
>
> Tomeu
>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-04 Thread vijit singh
Hi Tomeu,

Thank You for your reply.

>
> #
> /var/lib/python-support/python2.5/xpcom/xpt.py:72: RuntimeWarning:
> tp_compare didn't return -1 or -2 for exception
>
> I think this is due to some python C modules being compiled with a
> python version and others with a different version.
>
> Can you check?
>

This might be a problem because I have got python 2.5 and python2.4 both
installed on my ubuntu. I will try to check it soon, though, frankly
speaking I am quite ignorant about how to check it. :)  Still I will try
removing python2.4 and then check it. Would update you soon about the
results.

Regards,
VIJIT

>
> Regards,
>
> Tomeu
>
> > It seems to me a bit strange, I mean when the hulahop module can be
> > imported, then it should not give errors while importing individual files
> of
> > hulahop, or may be I am missing something. Kindly give your suggestions.
> >
> > Regards,
> > VIJIT aka sumit
> >>
> >> Regards,
> >>
> >> Tomeu
> >>
> >>
> >
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-04 Thread Tomeu Vizoso
On Fri, Sep 4, 2009 at 19:15, vijit singh wrote:
> Hi Tomeu,
>
> Thanx for replying.
>
>
>>
>> You still get this error if you run this?
>>
>> LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.6 python -c "import hulahop"
>
> Well, running this command was still giving errors, I mean it didn't started
> the python shell by itself, it simply ended, so in the next step I tried to
> run python explicitly, but still the error was there. However, when I tried
> the following command-
>
>  LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.6 python
>
> This invoked the python shell implicitly and now when I tried to import
> hulahop, it was getting imported.

Good, so the library is linked to correctly.

> However, still if I try to import
> hulahop.webview, it is giving errors. Here is the complete log-
>
> http://pastebin.be/20740

#
/var/lib/python-support/python2.5/xpcom/xpt.py:72: RuntimeWarning:
tp_compare didn't return -1 or -2 for exception

I think this is due to some python C modules being compiled with a
python version and others with a different version.

Can you check?

Regards,

Tomeu

> It seems to me a bit strange, I mean when the hulahop module can be
> imported, then it should not give errors while importing individual files of
> hulahop, or may be I am missing something. Kindly give your suggestions.
>
> Regards,
> VIJIT aka sumit
>>
>> Regards,
>>
>> Tomeu
>>
>>
>
>



-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-04 Thread vijit singh
Hi Tomeu,

Thanx for replying.



> You still get this error if you run this?
>
> LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.6 python -c "import hulahop"
>

Well, running this command was still giving errors, I mean it didn't started
the python shell by itself, it simply ended, so in the next step I tried to
run python explicitly, but still the error was there. However, when I tried
the following command-

 LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.6 python

This invoked the python shell implicitly and now when I tried to import
hulahop, it was getting imported. However, still if I try to import
hulahop.webview, it is giving errors. Here is the complete log-

http://pastebin.be/20740

It seems to me a bit strange, I mean when the hulahop module can be
imported, then it should not give errors while importing individual files of
hulahop, or may be I am missing something. Kindly give your suggestions.

Regards,
VIJIT aka sumit

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


Re: [Sugar-devel] Problem installing and running hulahop on ubuntu 8.10

2009-09-04 Thread Tomeu Vizoso
On Fri, Sep 4, 2009 at 18:45, vijit singh wrote:
> Hello all,
>
> I am facing problem in installing and running hulahop on ubuntu 8.10. Here
> are the steps taken-
>
> 1. Firstly, I build the req xulrunner and xpcom libraries, though xulrunner
> was already installed by default, anyways it was upgraded in the process.
> 2. Then, I build the hulahop libraries using the ubuntu synaptics manager.
> 3. However, if I try to import hulahop, here is the error which I get -
> http://pastebin.be/20717 .
> 4. As, the req. library - libpyxpcom.so is already installed in the
> xulrunner package ( I checked it , was present at /usr/lib/xulrunner-1.9.0.6
> ), so it seemed that there are some linking problems and thus firstly, I
> tried to adjust the path using the LD_LIBRARY_PATH and the PYTHONPATH
> variables, however they didn't work.

You still get this error if you run this?

LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.0.6 python -c "import hulahop"

Regards,

Tomeu

> 5. Then, I copied all the contents of the xulrunner folder ( containing the
> file libpyxpcom.so) to the hulahop folder, so that in this case even if the
> files are not linked properly, the compiler would be able find the req file,
> however still the same error continued.
> 6. So, it seems that the hulahop files which got installed are broken, but I
> have tried installing the hulahop file by this method 3 times, they didn't
> work.
> 7. Is there any other method to build hulahop on ubuntu8.10, the 'sudo
> apt-get ' method will also install the same files I believe, so some other
> method where I can build from the hulahop source itself.
>
> I will soon be trying it on Fedora also but since currently I am not having
> a Fedora build with me , so the process might just take some time, till then
> kindly give your suggestions about how this problem can be solved.. Also,
> please let me know if I am wrong in any of my steps.
>
> Regards,
> VIJIT aka sumit
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel