Package: python-scipy
Version: 0.3.2-9
Severity: grave
Justification: renders package unusable


On installation (with python-central 0.4.17) produces the following error
message:

Setting up python-scipy (0.3.2-9) ...
Compiling /usr/lib/python2.3/site-packages/scipy/stats/distributions.py ...
Sorry: IndentationError: ('unindent does not match any outer indentation
level', ('/usr/lib/python2.3/site-packages/scipy/stats/distributions.py',
733, 27, '          args = args[:-1]\n'))
pycentral: pycentral pkginstall: error byte-compiling files (267)
pycentral pkginstall: error byte-compiling files (267)
dpkg: error processing python-scipy (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-scipy
E: Sub-process /usr/bin/dpkg returned an error code (1)

The error is due to improper indentation on line 733 but when this is
corrected, there are two further errors on lines 736 and 739 as well.  I
think that htis is due to messed up tabbing in the editor....

        try:
            x = args[-1]
          args = args[:-1]              <==== needs 2 spaces
        except IndexError:
            raise ValueError, "Need shape and data arguments."
      try:                              <==== needs 2 spaces
            if len(args) == 1:
              args = args[0]
          loc = args[-1]                <==== needs 2 spaces
            scale = args[-2]
            args = args[:-2]




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to