Hello, I am getting the following error:
<type 'exceptions.ValueError'> invalid literal for int() with base 10:
'%s%id'
and the code in my controller is:
def show():
redirect(URL(c='articles',f='show?id=%s%id'))
which redirects to the following function in articles controller:
def show():
id=request.vars.id
articles=db(db.article.id==id).select()
if not len(articles): redirect(URL('articles'))
return dict(article=articles[0])
Could someone help me out?
Regards
Praveen

