Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/errors/127.0.0.1.2010-06-10.11-41-16.7f7319ff-f582-4f84-b815-dbf08ac2e571
blob: f3a40426c60ac15986c2031a9353e7389640140b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.