<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/taof/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/taof/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/taof/bugs/</id><updated>2012-06-24T00:20:55Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Packing of integers causing import error on python 2.7.x</title><link href="https://sourceforge.net/p/taof/bugs/3/" rel="alternate"/><published>2012-06-24T00:20:55Z</published><updated>2012-06-24T00:20:55Z</updated><author><name>Michal Ambroz</name><uri>https://sourceforge.net/u/rebus/</uri></author><id>https://sourceforge.net55929bec462e784d1126cdf5e455e1b127dd3272</id><summary type="html">&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;</summary></entry><entry><title>exceptions.KeyError - 'reactor'</title><link href="https://sourceforge.net/p/taof/bugs/2/" rel="alternate"/><published>2007-02-15T08:40:12Z</published><updated>2007-02-15T08:40:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfd27ecf7416e172425450a3fa8745238044c6b6f</id><summary type="html">&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;</summary></entry><entry><title>Program is blocking when listening a non free TCP port </title><link href="https://sourceforge.net/p/taof/bugs/1/" rel="alternate"/><published>2007-02-07T11:26:09Z</published><updated>2007-02-07T11:26:09Z</updated><author><name>Maladrie Julien</name><uri>https://sourceforge.net/u/jmaladrie/</uri></author><id>https://sourceforge.netcb95acd3336d841a4ba3385d9a2ed28fd4bd0d0a</id><summary type="html">&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;</summary></entry></feed>