module 'time' has no attribute 'clock'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nml (Debian) |
Fix Released
|
Unknown
|
|||
nml (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Module calls function "clock" which has been deprecated and removed from python3.
Example of error message:
nmlc ERROR: nmlc: An internal error has occurred:
nmlc-version: 0.4.5
Error: (AttributeError) "module 'time' has no attribute 'clock'".
Command: ['/usr/bin/nmlc', "<<<sensitive and irrelevant info>>>"]
Location: File "/usr/lib/
Similar error in the same file, line 327.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nml 0.4.5-2 [modified: usr/lib/
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Thu May 7 21:14:08 2020
InstallationDate: Installed on 2020-03-20 (48 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=lv_LV.UTF-8
SHELL=/bin/bash
SourcePackage: nml
UpgradeStatus: Upgraded to focal on 2020-04-02 (35 days ago)
Changed in nml (Debian): | |
status: | Unknown → New |
Changed in nml (Debian): | |
status: | New → Fix Released |
Changed in nml (Ubuntu): | |
status: | Confirmed → Fix Released |
Thanks for reporting.
Marking confirmed based on the corresponding Debian bug report.