[Bug 2007568] [NEW] vicc results in modules not found

Launchpad Bug Tracker 2007568 at bugs.launchpad.net
Thu Feb 16 13:07:02 UTC 2023


You have been subscribed to a public bug by Nathan Teodosio (nteodosio):

% vicc
Traceback (most recent call last):
  File "/usr/bin/vicc", line 112, in <module>
    from virtualsmartcard.VirtualSmartcard import VirtualICC
ModuleNotFoundError: No module named 'virtualsmartcard'

If I create the /usr/lib/python3/dist-packages/virtualsmartcard ->
/usr/lib/python3/site-packages/virtualsmartcard link and remove the
extra directory level, then

% vicc
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtualsmartcard/CryptoUtils.py", line 29, in <module>
    from Crypto.Cipher import DES3, DES, AES, ARC4  # @UnusedImport
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/vicc", line 112, in <module>
    from virtualsmartcard.VirtualSmartcard import VirtualICC
  File "/usr/lib/python3/dist-packages/virtualsmartcard/VirtualSmartcard.py", line 31, in <module>
    from virtualsmartcard.CardGenerator import CardGenerator
  File "/usr/lib/python3/dist-packages/virtualsmartcard/CardGenerator.py", line 34, in <module>
    from virtualsmartcard.SmartcardSAM import SAM
  File "/usr/lib/python3/dist-packages/virtualsmartcard/SmartcardSAM.py", line 24, in <module>
    import virtualsmartcard.CryptoUtils as vsCrypto
  File "/usr/lib/python3/dist-packages/virtualsmartcard/CryptoUtils.py", line 35, in <module>
    import sha as SHA1
ModuleNotFoundError: No module named 'sha'

% apt list --installed | grep cryptod
python3-pycryptodome/lunar,now 3.11.0+dfsg1-4 amd64 [installed]

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: vsmartcard-vpicc 3.3+dfsg-2
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
ApportVersion: 2.24.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Feb 16 08:42:31 2023
InstallationDate: Installed on 2022-05-16 (275 days ago)
InstallationMedia: Xubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
SourcePackage: vsmartcard
UpgradeStatus: Upgraded to lunar on 2023-01-17 (29 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2022-11-21T16:23:39.969270

** Affects: vsmartcard (Ubuntu)
     Importance: Critical
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress

** Affects: vsmartcard (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug lunar
-- 
vicc results in modules not found
https://bugs.launchpad.net/bugs/2007568
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list