[Python-modules-team] Bug#459411: isympy fails to start
Ondrej Certik
ondrej at certik.cz
Sun Jan 6 12:25:33 UTC 2008
On Jan 6, 2008 11:44 AM, Soeren Sonnenburg <bugreports at nn7.de> wrote:
> Package: python-sympy
> Version: 0.5.9-1
> Severity: normal
>
> $ isympy
> ---------------------------------------------------------------------------
> exceptions.AttributeError Traceback (most recent call last)
>
> /usr/bin/isympy
> 132 run_python_interpreter()
> 133
> 134 if __name__ == "__main__":
> --> 135 main()
> 136
>
> /usr/bin/isympy in main()
> 127 else:
> 128 try:
> --> 129 run_ipython_interpreter()
> 130
> 131 except ImportError:
>
> /usr/bin/isympy in run_ipython_interpreter()
> 59 args = []
> 60 ipshell = IPShellEmbed(args)
> ---> 61 api = ipshell.IP.getapi()
> 62 api.ex(init_code)
> 63 api.ex('__IP.compile("from __future__ import division", "<input>", "single") in __IP.user_ns')
>
> AttributeError: InteractiveShell instance has no attribute 'getapi'
>
Hi Soeren,
thanks very much for the bug report. You use stable, right? Which
version of ipython do you have?
For me, it works with Version: 0.8.1-2. We could add conflict with the
version of ipython that
you have and lower, but that would render python-sympy uninstallable
for some people.
Easy workaround is this:
$ isympy -c python
Please tell me, if it works.
Then we may try to find some solution with the ipython.
Ondrej
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers stable
> APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.24-rc6-sonne (SMP w/2 CPU cores; PREEMPT)
> 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 python-sympy depends on:
> ii python 2.4.4-6 An interactive high-level object-o
> ii python-support 0.7.6 automated rebuilding support for p
>
> Versions of packages python-sympy recommends:
> ii libgtkmathview-bin 0.8.0-1 rendering engine for MathML docume
> ii python-ctypes 1.0.2-2 Python package to create and manip
> ii python-imaging 1.1.6-1 Python Imaging Library
> ii python-opengl 3.0.0~a6-4 Python bindings to OpenGL
>
> -- no debconf information
>
>
>
>
More information about the Python-modules-team
mailing list