[Bug 967128] New: python-requests: no-default-cacert.patch breaks third party packages (e. g. electrum)
http://bugzilla.opensuse.org/show_bug.cgi?id=967128 Bug ID: 967128 Summary: python-requests: no-default-cacert.patch breaks third party packages (e. g. electrum) Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: rjschwei@suse.com Reporter: sbrabec@suse.com QA Contact: qa-bugs@suse.de CC: marec@detebe.org, prusnak@opensuse.org, sor.alexei@meowr.ru, vuntz@suse.com Depends on: 937123 Found By: --- Blocker: --- (At least) the new version of no-default-cacert.patch breaks third party packages, for example electrum Bitcoin wallet (can be found in several repositories in OBS). The patch changes return type of requests.certs.where from string to NoneType, which makes some applications hard crashing. sbrabec@oct:~> electrum Traceback (most recent call last): File "/usr/bin/electrum", line 80, in <module> from electrum import util File "/usr/lib/python2.7/site-packages/electrum/__init__.py", line 3, in <module> from wallet import Synchronizer, WalletStorage File "/usr/lib/python2.7/site-packages/electrum/wallet.py", line 42, in <module> import paymentrequest File "/usr/lib/python2.7/site-packages/electrum/paymentrequest.py", line 48, in <module> ca_list, ca_keyID = x509.load_certificates(ca_path) File "/usr/lib/python2.7/site-packages/electrum/util.py", line 137, in <lambda> return lambda *args: do_profile(func, args) File "/usr/lib/python2.7/site-packages/electrum/util.py", line 133, in do_profile o = apply(func, args) File "/usr/lib/python2.7/site-packages/electrum/x509.py", line 177, in load_certificates with open(ca_path, 'r') as f: TypeError: coercing to Unicode: need string or buffer, NoneType found -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967128
http://bugzilla.opensuse.org/show_bug.cgi?id=967128#c1
--- Comment #1 from Alexei Sorokin
http://bugzilla.opensuse.org/show_bug.cgi?id=967128
http://bugzilla.opensuse.org/show_bug.cgi?id=967128#c2
--- Comment #2 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=967128
http://bugzilla.opensuse.org/show_bug.cgi?id=967128#c3
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=967128 Bug 967128 depends on bug 937123, which changed state. Bug 937123 Summary: Python-requests fails because the default certificate location points to a cert dir instead of a single bundle. http://bugzilla.opensuse.org/show_bug.cgi?id=937123 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967128
http://bugzilla.opensuse.org/show_bug.cgi?id=967128#c4
Robert Schweikert
participants (1)
-
bugzilla_noreply@novell.com