[SSF] Navigation(layout.html) => S3NavigationItem(layouts.py)

This is what I'm working on,
http://ssf.sahanafoundation.org/eden/project/task/144
Everything works well /if/ those _debug lines are commented, I couldn't figure out why I was getting the error.
here's the error link,
http://pastebin.com/EdDXt1u0
As the error suggests , method[0] isn't a string but I couldn't actually traceback the error again using eclipse(too many levels of traceback). Any idea why it's giving such an error ? Am I missing something ?
m=user.id is not a valid method (method must be a string or None).

It is wrong anyway, because auth.user.id is auth_user.id not pr_person.id, so you can not use it to construct a URL like /pr/person/[user.id].

But if you have a person_id, you can do it like

    MM("Edit Profile", c="pr", f="person", args=[person_id], icon="icon-edit")

I understand that you took that from the original Sunflower static HTML - but it was wrong there as well ;)