Bug#896361: Bug#896354: python-neo: neo fails to import
Adrian Bunk
bunk at debian.org
Mon Apr 23 19:01:44 BST 2018
Control: reassign 896361 python-quantities
Control: forcemerge 896361 896354
Control: retitle 896354 python-quantities: quantities fails to import
Control: affects 896354 python-neo
On Fri, Apr 20, 2018 at 10:01:05PM +0200, Helmut Grohne wrote:
> Package: python-neo
> Version: 0.3.3-2
> Severity: serious
> User: helmutg at debian.org
> Usertags: python-import
>
> After installing python-neo importing the module neo
> into a python interpreter fails with the following error:
>
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/lib/python2.7/dist-packages/neo/__init__.py", line 7, in <module>
> from neo.core import *
> File "/usr/lib/python2.7/dist-packages/neo/core/__init__.py", line 42, in <module>
> from neo.core.analogsignal import AnalogSignal
> File "/usr/lib/python2.7/dist-packages/neo/core/analogsignal.py", line 30, in <module>
> import quantities as pq
> File "/usr/lib/python2.7/dist-packages/quantities/__init__.py", line 283, in <module>
> from .units import *
> File "/usr/lib/python2.7/dist-packages/quantities/units/__init__.py", line 9, in <module>
> from . import acceleration
> File "/usr/lib/python2.7/dist-packages/quantities/units/acceleration.py", line 7, in <module>
> from .time import s
> File "/usr/lib/python2.7/dist-packages/quantities/units/time.py", line 18, in <module>
> aliases=['milliseconds']
> File "/usr/lib/python2.7/dist-packages/quantities/unitquantity.py", line 62, in __new__
> ret._conv_ref = definition._reference
> File "/usr/lib/python2.7/dist-packages/quantities/quantity.py", line 139, in _reference
> rq = rq * u._reference**d
> File "/usr/lib/python2.7/dist-packages/quantities/unitquantity.py", line 230, in __pow__
> return self.view(Quantity).__pow__(other)
> File "/usr/lib/python2.7/dist-packages/quantities/quantity.py", line 88, in g
> return f(self, other, *args)
> File "/usr/lib/python2.7/dist-packages/quantities/quantity.py", line 321, in __pow__
> return super(Quantity, self).__pow__(other)
> File "/usr/lib/python2.7/dist-packages/quantities/quantity.py", line 236, in __array_prepare__
> """
> ValueError: ufunc %r not supported by quantities
> please file a bug report at https://github.com/python-quantities
>...
This is a duplicate of #896361 in python-quantities.
> Helmut
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the debian-science-maintainers
mailing list