Hi, Well, You are right. I tried replicating this bug too. And when I tried importing this in a different directory it worked...
Thanks, Oz On Thu, Sep 10, 2009 at 1:33 PM, Francesco P. Lovergine <fran...@debian.org>wrote: > On Wed, Sep 09, 2009 at 09:46:04PM +0200, Oz Nahum wrote: > > Package: python-gdal > > Version: 1.6.1-3 > > Severity: important > > > > Hi, > > from osgeo import gdal_array > > causes a segmentation fault. > > > > A quick check up brought up this is only in the latest package. Not in > > 1.6.1-2. > > > > Here's a log of actions: > > oz...@karo:/var/cache/apt/archives$ sudo dpkg -i > > python-gdal_1.6.1-3_i386.deb > > Selecting previously deselected package python-gdal. > > (Reading database ... 321216 files and directories currently installed.) > > Unpacking python-gdal (from python-gdal_1.6.1-3_i386.deb) ... > > Setting up python-gdal (1.6.1-3) ... > > Processing triggers for man-db ... > > oz...@karo:/var/cache/apt/archives$ python > > Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) > > [GCC 4.3.3] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> from osgeo import gdal_array > > Segmentation fault > > Cannot replicate. It loads perfectly. Maybe you have some local problems. > Any corrupted .pyc code? Did you try reinstalling the package? > > -- > Francesco P. Lovergine > -- ---- Imagine there's no countries It isn't hard to do Nothing to kill or die for And no religion too Imagine all the people Living life in peace