Your message dated Thu, 21 Mar 2013 00:03:46 +0100
with message-id <514a4052.90...@googlemail.com>
and subject line argparse is to blame.
has caused the Debian Bug report #688954,
regarding ipython: Dependency missing on python-argparse
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
688954: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688954
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ipython
Version: 0.13-1
Severity: normal

Hello,

After upgrading ipython it didn't start anymore:

% ipython
Traceback (most recent call last):
  File "/usr/bin/ipython", line 5, in <module>
    from IPython.frontend.terminal.ipapp import launch_new_instance
  File "/usr/lib/python2.6/dist-packages/IPython/__init__.py", line 43, in 
<module>
    from .config.loader import Config
  File "/usr/lib/python2.6/dist-packages/IPython/config/__init__.py", line 16, 
in <module>
    from .application import *
  File "/usr/lib/python2.6/dist-packages/IPython/config/application.py", line 
31, in <module>
    from IPython.config.configurable import SingletonConfigurable
  File "/usr/lib/python2.6/dist-packages/IPython/config/configurable.py", line 
26, in <module>
    from loader import Config
  File "/usr/lib/python2.6/dist-packages/IPython/config/loader.py", line 26, in 
<module>
    from IPython.external import argparse
  File 
"/usr/lib/python2.6/dist-packages/IPython/external/argparse/__init__.py", line 
10, in <module>
    from _argparse import *
ImportError: No module named _argparse

Fix:
apt-get install python-argparse python-zmq

If ipython imports argparse without safeguards it should be a dependency, not 
just a 'suggests'.

Michael Gebetsroither

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ipython depends on:
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-configobj              4.5.2-2    a simple but powerful config file 
ii  python-decorator              3.3.3-1    simplify usage of Python decorator
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-simplegeneric          0.8.1-1    simple generic functions for Pytho
ii  python2.6                     2.6.7-4    An interactive high-level object-o
ii  python2.7                     2.7.3-1    Interactive high-level object-orie

ipython recommends no packages.

Versions of packages ipython suggests:
pn  ipython-doc                   <none>     (no description available)
pn  ipython-notebook              <none>     (no description available)
pn  ipython-qtconsole             <none>     (no description available)
ii  python-argparse               1.2.1-2    optparse-inspired command-line par
ii  python-matplotlib             0.99.3-1   Python based plotting system in a 
ii  python-numpy                  1:1.5.1-4  Numerical Python adds a fast array
pn  python-profiler               <none>     (no description available)
ii  python-zmq                    2.2.0-1    Python bindings for 0MQ library
ii  python2.7 [python-argparse]   2.7.3-1    Interactive high-level object-orie

-- no debconf information

--- End Message ---
--- Begin Message ---
tags 688954 + wontfix
thanks

If I add argparse depends people complain about pulling python2.6. Only
suggesting it is the lesser evil.

I still think this should have be fixed in argparse a long time ago.
I won't change anything in ipython anymore.

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to