[Owasp-pantera] Fw: Re: Error When Opening an Existing Project

list at roseslabs.com list at roseslabs.com
Sat Nov 11 08:42:26 EST 2006

Hi Terrance,

Sorry my bad :)

As I said that exception is related to The Snitch/mysql codecs I will try
to fix it soon. We have found that bug when dealing with pages that
contain xml/rss or weird data that the mysql codecs cannot understand and

Even do you get this error the rest of Pantera should work fine.

I use Pantera on Windows XP, Fedora and Ubuntu.

Fow now there is not much to do about that exception until we find a


Simon Roses Femerling

> <FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size=2><DIV>Good morning!</DIV><DIV>&nbsp;</DIV><DIV>I'm sorry I wasn't
> more clear. The entire post was about an installation on Windows 2003.
> I've temporarily suspended my Linux work until I figure out which
> distribution to use. CentOS, Oracle Enterprise Linux, and RHEL all come
> with a 2.3.x version of Python installed, and I'll either need to figure
> out how to uninstall them (and all of their RPM dependencies) of find
> installation options that leaves Python
> off.</DIV><DIV>&nbsp;</DIV><DIV>So, in the meantime, I'm working on
> Windows 2003 server.</DIV><DIV>&nbsp;</DIV><DIV>Does that
> help?<BR><BR>Terrance&nbsp;A.&nbsp;Crow<BR>AVP&nbsp;Technology<BR>Corporate&nbsp;One&nbsp;Federal&nbsp;Credit&nbsp;Union<BR>ph:&nbsp;614/825-9316&nbsp;|&nbsp;fax:&nbsp;614.825.9201<BR>http://<A
> href="http://www.corpone.org"
> target=blank>www.corpone.org</A><BR></DIV><DIV><DIV><BR></DIV><FONT
> color=#990099>-----Forwarded by Terry Crow/Corporate One on 11/11/2006
> 08:31AM -----<BR><BR></FONT><blockquote style="PADDING-RIGHT: 0px;
> PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid;
> MARGIN-RIGHT: 0px">To: owasp-pantera at lists.owasp.org<BR>From:
> owasp-pantera-bounces at lists.owasp.org<BR>Date: 11/11/2006
> 08:01AM<BR>Subject: Re: [Owasp-pantera] Error When Opening an Existing
> Project<BR><BR><FONT face="Default Monospace,Courier
> New,Courier,monospace" size=2  >Hi Terrance,<BR><BR>Thats a know bug in
> mysql codecs under linux, it do not appear on windows.<BR>I will try to
> fix it.<BR><BR>The exception you get is related to The Snitch but the rest
> of Pantera<BR>should work fine.<BR><BR>About the rest of your email not
> sure what you mean.<BR><BR>If you mean that you tried to open your project
> in other computer and<BR>getting an error thats because each page you
> visited is saved in binary<BR>form in the filesystem and the analysis info
> obtained is saved into the<BR>DDBB (mysql).<BR><BR>So you need to copy the
> SessionData directory in your linux to the<BR>SessionData on windows, the
> DDBB is transparent.<BR><BR>Sincerely,<BR><BR>Simon Roses
> Femerling<BR><BR><BR>&gt; &lt;FONT face="Default Sans
> Serif,Verdana,Arial,Helvetica,sans-serif"<BR>&gt;
> size=2&gt;&lt;DIV&gt;Good
> afternoon!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm
> getting this<BR>&gt;
> error:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Exception in
> thread<BR>&gt; Thread-90:&lt;BR&gt;Traceback (most recent call
> last):&lt;BR&gt;&amp;nbsp; File<BR>&gt; "C:\Python24\lib\threading.py",
> line 442, in<BR>&gt; __bootstrap&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
> self.run()&lt;BR&gt;&amp;nbsp; File<BR>&gt;
> "C:\Pantera_Release\panteraAnalyzer.py", line 187, in<BR>&gt;
> run&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
> self._connection.Insert_Snitch(self._project_id,<BR>&gt; self._input_id,
> od)&lt;BR&gt;&amp;nbsp; File "C:\Pantera_Release\panteraDB.py",
> line<BR>&gt; 1694, in
> Insert_Snitch&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; r =<BR>&gt;
> self.iInsert("snitch_t",d)&lt;BR&gt;&amp;nbsp; File<BR>&gt;
> "C:\Pantera_Release\panteraDB.py", line 670, in<BR>&gt;
> iInsert&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor.execute
> (stmt)&lt;BR&gt;&amp;nbsp; File<BR>&gt;
> "C:\Python24\Lib\site-packages\MySQLdb\cursors.py", line 146, in<BR>&gt;
> execute&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; query =<BR>&gt;
> query.encode(charset)&lt;BR&gt;UnicodeDecodeError: 'ascii' codec can't
> decode<BR>&gt; byte 0x8e in position 230: ordina&lt;BR&gt;l not in<BR>&gt;
> range(128)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steps
> to<BR>&gt;
> reproduce:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;1.
> Started Pantera from the<BR>&gt; command prompt&lt;/DIV&gt;&lt;DIV&gt;2.
> Worked with a few pages in the website I'm<BR>&gt;
> testing&lt;/DIV&gt;&lt;DIV&gt;3. Opened &lt;A
> href="http://pantera"<BR>&gt;
> target=blank&gt;http://pantera&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;4. Opened
> File, Project<BR>&gt; Management, and clicked on Submit Query to open the
> project that's showing<BR>&gt; in the
> combobox&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It
> doesn't seem to be a<BR>&gt; serious problem, because Pantera continues to
> work. I can go to Tools, PPA<BR>&gt; Analysis Summary and see the traffic
> I just generated. However, I haven't<BR>&gt; done an exhaustive analysis
> on all the<BR>&gt;
> packets.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This time,
> I'm running on Windows 2003<BR>&gt; Standard Edition Server with all of
> the current service packs/hotfixes. I<BR>&gt; have the following packages
> installed to support<BR>&gt;
> Pantera:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;mysql-essential-5.0.27-win32.msi<BR>&gt;
> (typical/defaults)&lt;BR&gt;mysql-5.0.27-win32.zip<BR>&gt;
> (typical/defaults)&lt;BR&gt;python-2.4.4.msi (typical/defaults;
> added<BR>&gt; C:\python24 to
> PATH)&lt;BR&gt;MySQL-python.exe-1.2.1_p2.win32-py2.4.exe<BR>&gt;
> (defaults)&lt;BR&gt;Win32OpenSSL-0_9_8d.exe (launched from Explorer;
> manually<BR>&gt; added c:\openssl\bin to
> PATH)&lt;BR&gt;pyOpenSSL-0.6.win32-py2.4.exe&lt;BR&gt;Unzipped<BR>&gt;
> Pantera to C:\pantera_release&lt;BR&gt;&lt;/DIV&gt;&lt;DIV&gt;The
> file<BR>&gt; panteracfg.xml&amp;nbsp;uses defaults&amp;nbsp;except for the
> MySQL data (ID,<BR>&gt; password, and database
> name).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please let
> me<BR>&gt; know if you need anything
> else.&lt;BR&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank<BR>&gt;
> you!&lt;BR&gt;&lt;BR&gt;Terrance&amp;nbsp;A.&amp;nbsp;Crow&lt;BR&gt;AVP&amp;nbsp;Technology&lt;BR&gt;Corporate&amp;nbsp;One&amp;nbsp;Federal&amp;nbsp;Credit&amp;nbsp;Union&lt;BR&gt;ph:&amp;nbsp;614/825-9316&amp;nbsp;|&amp;nbsp;fax:&amp;nbsp;614.825.9201&lt;BR&gt;http://&lt;A<BR>&gt;
> href="http://www.corpone.org"<BR>&gt;
> target=blank&gt;www.corpone.org&lt;/A&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/FONT&gt;<BR>&gt;
> &lt;DIV&gt;&lt;FONT<BR>&gt;
> size=2&gt;--------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;<BR>&gt;
> &lt;DIV&gt;&lt;FONT
> size=2&gt;&lt;STRONG&gt;NOTICE:&lt;/STRONG&gt;&amp;nbsp; &lt;BR&gt;This
> email<BR>&gt; message is for the sole use of the intended recipient(s) and
> may contain<BR>&gt; confidential and privileged information.&amp;nbsp; Any
> unauthorized review,<BR>&gt; use,<BR>&gt; disclosure or distribution is
> prohibited.&amp;nbsp; If you are not the<BR>&gt; intended<BR>&gt;
> recipient, please contact the sender by reply email and destroy all
> copies<BR>&gt; of the original<BR>&gt;
> message.&lt;/FONT&gt;&lt;/DIV&gt;<BR>&gt; &lt;DIV&gt;&lt;FONT<BR>&gt;
> size=2&gt;--------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;<BR>&gt;
> _______________________________________________<BR>&gt; Owasp-pantera
> mailing list<BR>&gt; Owasp-pantera at lists.owasp.org<BR>&gt; <A
> href="http://lists.owasp.org/mailman/listinfo/owasp-pantera" target=blank
> >http://lists.owasp.org/mailman/listinfo/owasp-pantera</A><BR>&gt;<BR><BR><BR>_______________________________________________<BR>Owasp-pantera
> mailing list<BR>Owasp-pantera at lists.owasp.org<BR><A
> href="http://lists.owasp.org/mailman/listinfo/owasp-pantera" target=blank
> >http://lists.owasp.org/mailman/listinfo/owasp-pantera</A><BR></FONT></blockquote><br></DIV></FONT>
> size=2>--------------------------------------------------------------------------------------------------------</FONT></DIV>
> <DIV><FONT size=2><STRONG>NOTICE:</STRONG>&nbsp; <BR>This email
> message is for the sole use of the intended recipient(s) and may contain
> confidential and privileged information.&nbsp; Any unauthorized review,
> use,
> disclosure or distribution is prohibited.&nbsp; If you are not the
> intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original
> message.</FONT></DIV>
> size=2>--------------------------------------------------------------------------------------------------------</FONT></DIV>
> _______________________________________________
> Owasp-pantera mailing list
> Owasp-pantera at lists.owasp.org
> http://lists.owasp.org/mailman/listinfo/owasp-pantera

More information about the Owasp-pantera mailing list