On 03/05/2012 09:45 AM, Justin Collins wrote:
On 03/05/2012 09:07 AM, Justin Collins wrote:
On 03/05/2012 06:15 AM, Marten Veldthuis wrote:
On Mon, Mar 5, 2012 at 12:44 PM, Justin Collins
<[email protected] <mailto:[email protected]>> wrote:
I'm really sorry you have run into this problem, especially when
first
trying Brakeman. I have not actually had anyone report issues with
Brakeman "hanging" at this particular point, so this is interesting.
No problems. It runs great on our other projects!
Can you pull the latest code from
https://github.com/presidentbeef/brakeman and try again? (You
can run
Brakeman directly from `bin/brakeman` if you don't want to
rebuild/install the gem). I've added more debugging output so
you can
see which template is being processed and you should get a stack
trace
when interrupting the process.
Okay, with the extended debug output I can now see that the last one
it's processing is this file:
https://gist.github.com/e8f702be18e2cb3ab0e5
The stacktrace is here: https://gist.github.com/aaa45bf99c7f2a460607
This is with --no-branching and --debug.
- Marten
Perfect. I'm looking into this now.
-Justin
In the meantime, you can use `--skip-files` to skip that template and
hopefully get at least a partial report.
No pun intended.
-Justin
Hi Marten,
I'm guessing this is also related to the other partial being rendered
from that template. In fact, it looks like it's caught in a loop of
templates.
I've pushed one more debug output to show which template is being
rendered, which should confirm this. Would you mind trying it out?
Is there any chance you have code in one of the views that looks like
render 'blah'
i.e., with no ":partial => ..." ?
-Justin