<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
apt-cache policy python-nifti output:<br><br>python-nifti:<br> Installed: 0.20080630.1-1<br> Candidate: 0.20080630.1-1<br> Version table:<br> *** 0.20080630.1-1 0<br> 500 http://au.archive.ubuntu.com intrepid/universe Packages<br> 100 /var/lib/dpkg/status<br><br><br>My python-nifti package does actually seem to be part of the standard universe repositories. Here a cut and paste from synaptic<br>Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com><br>Priority: Optional<br>Section: Science (universe)<br><br>I also checked my repositories. These are all standard except for this one: http://download.opensuse.org/repositories/home:/tonddast:/itk/xUbuntu_8.10<br><br>The (possibly relevant) following packages are installed:<br>python-2.5, python2.5-dev, libitk, python-itk, and python-numpy<br><br>I am tempted to remove all the packages, and reinstall them all again from scratch. Any suggestions before I do this?<br><br>Thanks again,<br>Nick<br><br><br>> Date: Mon, 17 Aug 2009 08:10:43 -0400<br>> From: michael.hanke@gmail.com<br>> To: nick314@hotmail.com<br>> CC: pkg-exppsy-pynifti@lists.alioth.debian.org<br>> Subject: Re: [Pkg-exppsy-pynifti] Converting NiftiImage to ndarray gives "ValueError: dimensions too large"<br>> <br>> Hi,<br>> <br>> On Sun, Aug 16, 2009 at 11:14:54PM +0000, Nicholas Dowson wrote:<br>> > <br>> > Michael: Thank you for your speed of response and apologies for taking so long to reply.<br>> > <br>> > Here is another (small) file of a 4x4x4 cube. The same code causes a segmentation fault (repeated for ease of copy-paste)<br>> > from nifti import *<br>> > from numpy import *<br>> > mynifti = NiftiImage('test4x4x4.nii')<br>> > myarray = mynifti.getDataArray()<br>> > myarray<br>> <br>> This works perfectly for me (on Debian squeeze). I guess it must be the<br>> specific version(s) you have on your system. Could you run<br>> <br>> apt-cache policy python-nifti<br>> <br>> and send the output please.<br>> <br>> Since pynifti is not part of Intrepid I guess you are using the<br>> repository at apsy.gse.uni-magdeburg.de, correct?<br>> <br>> <br>> Michael<br>> <br>> <br>> -- <br>> GPG key: 1024D/3144BE0F Michael Hanke<br>> http://apsy.gse.uni-magdeburg.de/hanke<br>> ICQ: 48230050<br><br /><hr />Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. <a href='http://clk.atdmt.com/UKM/go/157562755/direct/01/' target='_new'>Get Them Now</a></body>
</html>