Andres,

Problem solved. I completely overlooked the change of name from 
'simplejson' to 'json' when it was included in the std lib since py26. 
Now the import sentence simply looks like:

"import json"

Javier

On 07/28/2011 12:15 PM, Andres Riancho wrote:
> Javier,
>
>      This seems to be showing an issue in our dependencyCheck.py . The
> user seems to be using python 2.6 (?) that doesn't have json , so he
> gets the crash, but our dependencyCheck.py allows him to run w3af
> anyway?
>
>
> ---------- Forwarded message ----------
> From: w3af<nore...@sourceforge.net>
> Date: Thu, Jul 28, 2011 at 12:11 PM
> Subject: [w3af] #166494: import simplejson as json
> To:
>
>
> #166494: import simplejson as json
> - -----------------------+----------------------------------------------------
>   Reporter:  anonymous  |       Owner:  andresriancho
>      Type:  defect     |      Status:  new
>   Priority:  major      |   Milestone:
> Component:  w3af-core  |     Version:  1.0-rc6
>   Keywords:             |
> - -----------------------+----------------------------------------------------
>   Microsoft Windows [Version 5.2.3790]
>   (C) Copyright 1985-2003 Microsoft Corp.
>
>   c:\Program Files\w3af>w3af_console.bat
>   Traceback (most recent call last):
>    File "w3af\w3af_console", line 141, in<module>
>      errCode = main()
>    File "w3af\w3af_console", line 117, in main
>      from core.ui.consoleUi.consoleUi import consoleUi
>    File "c:\Program Files\w3af\w3af\core\ui\consoleUi\consoleUi.py", line
>   32, in<module>
>      from core.ui.consoleUi.rootMenu import *
>    File "c:\Program Files\w3af\w3af\core\ui\consoleUi\rootMenu.py", line
>   23, in<module>
>      from core.ui.consoleUi.menu import *
>    File "c:\Program Files\w3af\w3af\core\ui\consoleUi\menu.py", line 26, in
>   <module>
>      from core.ui.consoleUi.util import *
>    File "c:\Program Files\w3af\w3af\core\ui\consoleUi\util.py", line 23, in
>   <module>
>      import core.controllers.w3afCore
>    File "c:\Program Files\w3af\w3af\core\controllers\w3afCore.py", line 32,
>   in<module>
>      from core.controllers.coreHelpers.fingerprint_404 import \
>    File "c:\Program
>   Files\w3af\w3af\core\controllers\coreHelpers\fingerprint_404.py", line 25,
>   in<module>
>      from core.data.fuzzer.fuzzer import createRandAlNum
>    File "c:\Program Files\w3af\w3af\core\data\fuzzer\fuzzer.py", line 40,
>   in<module>
>      import simplejson as json
>   ImportError: No module named simplejson
>
>   c:\Program Files\w3af>
>
> - --
> Ticket URL:<http://sourceforge.net/apps/trac/w3af/ticket/166494>
> w3af<http://sourceforge.net/projects/w3af/>
> w3af - Web Application Attack and Audit Framework.
>
>
>
> - -- 
> Andrés Riancho
> Director of Web Security at Rapid7 LLC
> Founder at Bonsai Information Security
> Project Leader at w3af
>
> - 
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> W3af-develop mailing list
> W3af-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/w3af-develop


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to