setup.py crashed with TypeError in sendall(): memoryview: a bytes-like object is required, not 'str'

Bug #1735778 reported by Jean-Baptiste Lallement
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
New
Medium
Unassigned

Bug Description

no idea how it crashed

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: hplip-data 3.17.10+repack0-1
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
ApportVersion: 2.20.8-0ubuntu2
Architecture: amd64
CupsErrorLog:

CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 29 08:02:35 2017
Dependencies:
 gcc-7-base 7.2.0-16ubuntu1
 libc6 2.26-0ubuntu2
 libgcc1 1:7.2.0-16ubuntu1
 liblzma5 5.2.2-1.3
 xz-utils 5.2.2-1.3
ExecutablePath: /usr/share/hplip/setup.py
InstallationDate: Installed on 2013-09-03 (1549 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
InterpreterPath: /usr/bin/python3.6
Lpstat:
 device for Deskjet-D5500: dnssd://Deskjet%20D5500%20series%20%5BF53AD4%5D._pdl-datastream._tcp.local/
 device for MP210: usb://Canon/MP210%20series?serial=638BE0&interface=1
 device for papercut: ipp://10.10.100.12:631/printers/A3_Recto_Verso_Noir_Et_Blanc
 device for PDF: cups-pdf:/
MachineType: ASUSTeK COMPUTER INC. UX32VD
PackageArchitecture: all
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/PDF.ppd', '/etc/cups/ppd/MP210.ppd', '/etc/cups/ppd/Deskjet-D5500.ppd'] failed with exit code 2: grep: /etc/cups/ppd/PDF.ppd: Permission denied
 grep: /etc/cups/ppd/MP210.ppd: Permission denied
 grep: /etc/cups/ppd/Deskjet-D5500.ppd: Permission denied
ProcCmdline: /usr/bin/python3 /usr/bin/hp-setup
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
 TERM=screen-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-17-generic root=UUID=1004226d-a9db-46c7-bd28-eca0806c12f2 ro pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 init=/lib/systemd/systemd-bootchart
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonArgs: ['/usr/bin/hp-setup']
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
SourcePackage: hplip
Title: setup.py crashed with TypeError in sendall(): memoryview: a bytes-like object is required, not 'str'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker libvirt libvirtd lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 01/29/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX32VD.214
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX32VD
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: UX
dmi.product.name: UX32VD
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: removed: need-duplicate-check
Changed in hplip (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.