Package: swap-cwm
Version: 1.2.1-6
Severity: important

When I run the command cant from the terminal the python interpreter
throws an error stating uripath could not be found. I looked at the code
of cant.py and I realized the probable source of the error.

Line 62 in my version of the file states:

> import uripath

However, in the previous lines, that library is already being imported using
an try-catch block to first try to import it from the swap module and if
an exception is triggered import it as in the line above. I believe, the
possible cause of the error is simply that someone forgot to delete that
second import statement. Commenting it out fixes the crash and I am
confident that it should not affect the correctness of the outcome but
I am not familiar with the command, as I need swap-cwm for some personal work
and I was just getting acquinted with the package.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages swap-cwm depends on:
ii  python-swap  1.2.1-6

swap-cwm recommends no packages.

Versions of packages swap-cwm suggests:
pn  otter          <none>
ii  python-crypto  2.6.1-5+b2
pn  python-rdflib  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to