Python program using m2crypto returns IncompleteRead

Bug #1898371 reported by Andrei Borzenkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
m2crypto (Ubuntu)
New
Undecided
Unassigned

Bug Description

After update from 18.04 to 20.04 program using python3-m2crypto failed with IncompleteRead(0 bytes read). The program is openSUSE osc accessing https://api.opensuse.org/. Similar bug report:

https://github.com/openSUSE/osc/issues/771

with resilution (https://github.com/openSUSE/osc/issues/771#issuecomment-601784292):

It probably misses [1] (unless it was backported), which is required
for python3.8.
[1] https://gitlab.com/m2crypto/m2crypto/-/merge_requests/242

Installing m2crypto 0.36 as local user package worked around it. 20.04 comes with m2crypto 0.31 and Python 3.8 which apparently cannot work; either newer version of m2crypto or at least mentioned patch is required.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-m2crypto 0.31.0-9ubuntu1
ProcVersionSignature: Ubuntu 5.6.0-1028.28-oem 5.6.19
Uname: Linux 5.6.0-1028-oem x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sat Oct 3 17:59:11 2020
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-trusty-amd64-20140620-0
InstallationDate: Installed on 2015-07-02 (1920 days ago)
InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25
SourcePackage: m2crypto
UpgradeStatus: Upgraded to focal on 2020-10-03 (0 days ago)

Revision history for this message
Andrei Borzenkov (arvidjaar-s) wrote :
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.