Public bug reported:

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/python3/dist-packages/nml/generic.py", line 332, in 
print_progress

Similar error in the same file, line 327.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nml 0.4.5-2 [modified: usr/lib/python3/dist-packages/nml/generic.py]
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
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-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=lv_LV.UTF-8
 SHELL=/bin/bash
SourcePackage: nml
UpgradeStatus: Upgraded to focal on 2020-04-02 (35 days ago)

** Affects: nml (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877433

Title:
  module 'time' has no attribute 'clock'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nml/+bug/1877433/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to