python-netcdf: Should depend on python-scientific

Ivan Vilata i Balaguer ivan at selidor.net
Tue Nov 22 14:09:25 UTC 2005


Package: python-netcdf
Version: 2.4.9-2ubuntu1
Severity: grave
Justification: renders package unusable


Hi all.  This version of the ``python-netcdf`` package should depend on
``python-scientific``, since the NetCDF package is useless without it::

  ivan[X]rampella:~$ python
  Python 2.4.2 (#2, Sep 30 2005, 22:23:39) 
  [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import Scientific.IO.NetCDF
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
  ImportError: No module named Scientific.IO.NetCDF
  >>> 
  ivan[X]rampella:~$ 

The ``Scientific_netcdf.so`` is just dropped under
``site-packages/Scientific/linux2`` without ``__init__.py`` nor PTH
files, so it can not be imported as a module.  In contrast, when
``python-scientific`` is installed, all the needed files are in place
and the module can be imported without problems::

  ivan[X]rampella:~$ python
  Python 2.4.2 (#2, Sep 30 2005, 22:23:39) 
  [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import Scientific.IO.NetCDF
  >>> 
  ivan[X]rampella:~$ 

Now, one more thing I don't understant so well is that
``python-scientific`` contains a
``site-packages/Scientific/IO/NetCDF.py`` file. :-/

Thanks!


-- System Information:
Debian Release: testing/unstable
  APT prefers breezy-updates
  APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12ram
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)

Versions of packages python-netcdf depends on:
ii  libc6                    2.3.5-1ubuntu12 GNU C Library: Shared libraries an
ii  netcdfg3                 3.5.0-7.1       An interface for scientific data a
ii  python                   2.4.2-0ubuntu2  An interactive high-level object-o
ii  python-numeric           23.8-4          Numerical (matrix-oriented) Mathem

python-netcdf recommends no packages.

-- no debconf information




More information about the ubuntu-users mailing list