ufoym / agpy

Automatically exported from code.google.com/p/agpy
MIT License
1 stars 0 forks source link

Split plfit into python/fortran/cython modules #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. importing plfit -> "import plfit"
2.
3.

What is the expected output? What do you see instead?
Get output -> "Bus error". Then python crashes

What version of the product are you using? On what operating system?
r70 on OS X Snow leopard

Please provide any additional information below.
This issue is fixed by commenting out the two try-catch blocks and just
replacing it with:

usefortran  = False
cyok        = False

You might want to point this out to users who are just interested in the
python version

Original issue reported on code.google.com by lwbo...@gmail.com on 7 Oct 2009 at 10:43

GoogleCodeExporter commented 9 years ago
Thanks lwbotha.  I'll look into the c/fortran building; for now I've included a 
link
to this bug report on the plfit page.

Original comment by keflavich on 28 Feb 2010 at 9:48

GoogleCodeExporter commented 9 years ago
I still haven't managed to get cython/fortran to install correctly, but now the
pure-python plfit is the default and you need to use fortran_plfit or 
cython_plfit
for the others.  Also, I've removed the fplfit.so from the distribution so that 
no
one else gets a BusError (which I think comes from having built the code on a 
mac and
then using it on... a different mac....)

Original comment by keflavich on 28 Feb 2010 at 10:17

GoogleCodeExporter commented 9 years ago
Updated bug status.

Original comment by keflavich on 28 Feb 2010 at 10:18