J S,

On Sat, May 9, 2009 at 4:04 PM, J S <logi...@gmail.com> wrote:
> Hi
>
> I stumbled upon this while playing around,
>
> Failed to get an instance of "allowedMethods". Original exception: "Failed
> to create shelve file. Original exception: (2, 'No such file or
> directory')".Traceback for this error: Traceback (most recent call last):
>   File "/home/uz/lab/w3af1/core/controllers/misc/factory.py", line 60, in
> factory
>     res = aClass(*args)
>   File "/home/uz/lab/w3af1/plugins/discovery/allowedMethods.py", line 53, in
> __init__
>     self._already_tested = disk_list()
>   File "/home/uz/lab/w3af1/core/data/db/temp_persist.py", line 121, in
> __init__
>     self._temp_shelve = temp_shelve()
>   File "/home/uz/lab/w3af1/core/data/db/temp_persist.py", line 80, in
> __init__
>     raise Exception('Failed to create shelve file. Original exception: ' +
> str(e))
> Exception: Failed to create shelve file. Original exception: (2, 'No such
> file or directory')
>
> To reproduce,
> 1) on the console, do a discovery scan that may take a little too long, e.g.
> "plugins discovery all",
> 2) hit Ctrl-C to interrupt scan,
> 3) issue "plugins list discovery".
>
> Poked around the code and it seems a call to quit in rootMenu.py:_cmd_start
> in turn calls temp_dir.py:remove_temp_dir obliterating the directory
> temp_persist.py:temp_shelve uses. For my use, I commented out the quit call
> but that's just my guess.

Thanks for the bug report. I just commited a fix to the stable branch
and to the trunk.

Cheers,

> Cheers,
> Jack
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> W3af-users mailing list
> W3af-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/w3af-users
>
>



-- 
Andrés Riancho
Founder, Bonsai - Information Security
http://www.bonsai-sec.com/
http://w3af.sf.net/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
W3af-users mailing list
W3af-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to