<?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/taof/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/taof/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 24 Jun 2012 00:20:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/taof/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Packing of integers causing import error on python 2.7.x</title><link>https://sourceforge.net/p/taof/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
import of engine.py is causing this error on python 2.7.x&lt;/p&gt;
&lt;p&gt;error                                     Traceback (most recent call last)&lt;br /&gt;
/home/user/opt/taof-0.3.2/&amp;lt;ipython-input-5-1764492aefe0&amp;gt; in &amp;lt;module&amp;gt;()&lt;br /&gt;
----&amp;gt; 1 import dataretrieval&lt;/p&gt;
&lt;p&gt;/home/user/opt/taof-0.3.2/dataretrieval.py in &amp;lt;module&amp;gt;()&lt;br /&gt;
25 from twisted.internet import reactor&lt;br /&gt;
26 &lt;br /&gt;
---&amp;gt; 27 import fuzzutils&lt;br /&gt;
28 &lt;br /&gt;
29 &lt;/p&gt;
&lt;p&gt;/home/user/opt/taof-0.3.2/fuzzutils.pyc in &amp;lt;module&amp;gt;()&lt;br /&gt;
30 from logger import *&lt;br /&gt;
31 from xmlsettings import *&lt;br /&gt;
---&amp;gt; 32 from engine import *&lt;br /&gt;
33 &lt;br /&gt;
34 #Third party libraries&lt;/p&gt;
&lt;p&gt;/home/user/opt/taof-0.3.2/engine.py in &amp;lt;module&amp;gt;()&lt;br /&gt;
38 integerstrings_little_endian = []&lt;br /&gt;
39 for i in integerstrings:&lt;br /&gt;
---&amp;gt; 40         integerstrings_little_endian.append(pack('&amp;lt;I',i))&lt;br /&gt;
41 integerstrings_big_endian = []&lt;br /&gt;
42 for i in integerstrings:&lt;/p&gt;
&lt;p&gt;error: integer out of range for 'I' format code&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
This is because pack('&amp;lt;I', -1) throws and error on python 2.7&lt;/p&gt;
&lt;p&gt;I have solved this by converting to unsigned first:&lt;/p&gt;
&lt;p&gt;def unsigned(x):&lt;br /&gt;
if ( x &amp;lt; 0 ):&lt;br /&gt;
return unpack('&amp;lt;I',pack('&amp;lt;i',x))[0]&lt;br /&gt;
else:&lt;br /&gt;
return x&lt;/p&gt;
&lt;p&gt;#Pack integers as strings for 32bit&lt;br /&gt;
integerstrings_little_endian = []&lt;br /&gt;
for i in integerstrings:&lt;br /&gt;
integerstrings_little_endian.append(pack('&amp;lt;I',unsigned(i)))&lt;br /&gt;
integerstrings_big_endian = []&lt;br /&gt;
for i in integerstrings:&lt;br /&gt;
integerstrings_big_endian.append(pack('&amp;gt;I',unsigned(i)))&lt;/p&gt;
&lt;p&gt;Please could you consider adding this to the upstream package?&lt;/p&gt;
&lt;p&gt;Thank you &lt;br /&gt;
Michal Ambroz&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michal Ambroz</dc:creator><pubDate>Sun, 24 Jun 2012 00:20:55 -0000</pubDate><guid>https://sourceforge.net55929bec462e784d1126cdf5e455e1b127dd3272</guid></item><item><title>exceptions.KeyError - 'reactor'</title><link>https://sourceforge.net/p/taof/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;While Taof v0.2 worked fine for me, I get an error in v0.3 once I click the "stop" button that says:&lt;/p&gt;
&lt;p&gt;"Error: exceptions.KeyError - 'reactor'"&lt;/p&gt;
&lt;p&gt;It seems Taof intercepts traffic fine (the 1req, 2req,... files are there) but at the end something goes wrong when it's trying to create the .xml file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 15 Feb 2007 08:40:12 -0000</pubDate><guid>https://sourceforge.netfd27ecf7416e172425450a3fa8745238044c6b6f</guid></item><item><title>Program is blocking when listening a non free TCP port </title><link>https://sourceforge.net/p/taof/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;- Launch TAOF&lt;br /&gt;
- Click on "Data Retrieval" Then "Network Settings"&lt;br /&gt;
- As local server enter 127.0.0.1 and a busy TCP port (by example 80 if you have a webserver running on localhost).&lt;br /&gt;
- As remote server enter what you want.&lt;br /&gt;
- Validate by clicking on "OK".&lt;br /&gt;
- Run the session by clicking on "Start".&lt;br /&gt;
- An error happen : "Error setting listener ..."&lt;br /&gt;
- Then you cannot stop TAOF. &lt;br /&gt;
- If you try to click on "Stop" --&amp;gt; "Error: exceptions ...."&lt;/p&gt;
&lt;p&gt;OS : Windows XP Pro SP2&lt;/p&gt;
&lt;p&gt;Julien M.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maladrie Julien</dc:creator><pubDate>Wed, 07 Feb 2007 11:26:09 -0000</pubDate><guid>https://sourceforge.netcb95acd3336d841a4ba3385d9a2ed28fd4bd0d0a</guid></item></channel></rss>