I have réinstall web2py and it is the same ! For be sure it isn't my application witch is in case I just create a new one "Test" a "clone of welcome" in witch i just put in index the line x=y/0 to be sure generate an error
when running it generate a first ticket internal error: Test/ 127.0.0.1.2009-07-05.15-15-08.4af743e2-6c93-4b50-9228-90ac223aecc5 I take it in Test/errors: 127.0.0.1.2009-07-05.15-15-08.4af743e2-6c93-4b50-9228-90ac223aecc5 witch contain: ... sS'traceback' p7 S'Traceback (most recent call last):\n File "gluon/restricted.py", line 176, in restricted\n File "C:\\web2py\\web2py\\applications\ \Test/controllers/default.py", line 55, in <module>\n File "gluon/ globals.py", line 103, in <lambda>\n File "C:\\web2py\\web2py\ \applications\\Test/controllers/default.py", line 12, in index \nNameError: global name \'y\' is not defined\n' p8 s. When clicking on the link of the ticket in mozilla a second one appear: admin/127.0.0.1.2009-07-05.15-15-11.cbc94915-f046-42c5-bba7- aebbb9dfc0a0 I take it in admin/errors: 127.0.0.1.2009-07-05.15-15-11.cbc94915-f046-42c5-bba7-aebbb9dfc0a0 witch contain: .... TRACEBACK(object):\n """ Generate the traceback """\n\n def __init__(self, text):\n """ TRACEBACK constructor """\n \n self.s = make_links(CODE(text).xml())\n\n def xml(self): \n """ Returns the xml """\n\n return self.s\n\n\ndef ticket():\n """ Ticket handler """\n\n if len(request.args) != 2:\n session.flash = T(\'invalid ticket\')\n redirect(URL (r=request, f=\'site\'))\n\n app = request.args[0]\n ticket = request.args[1]\n e = RestrictedError()\n e.load(apath(\'%s/ errors/%s\' % (app, ticket), r=request))\n\n return dict(app=app, \n ticket=ticket,\n traceback=TRACEBACK (e.traceback),\n code=e.code,\n layer=e.layer)\n\n\ndef update_languages():\n """ Update avaliable languages """\n\n app = request.args[0]\n update_all_languages (apath(app, r=request))\n session.flash = T(\'Language files (static strings) updated\')\n redirect(URL(r=request, f=\'design/\' + app))\n\ndef twitter():\n session.forget()\n session._unlock (response)\n import gluon.tools\n import gluon.contrib.simplejson as sj\n try:\n page = gluon.tools.fetch(\'http://twitter.com/web2py?format=json\')\n return sj.loads(page)[\'#timeline\']\n except:\n return T (\'Unable to download\')\n\nresponse._vars=response._caller(ticket)\n' p6 sS'traceback' p7 S'Traceback (most recent call last):\n File "gluon/restricted.py", line 176, in restricted\n File "C:\\web2py\\web2py\\applications\ \admin/controllers/default.py", line 827, in <module>\n File "gluon/ globals.py", line 103, in <lambda>\n File "C:\\web2py\\web2py\ \applications\\admin/controllers/default.py", line 799, in ticket \nTypeError: load() takes exactly 4 arguments (2 given)\n' p8 s. I hope this can help you (and me !) to explain this... Jean-Marc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

