Re: "Error en el bus" from python

2009-10-12 Thread greg
Jorgen Grahn wrote: "Bus Error" is an old BSD-ism which I guess you don't see much in Linux or Solaris these days (or maybe I never run buggy code ;-). It translates roughly to "segmentation fault", but IIRC it is more about accessing memory words on nonaligned adresses than about accessing add

Re: "Error en el bus" from python

2009-10-12 Thread Jorgen Grahn
On Mon, 2009-10-12, Philip Semanchuk wrote: > > On Oct 11, 2009, at 4:45 PM, Yusniel wrote: > >> Hi. I did installed a library for python named pyswip-0.2.2 but when I >> run a python example with the next lines, the python interpreter, it >> throw me the following error: "Error en el bus". The cod

Re: "Error en el bus" from python

2009-10-12 Thread Carsten Haese
Yusniel wrote: > Exactly. "hanoi.pl" is a prolog program. I'm using Ubuntu(9.04) 32 > bit. In this case, this error is generated when I try run the above > script. However, others scripts in python, not throws this error, I > think that there are some problem with this library. Maybe, but it's imp

Re: "Error en el bus" from python

2009-10-12 Thread Philip Semanchuk
On Oct 12, 2009, at 11:27 AM, Yusniel wrote: On 12 oct, 00:08, Philip Semanchuk wrote: On Oct 11, 2009, at 11:56 PM, Dennis Lee Bieber wrote: On Sun, 11 Oct 2009 13:45:54 -0700 (PDT), Yusniel declaimed the following in gmane.comp.python.general: prolog.consult("hanoi.pl") whe

Re: "Error en el bus" from python

2009-10-12 Thread Yusniel
On 12 oct, 00:08, Philip Semanchuk wrote: > On Oct 11, 2009, at 11:56 PM, Dennis Lee Bieber wrote: > > > On Sun, 11 Oct 2009 13:45:54 -0700 (PDT), Yusniel > > declaimed the following in gmane.comp.python.general: > > >>    prolog.consult("hanoi.pl") > >     > >> where "hanoy.pl" is a program with

Re: "Error en el bus" from python

2009-10-11 Thread Philip Semanchuk
On Oct 11, 2009, at 11:56 PM, Dennis Lee Bieber wrote: On Sun, 11 Oct 2009 13:45:54 -0700 (PDT), Yusniel > declaimed the following in gmane.comp.python.general: prolog.consult("hanoi.pl") where "hanoy.pl" is a program with python code. Any solution for this error?. Thanks.

Re: "Error en el bus" from python

2009-10-11 Thread Philip Semanchuk
On Oct 11, 2009, at 4:45 PM, Yusniel wrote: Hi. I did installed a library for python named pyswip-0.2.2 but when I run a python example with the next lines, the python interpreter, it throw me the following error: "Error en el bus". The code lines are: from pyswip.prolog import Prolog from pys

Re: "Error en el bus" from python

2009-10-11 Thread Yusniel
On 11 oct, 18:29, Steven D'Aprano wrote: > On Sun, 11 Oct 2009 13:45:54 -0700, Yusniel wrote: > > Hi. I did installed a library for python named pyswip-0.2.2 but when I > > run a python example with the next lines, the python interpreter, it > > throw me the following error: "Error en el bus". > .

Re: "Error en el bus" from python

2009-10-11 Thread Steven D'Aprano
On Sun, 11 Oct 2009 13:45:54 -0700, Yusniel wrote: > Hi. I did installed a library for python named pyswip-0.2.2 but when I > run a python example with the next lines, the python interpreter, it > throw me the following error: "Error en el bus". ... > where "hanoy.pl" is a program with python cod

"Error en el bus" from python

2009-10-11 Thread Yusniel
Hi. I did installed a library for python named pyswip-0.2.2 but when I run a python example with the next lines, the python interpreter, it throw me the following error: "Error en el bus". The code lines are: from pyswip.prolog import Prolog from pyswip.easy import getList, registerForeign N = 3