<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: TypeError __str__ returned non-string</title><link href="https://sourceforge.net/p/pyasn1/tickets/1/" rel="alternate"/><link href="https://sourceforge.net/p/pyasn1/tickets/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/pyasn1/tickets/1/</id><updated>2015-03-14T10:59:27.032000Z</updated><subtitle>Recent changes to 1: TypeError __str__ returned non-string</subtitle><entry><title>#1 TypeError __str__ returned non-string</title><link href="https://sourceforge.net/p/pyasn1/tickets/1/?limit=25#f836" rel="alternate"/><published>2015-03-14T10:59:27.032000Z</published><updated>2015-03-14T10:59:27.032000Z</updated><author><name>Ilya Etingof</name><uri>https://sourceforge.net/u/elie/</uri></author><id>https://sourceforge.net14095eb0e1dea60717398c5af0d2451bc5e3a558</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So far I can't confirm that the exception is indeed bubbled up from pyasn1 internals. Could you please perform some more investigation to figure out what is the class of the problem exception object?&lt;/p&gt;
&lt;p&gt;I'd suggest &lt;span&gt;[recursively]&lt;/span&gt; trying thinks like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;import inspect&lt;br /&gt;
inspect.getsource(e.&lt;strong&gt;class&lt;/strong&gt;)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;As well as:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;e.&lt;strong&gt;str&lt;/strong&gt;()&lt;br /&gt;
...&lt;br /&gt;
dir(a)&lt;br /&gt;
...&lt;br /&gt;
e.args&lt;br /&gt;
...&lt;br /&gt;
&lt;span&gt;[ inspect.getsource(x.&lt;strong&gt;class&lt;/strong&gt;) for x in e.args ]&lt;/span&gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;span&gt;[ (x.&lt;strong&gt;class&lt;/strong&gt;, x.&lt;strong&gt;str&lt;/strong&gt;()) for x in e.args ]&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;I suspect that the SSLError exception (from requests module) was instantiated with   objects of some other class (should be in e.args) which in turn may be instantiated by some other objects. Some of these may have faulty &lt;strong&gt;str&lt;/strong&gt;() implementation.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1 TypeError __str__ returned non-string</title><link href="https://sourceforge.net/p/pyasn1/tickets/1/?limit=25#65a3" rel="alternate"/><published>2015-03-11T20:04:54.567000Z</published><updated>2015-03-11T20:04:54.567000Z</updated><author><name>Andres Riancho</name><uri>https://sourceforge.net/u/andresriancho/</uri></author><id>https://sourceforge.netbf66060ffeecfa845fe87b4bf74f80d97b130a6d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PS: I tried to debug it myself by looking at the code and trying to find any place where there could be a monkey-patch... but failed to find it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TypeError __str__ returned non-string</title><link href="https://sourceforge.net/p/pyasn1/tickets/1/" rel="alternate"/><published>2015-03-10T17:08:24.016000Z</published><updated>2015-03-10T17:08:24.016000Z</updated><author><name>Andres Riancho</name><uri>https://sourceforge.net/u/andresriancho/</uri></author><id>https://sourceforge.netb78dacd5f19fc1c162c94e379c02c7f5e8ee994c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Seen the &lt;strong&gt;str&lt;/strong&gt; bug that seems to be in pyasn1? Its affecting requests and other tools such as mine (w3af).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766481" rel="nofollow"&gt;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766481&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://github.com/andresriancho/w3af/issues/8715" rel="nofollow"&gt;https://github.com/andresriancho/w3af/issues/8715&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>