Bug#986785: binoculars gui does not work

Picca Frédéric-Emmanuel picca at debian.org
Mon Apr 12 08:42:16 BST 2021


Package: binoculars
Version: 0.0.4-2
Severity: important

Dear Maintainer,

When trying to import a datasapce I get this error message.

$ binoculars-gui 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
/usr/bin/binoculars-gui:1276: DeprecationWarning: In future, it will be an error for 'np.bool_' scalars to be interpreted as an index
  box.setChecked(state)
/usr/lib/python3/dist-packages/binoculars/util.py:536: H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
  setattr(configobj, section, dict((key, config[section][key].value) for key in config[section]))
/usr/lib/python3/dist-packages/binoculars/util.py:475: H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
  setattr(meta, section, dict((key, group[key].value) for key in group))
/usr/bin/binoculars-gui:834: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance.  In a future version, a new instance will always be created and returned.  Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance.
  self.ax = self.figure.add_subplot(plotrows, plotcolumns, i+1)
Traceback (most recent call last):
  File "/usr/bin/binoculars-gui", line 725, in update_key
    self.plot()
  File "/usr/bin/binoculars-gui", line 843, in plot
    im = binoculars.plot.plot(space, self.figure, self.ax, log=log, loglog=loglog, label=basename, norm=norm[i])
  File "/usr/lib/python3/dist-packages/binoculars/plot.py", line 157, in plot
    fig._draggablecbar = DraggableColorbar(cbarwidget, im)  # we need to store this instance somewhere
  File "/usr/lib/python3/dist-packages/binoculars/plot.py", line 16, in __init__
    self.index = self.cycle.index(cbar.get_cmap().name)
AttributeError: 'Colorbar' object has no attribute 'get_cmap'
Aborted

it makes binoculars unusable n bullseye...


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages binoculars depends on:
ii  python3             3.9.2-2
ii  python3-binoculars  0.0.4-2
ii  python3-numpy       1:1.19.5-1

binoculars recommends no packages.

binoculars suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list