[Debian-med-packaging] Bug#991208: q2-demux: dist missing from q2_demux/_summarize/assets/ directory

Beatrice Torracca beatricet at libero.it
Sat Jul 17 14:24:00 BST 2021


Package: q2-demux
Version: 2020.11.1-1
Severity: normal

Hi,

I think there is something missing in Debian installation of the demux
plugin for qiime2. Please note that I am at my first steps with qiime
so I apologize if this is me doing something wrong.

When I try to use the qiime demux comand (following one of qiime tutorials) as:

qiime demux summarize --i-data demux.qza --o-visualization demux.qzv

I get this error:

Plugin error from demux:

  [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/q2_demux/_summarize/assets/dist'

and this is the content of the debug log file saved by qiime:

==== BEGIN LOG FILE
/usr/lib/python3/dist-packages/seaborn/distributions.py:2557: FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `histplot` (an axes-level function for histograms).
  warnings.warn(msg, FutureWarning)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/q2cli/commands.py", line 329, in __call__
    results = action(**arguments)
  File "<decorator-gen-214>", line 2, in summarize
  File "/usr/lib/python3/dist-packages/qiime2/sdk/action.py", line 244, in bound_callable
    outputs = self._callable_executor_(scope, callable_args,
  File "/usr/lib/python3/dist-packages/qiime2/sdk/action.py", line 452, in _callable_executor_
    ret_val = self._callable(output_dir=temp_dir, **view_args)
  File "/usr/lib/python3/dist-packages/q2_demux/_summarize/_visualizer.py", line 237, in summarize
    shutil.copytree(os.path.join(TEMPLATES, 'assets', 'dist'),
  File "/usr/lib/python3.9/shutil.py", line 555, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/q2_demux/_summarize/assets/dist'
==== END LOG FILE

Thanks a lot for your work of packetization of qiime for Debian!

beatrice



-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (100, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.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 q2-demux depends on:
ii  python3             3.9.2-3
ii  python3-ipywidgets  6.0.0-8
ii  python3-numpy       1:1.19.5-1
ii  python3-pandas      1.1.5+dfsg-2
ii  python3-psutil      5.8.0-1
ii  python3-seaborn     0.11.1-1
ii  python3-setuptools  52.0.0-4
ii  python3-skbio       0.5.6-4
ii  python3-yaml        5.3.1-4
ii  q2-types            2020.11.1-1
ii  q2templates         2020.11.1+dfsg-1
ii  qiime               2020.11.1-1

q2-demux recommends no packages.

q2-demux suggests no packages.

-- no debconf information



More information about the Debian-med-packaging mailing list