[Bug 1876068] [NEW] DeprecationWarning: an integer is required

Laurent Bonnaud L.Bonnaud at laposte.net
Thu Apr 30 09:22:13 UTC 2020


Public bug reported:

Hi,

when I use ubuntu-bug to report a bug, I see the following python
deprecation warning:

$ ubuntu-bug apport-kde
/usr/share/apport/apport-kde:129: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  progress.setValue(value * 1000)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apport-kde 2.20.11-0ubuntu27
Uname: Linux 5.6.7-050607-generic x86_64
ApportLog:
 
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Thu Apr 30 11:16:12 2020
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug focal

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

Title:
  DeprecationWarning: an integer is required

Status in apport package in Ubuntu:
  New

Bug description:
  Hi,

  when I use ubuntu-bug to report a bug, I see the following python
  deprecation warning:

  $ ubuntu-bug apport-kde
  /usr/share/apport/apport-kde:129: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
    progress.setValue(value * 1000)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: apport-kde 2.20.11-0ubuntu27
  Uname: Linux 5.6.7-050607-generic x86_64
  ApportLog:
   
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Thu Apr 30 11:16:12 2020
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list