Taras, On Sun, Feb 15, 2009 at 2:42 PM, Taras P. Ivashchenko <naplan...@gmail.com> wrote: > On Sun, 2009-02-15 at 14:09 -0200, Andres Riancho wrote: >> Taras, >> >> On Sun, Feb 15, 2009 at 1:57 PM, Taras P. Ivashchenko >> <naplan...@gmail.com> wrote: >> > Andres, >> > >> > `--> ./w3af_gui >> > Traceback (most recent call last): >> > File "./w3af_gui", line 75, in <module> >> > errCode = main() >> > File "./w3af_gui", line 71, in main >> > import core.ui.gtkUi.main >> > File "/home/spec/Projects/w3af/trunk/core/ui/gtkUi/main.py", line 559 >> > "asdjn" return >> > ^ >> > SyntaxError: invalid syntax >> > >> > >> > Hmmm, what I'm doing wrong? >> > >> >> Don't you get a window pop-up with the exception? > > No... I did not get any window :(
Oh, I understand why. You are specifying an invalid syntax: you are breaking the code. You get the exception just after running w3af (where the new exception handler isn't installed yet. Your main.py file should look like: def _scan_start(self): '''Starts the actual scanning. @param widget: the widget that generated the signal. ''' if not self.saveStateToCore(): return f00000_dskn # Verify that everything is ready to run try: Maybe I made a mistake with the line number, or a new revision modified it. > -- > Тарас Иващенко (Taras Ivashchenko), OSCP > www.securityaudit.ru > ---- > "Software is like sex: it's better when it's free." - Linus Torvalds > -- Andres Riancho http://w3af.sourceforge.net/ Web Application Attack and Audit Framework ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop