diff options
Diffstat (limited to 'errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571')
-rw-r--r-- | errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571 b/errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571 new file mode 100644 index 0000000..f3a4042 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/models/db.py' +p4 +sS'code' +p5 +S'db = DAL("sqlite://storage.db")\n\ndb.define_table(\'comment\',\n Field(\'file\', \'upload\', requires=[IS_NOT_EMPTY(error_message="Please select a file to upload"), IS_UPLOAD_FILENAME(extension=\'ta\', error_message="Must be a Turtle Art file")]),\n Field(\'title\', requires=[IS_NOT_EMPTY(error_message="You must include a title"), IS_NOT_IN_DB(db, \'comment.title\', error_message="Title is already taken")]),\n Field(\'image_id\'),\n Field(\'creator\', requires=IS_NOT_EMPTY(error_message="You must include your name")),\n Field(\'description\', \'text\')\n Field(\'image\'))\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/acrowe/lib/python/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/acrowe/lib/python/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/models/db.py", line 9\n Field(\'image\'))\n ^\nSyntaxError: invalid syntax\n' +p8 +s.
\ No newline at end of file |