Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a677336
diff options
context:
space:
mode:
Diffstat (limited to 'errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a677336')
-rw-r--r--errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a67733617
1 files changed, 17 insertions, 0 deletions
diff --git a/errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a677336 b/errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a677336
new file mode 100644
index 0000000..d626576
--- /dev/null
+++ b/errors/127.0.0.1.2010-07-06.21-18-26.e5bbcb96-f7a6-4440-888b-46bd1a677336
@@ -0,0 +1,17 @@
+(dp1
+S'output'
+p2
+S''
+sS'layer'
+p3
+S'/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/controllers/default.py'
+p4
+sS'code'
+p5
+S'import os\n\ndef index():\n table = []\n comments = db().select(db.comment.ALL)\n i = 0\n row = []\n for comment in comments:\n if i == 4:\n table.append(row)\n row = []\n i = 0\n i += 1\n row.append(comment)\n table.append(row)\n import pdb\n pdb.set_trace()\n return dict(comments=table)\n\ndef upload():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'newimage\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'imagelist\')) \n return dict(form=form)\n\n\ndef image():\n comment = db(db.comment.title==request.vars["title"]).select().first()\n return dict(comment = comment)\n \n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\n\ndef user(): return dict(form=auth())\n\t\n\ndef adminpage():\n db.comment.truncate()\n redirect(\'index.html\')\n \ndef download():\n return response.download(request, db)\n\nresponse._vars=response._caller(index)\n'
+p6
+sS'traceback'
+p7
+S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/controllers/default.py", line 46, in <module>\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/globals.py", line 96, in <lambda>\n self._caller = lambda f: f()\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/controllers/default.py", line 18, in index\n return dict(comments=table)\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/controllers/default.py", line 18, in index\n return dict(comments=table)\n File "/usr/lib/python2.6/bdb.py", line 46, in trace_dispatch\n return self.dispatch_line(frame)\n File "/usr/lib/python2.6/bdb.py", line 65, in dispatch_line\n if self.quitting: raise BdbQuit\nBdbQuit\n'
+p8
+s. \ No newline at end of file