Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi! guys,I found a error in code/maps/build/mayavi/docs/source/mayavi/auto/mri.py #1

Open
NotFound9 opened this issue May 8, 2017 · 0 comments

Comments

@NotFound9
Copy link

I run the file mri.py in
Mac OS 10.12.4
Python 2.7.12
VTK 6.3.0
Traits 4.6.0
but it crashed in

voi = mlab.pipeline.extract_grid(blur)

Do you know how to fix it?

Python 2.7.12 |Anaconda 4.2.0 (x86_64)| (default, Jul 2 2016, 17:43:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org

runfile('/Users/ruiwendaier/Documents/Application/exampleFiles/mri.py', wdir='/Users/ruiwendaier/Documents/Application/exampleFiles')
ERROR: In /Users/ilan/minonda/conda-bld/work/VTK-6.3.0/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, line 857
vtkCompositeDataPipeline (0x12a870390): The update extent specified in the information for output port 0 on algorithm vtkImageGaussianSmooth(0x12a3d2540) is 0 2147483647 0 2147483647 0 2147483647, which is outside the whole extent 0 255 0 255 0 108.

python(57268,0x70000c092000) malloc: *** mach_vm_map(size=13835058045618487296) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ERROR: In /Users/ilan/minonda/conda-bld/work/VTK-6.3.0/Common/Core/vtkDataArrayTemplate.txx, line 142
vtkUnsignedShortArray (0x12ab0cd40): Unable to allocate 6917529022809243648 elements of size 2 bytes.

libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant