[Bug 1863825] Re: 20.04 apt update of python 3.8 gives errors

Paul White 1863825 at bugs.launchpad.net
Sat Feb 22 12:34:12 UTC 2020


*** This bug is a duplicate of bug 1863414 ***
    https://bugs.launchpad.net/bugs/1863414

** This bug has been marked a duplicate of bug 1863414
   Have many "/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used" on simple APT usage

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

Title:
  20.04 apt update of python 3.8 gives errors

Status in python3-defaults package in Ubuntu:
  Confirmed

Bug description:
  Run sudo apt dist-upgrade on 20.04 install.

  Expected result:

  python3 is updated without issue

  Actual result:

  
  After this operation, 1,114 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-minimal amd64 3.8.0-3ubuntu1 [23.3 kB]
  Get:2 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3 amd64 3.8.0-3ubuntu1 [47.6 kB]
  Get:3 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libpython3-stdlib amd64 3.8.0-3ubuntu1 [6,872 B]
  Get:4 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libnewt0.52 amd64 0.52.21-4ubuntu2 [41.1 kB]
  Get:5 http://us.archive.ubuntu.com/ubuntu focal/main amd64 whiptail amd64 0.52.21-4ubuntu2 [17.0 kB]
  Get:6 http://us.archive.ubuntu.com/ubuntu focal/main amd64 gnome-disk-utility amd64 3.35.91-1ubuntu1 [186 kB]
  Get:7 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 onboard-data all 1.4.1-2ubuntu7 [3,803 kB]
  Get:8 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 onboard amd64 1.4.1-2ubuntu7 [351 kB]                                                 
  Get:9 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 onboard-common all 1.4.1-2ubuntu7 [530 kB]                                            
  Get:10 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 python3-html5-parser amd64 0.4.9-3build1 [125 kB]                                    
  Get:11 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-renderpm amd64 3.5.34-1build1 [60.4 kB]                                          
  Get:12 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-reportlab-accel amd64 3.5.34-1build1 [19.4 kB]                                   
  Get:13 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-reportlab all 3.5.34-1build1 [546 kB]                                            
  Get:14 http://us.archive.ubuntu.com/ubuntu focal/main amd64 python3-systemd amd64 234-3build2 [36.5 kB]                                              
  Fetched 5,793 kB in 8s (694 kB/s)                                                                                                                    
  (Reading database ... 529746 files and directories currently installed.)
  Preparing to unpack .../python3-minimal_3.8.0-3ubuntu1_amd64.deb ...
  Unpacking python3-minimal (3.8.0-3ubuntu1) over (3.8.0-3) ...
  Setting up python3-minimal (3.8.0-3ubuntu1) ...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  (Reading database ... 529746 files and directories currently installed.)
  Preparing to unpack .../00-python3_3.8.0-3ubuntu1_amd64.deb ...
  running python pre-rtupdate hooks for python3.8...
  Unpacking python3 (3.8.0-3ubuntu1) over (3.8.0-3) ...
  Preparing to unpack .../01-libpython3-stdlib_3.8.0-3ubuntu1_amd64.deb ...
  Unpacking libpython3-stdlib:amd64 (3.8.0-3ubuntu1) over (3.8.0-3) ...
  Preparing to unpack .../02-libnewt0.52_0.52.21-4ubuntu2_amd64.deb ...
  Unpacking libnewt0.52:amd64 (0.52.21-4ubuntu2) over (0.52.21-4ubuntu1) ...
  Preparing to unpack .../03-whiptail_0.52.21-4ubuntu2_amd64.deb ...
  Unpacking whiptail (0.52.21-4ubuntu2) over (0.52.21-4ubuntu1) ...
  Preparing to unpack .../04-gnome-disk-utility_3.35.91-1ubuntu1_amd64.deb ...
  Unpacking gnome-disk-utility (3.35.91-1ubuntu1) over (3.35.2-1ubuntu1) ...
  Preparing to unpack .../05-onboard-data_1.4.1-2ubuntu7_all.deb ...
  Unpacking onboard-data (1.4.1-2ubuntu7) over (1.4.1-2ubuntu6) ...
  Preparing to unpack .../06-onboard_1.4.1-2ubuntu7_amd64.deb ...
  Unpacking onboard (1.4.1-2ubuntu7) over (1.4.1-2ubuntu6) ...
  Preparing to unpack .../07-onboard-common_1.4.1-2ubuntu7_all.deb ...
  Unpacking onboard-common (1.4.1-2ubuntu7) over (1.4.1-2ubuntu6) ...
  Preparing to unpack .../08-python3-html5-parser_0.4.9-3build1_amd64.deb ...
  Unpacking python3-html5-parser (0.4.9-3build1) over (0.4.9-3) ...
  Preparing to unpack .../09-python3-renderpm_3.5.34-1build1_amd64.deb ...
  Unpacking python3-renderpm:amd64 (3.5.34-1build1) over (3.5.34-1) ...
  Preparing to unpack .../10-python3-reportlab-accel_3.5.34-1build1_amd64.deb ...
  Unpacking python3-reportlab-accel:amd64 (3.5.34-1build1) over (3.5.34-1) ...
  Preparing to unpack .../11-python3-reportlab_3.5.34-1build1_all.deb ...
  Unpacking python3-reportlab (3.5.34-1build1) over (3.5.34-1) ...
  Preparing to unpack .../12-python3-systemd_234-3build2_amd64.deb ...
  Unpacking python3-systemd (234-3build2) over (234-3build1) ...
  Setting up libnewt0.52:amd64 (0.52.21-4ubuntu2) ...
  Setting up whiptail (0.52.21-4ubuntu2) ...
  Setting up gnome-disk-utility (3.35.91-1ubuntu1) ...
  Setting up libpython3-stdlib:amd64 (3.8.0-3ubuntu1) ...
  Setting up python3 (3.8.0-3ubuntu1) ...
  running python rtupdate hooks for python3.8...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/share/hplip/base/utils.py:2060: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if weburl is "" or weburl is None:
  /usr/share/hplip/check-plugin.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if log_level is 'debug':
  /usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    if 'getfacl' not in g and '' is not g and 'file' not in g:
  /usr/share/hplip/installer/core_install.py:2037: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if home_dir is "":
  /usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    if self.latest_available_version is not "":
  /usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    if self.latest_available_version is not "":
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  running python post-rtupdate hooks for python3.8...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  Setting up python3-reportlab-accel:amd64 (3.5.34-1build1) ...
  Setting up onboard-common (1.4.1-2ubuntu7) ...
  Setting up python3-html5-parser (0.4.9-3build1) ...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  Setting up python3-reportlab (3.5.34-1build1) ...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  Setting up python3-systemd (234-3build2) ...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  Setting up python3-renderpm:amd64 (3.5.34-1build1) ...
  Setting up onboard (1.4.1-2ubuntu7) ...
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be use
  d
    self.stdin = io.open(p2cwrite, 'wb', bufsize)
  /usr/lib/python3/dist-packages/Onboard/LayoutLoaderSVG.py:447: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
    raise Exceptions.LayoutFileError("Unrecognized modifier %s in" \

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: python3 3.8.0-3ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Tue Feb 18 18:44:49 2020
  InstallationDate: Installed on 2019-04-14 (310 days ago)
  InstallationMedia: Ubuntu-MATE 19.04 "Disco Dingo" - Alpha amd64 (20190413.3)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python3-defaults
  UpgradeStatus: Upgraded to focal on 2020-01-09 (40 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1863825/+subscriptions



More information about the foundations-bugs mailing list