Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d93
diff options
context:
space:
mode:
Diffstat (limited to 'errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d93')
-rw-r--r--errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d9317
1 files changed, 17 insertions, 0 deletions
diff --git a/errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d93 b/errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d93
new file mode 100644
index 0000000..dbbbd79
--- /dev/null
+++ b/errors/127.0.0.1.2010-06-09.10-57-47.367a5bd2-636b-4bf0-a867-566eded35d93
@@ -0,0 +1,17 @@
+(dp1
+S'output'
+p2
+S''
+sS'layer'
+p3
+S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py'
+p4
+sS'code'
+p5
+S"import os\nimport applications.turtle_art_images.modules.testmodul\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n elif session.converting == False:\n newta = db().select(db.comment.ALL)\n for row in newta:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=row.file))\n session.converting = True\n if len(request.args):\n records = db(db.comment.image_id==request.args[0]).select()\n if len(request.args) and len(records):\n form = SQLFORM(db.comment, records[0], deletable=True)\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'])\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n newta = db().select(db.comment.ALL)\n return dict(form=form, newta=newta)\n else:\n redirect('testpage.html')\n\ndef jamiesprogram():\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.file))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef adminpage():\n db.comment.truncate()\n redirect('index.html')\n\ndef imagetemplate():\n return dict()\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/acrowe/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 2, in <module>\n import applications.turtle_art_images.modules.testmodul\nImportError: No module named testmodul\n'
+p8
+s. \ No newline at end of file