<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/twistedsnmp/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/twistedsnmp/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 08 Oct 2010 11:33:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/twistedsnmp/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>retry/timeout does not work as expected in tableretriever</title><link>https://sourceforge.net/p/twistedsnmp/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The retry/timeout strategy in tableretriever.py does not seem to work as expected.  Given the defaults of 4 retries and a 2.0 second initial timeout, I would expect 5 requests to be made before giving up entirely, and I expect the timeout to increase by 1.5 (as the doc says) for each retry; that would amount to about 26 seconds of waiting time before giving up entirely on an unresponsive host.&lt;/p&gt;
&lt;p&gt;What happens is that only three messages are sent, and the timeout stays constant between retries.&lt;/p&gt;
&lt;p&gt;I'm attaching a patch with tests for the apparent problems, and a two-liner fix for them.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Morten Brekkevold</dc:creator><pubDate>Fri, 08 Oct 2010 11:33:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc0deef061185a8f90275cb04de39ba3e614b7b2f</guid></item><item><title>v3.AgentProxy:  set timeout retries don't work</title><link>https://sourceforge.net/p/twistedsnmp/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;TwistedSNMP-0.3.13-py2.5&lt;/p&gt;
&lt;p&gt;v3.AgentProxy.encode takes a boolean 'set' parameter to indicate whether the request is a get or a set.  AgentProxy._timeout doesn't supply this parameter when calling encode.  Therefore the retry is always interpreted as a get request, which for set retries causes an exception to be raised in a subsequent function call.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 13 Apr 2010 14:44:11 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8e32688fb7fc31da10452eb1edcc99ea81be2c5f</guid></item><item><title>pysnmp-se-3.5.0 Problem: ber.univ error due to ListType</title><link>https://sourceforge.net/p/twistedsnmp/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;VERSION: pysnmp-se-3.5.0&lt;br /&gt;
PYTHON: 2.3, 2.4&lt;br /&gt;
PLATFORM: Win32, Cygwin&lt;/p&gt;
&lt;p&gt;When running the testsuite in the pysnmp-se-3.5.0/ &lt;br /&gt;
directory, I get the following errors:&lt;/p&gt;
&lt;p&gt;shell&amp;gt; python -c 'from pysnmp.test import suite; suite.run&lt;br /&gt;
()'&lt;br /&gt;
...&lt;br /&gt;
File "/cygdrive/v/se2/pysnmp-se-&lt;br /&gt;
3.5.0/pysnmp/asn1/encoding/ber/univ.py", line 152, in &lt;br /&gt;
_berEncode&lt;br /&gt;
if cls.BER_FORWARD_CACHE.has_key( oid ):&lt;br /&gt;
TypeError: list objects are unhashable&lt;/p&gt;
&lt;p&gt;PROBLEM-ANALYSIS:&lt;br /&gt;
You need to use TupleType instead of ListType. Derived &lt;br /&gt;
from tuple like OID class does not seem to make it a &lt;br /&gt;
TupleType!?!&lt;/p&gt;
&lt;p&gt;PATCH: file:pysnmp/asn1/encoding/ber/univ.py::&lt;br /&gt;
## XXX-JE-PATCH: TypeError: list objects are &lt;br /&gt;
unhashable for .has_key(oid)&lt;br /&gt;
## print "_berEncode(oid=%s, oidType=%s)" % (oid, &lt;br /&gt;
type(oid))&lt;br /&gt;
from types import TupleType&lt;br /&gt;
if type(oid) != TupleType:&lt;br /&gt;
oid = tuple(oid)&lt;br /&gt;
## XXX-JE-PATCH-END.&lt;br /&gt;
if cls.BER_FORWARD_CACHE.has_key( oid ):&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens Engel</dc:creator><pubDate>Thu, 23 Jun 2005 06:44:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf87134c6a8b2514ce07acca9dfbb596de3833f1c</guid></item><item><title>Mirroragent oidstores don't re-load</title><link>https://sourceforge.net/p/twistedsnmp/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;BSDOIDStore instances don't seem to be getting the&lt;br /&gt;
value-sets from the stored files.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike C. Fletcher</dc:creator><pubDate>Tue, 09 Mar 2004 00:28:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8c10b6b4fb5e6b5a3e18ee4f9e9f3812e1d641b1</guid></item></channel></rss>