Re: [Matplotlib-users] Bus error when using logarithmic scale with logaritmic bins
Hi Ben, Finally, I updated ti Python 2.6.7, numpy 1.6.1, and matplotlib 1.0.1. The update solved the problem. Thanks, marc On Wed, Aug 10, 2011 at 8:41 PM, Marc Magrans de Abril marcmagransdeab...@gmail.com wrote: Hi Ben, I will try to do it. Once it is done I let you know. Cheers, marc On Wed, Aug 10, 2011 at 7:41 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril marcmagransdeab...@gmail.com wrote: Dear colleagues, I'm trying to display an histogram with logarithmic bins using the logarithmic scale in the x-axis. When I execute the attached python script it crashes giving a Bus Error message (see also the attached core dump). If I remove the line plt.xscale('log') the script goes up to the end. I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and matplotlib 0.98.5.2. Anyone knows the reason of the crash? Thanks, marc If I remember correctly, there was a log-scale bug in plt.hist() that got fixed a little while back. Your version of numpy and matplotlib is a little old. Is it possible to update those two packages on your system? Ben Root -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Bus error when using logarithmic scale with logaritmic bins
Hi Ben, I will try to do it. Once it is done I let you know. Cheers, marc On Wed, Aug 10, 2011 at 7:41 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril marcmagransdeab...@gmail.com wrote: Dear colleagues, I'm trying to display an histogram with logarithmic bins using the logarithmic scale in the x-axis. When I execute the attached python script it crashes giving a Bus Error message (see also the attached core dump). If I remove the line plt.xscale('log') the script goes up to the end. I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and matplotlib 0.98.5.2. Anyone knows the reason of the crash? Thanks, marc If I remember correctly, there was a log-scale bug in plt.hist() that got fixed a little while back. Your version of numpy and matplotlib is a little old. Is it possible to update those two packages on your system? Ben Root -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Bus error when using logarithmic scale with logaritmic bins
Dear colleagues, I'm trying to display an histogram with logarithmic bins using the logarithmic scale in the x-axis. When I execute the attached python script it crashes giving a Bus Error message (see also the attached core dump). If I remove the line plt.xscale('log') the script goes up to the end. I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and matplotlib 0.98.5.2. Anyone knows the reason of the crash? Thanks, marc Process: Python [12279] Path: /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 2.5a0 (2.5alpha0) Code Type: X86 (Native) Parent Process: bash [11351] Date/Time: 2011-08-10 19:29:03.082 +0200 OS Version: Mac OS X 10.6.8 (10K549) Report Version: 6 Interval Since Last Report: 1008 sec Crashes Since Last Report: 3 Per-App Interval Since Last Report: 33 sec Per-App Crashes Since Last Report: 3 Anonymous UUID: 22EF-1C96-47F9-BECD-21497E29C337 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 00 0 + 0 1 libSystem.B.dylib 0x9a9c8f68 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x948fcd86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib0x01759476 _Unwind_RaiseException_Phase2 + 102 (unwind.inc:68) 4 libgcc_s.1.dylib0x01759890 _Unwind_Resume + 112 (unwind.inc:238) 5 _backend_agg.so 0x02a344c0 py_to_agg_transformation_matrix(Py::Object const, bool) + 580 6 _backend_agg.so 0x02a3c5a5 RendererAgg::draw_path(Py::Tuple const) + 281 7 _backend_agg.so 0x02a4daea Py::PythonExtensionRendererAgg::method_varargs_call_handler(_object*, _object*) + 400 8 org.python.python 0x0009761c PyEval_EvalFrameEx + 18969 (ceval.c:3566) 9 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 10 org.python.python 0x00097108 PyEval_EvalFrameEx + 17669 (ceval.c:3662) 11 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 12 org.python.python 0x00097108 PyEval_EvalFrameEx + 17669 (ceval.c:3662) 13 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 14 org.python.python 0x00097108 PyEval_EvalFrameEx + 17669 (ceval.c:3662) 15 org.python.python 0x000982e4 PyEval_EvalFrameEx + 22241 (ceval.c:3652) 16 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 17 org.python.python 0x0002edfb function_call + 320 (funcobject.c:517) 18 org.python.python 0xdceb PyObject_Call + 45 (abstract.c:1860) 19 org.python.python 0x0001580c instancemethod_call + 401 (classobject.c:2493) 20 org.python.python 0xdceb PyObject_Call + 45 (abstract.c:1860) 21 org.python.python 0x0009594d PyEval_EvalFrameEx + 11594 (ceval.c:3777) 22 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 23 org.python.python 0x00097108 PyEval_EvalFrameEx + 17669 (ceval.c:3662) 24 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 25 org.python.python 0x0002edfb function_call + 320 (funcobject.c:517) 26 org.python.python 0xdceb PyObject_Call + 45 (abstract.c:1860) 27 org.python.python 0x000965d4 PyEval_EvalFrameEx + 14801 (ceval.c:3846) 28 org.python.python 0x00099482 PyEval_EvalCodeEx + 1819 (ceval.c:2833) 29 org.python.python 0x0002edfb function_call + 320 (funcobject.c:517) 30 org.python.python 0xdceb PyObject_Call + 45 (abstract.c:1860) 31 org.python.python 0x0001580c instancemethod_call + 401 (classobject.c:2493) 32 org.python.python 0xdceb PyObject_Call + 45 (abstract.c:1860) 33 org.python.python 0x00091d7e PyEval_CallObjectWithKeywords + 112 (ceval.c:3435) 34 _tkinter.so 0x024dfe57 PythonCmd + 220 (_tkinter.c:2012) 35 Tcl 0x02663f78 TclInvokeStringCommand + 110 36 Tcl 0x02666182 TclEvalObjvInternal + 984 37 Tcl 0x0268d68f TclExecuteByteCode + 3487 38 Tcl 0x02692f10 Tcl_ExprObj + 1090 39 Tcl 0x02664d35 Tcl_ExprBooleanObj + 46 40 Tcl 0x02672ca7
Re: [Matplotlib-users] Bus error when using logarithmic scale with logaritmic bins
On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril marcmagransdeab...@gmail.com wrote: Dear colleagues, I'm trying to display an histogram with logarithmic bins using the logarithmic scale in the x-axis. When I execute the attached python script it crashes giving a Bus Error message (see also the attached core dump). If I remove the line plt.xscale('log') the script goes up to the end. I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and matplotlib 0.98.5.2. Anyone knows the reason of the crash? Thanks, marc If I remember correctly, there was a log-scale bug in plt.hist() that got fixed a little while back. Your version of numpy and matplotlib is a little old. Is it possible to update those two packages on your system? Ben Root -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Bus error when using logarithmic scale with logaritmic bins
Hi Ben, I will try to do it. Once it is done I let you know. Cheers, marc On Wed, Aug 10, 2011 at 7:41 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril marcmagransdeab...@gmail.com wrote: Dear colleagues, I'm trying to display an histogram with logarithmic bins using the logarithmic scale in the x-axis. When I execute the attached python script it crashes giving a Bus Error message (see also the attached core dump). If I remove the line plt.xscale('log') the script goes up to the end. I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and matplotlib 0.98.5.2. Anyone knows the reason of the crash? Thanks, marc If I remember correctly, there was a log-scale bug in plt.hist() that got fixed a little while back. Your version of numpy and matplotlib is a little old. Is it possible to update those two packages on your system? Ben Root -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users