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-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d
diff options
context:
space:
mode:
Diffstat (limited to 'errors/127.0.0.1.2010-07-06.21-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d')
-rw-r--r--errors/127.0.0.1.2010-07-06.21-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d17
1 files changed, 17 insertions, 0 deletions
diff --git a/errors/127.0.0.1.2010-07-06.21-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d b/errors/127.0.0.1.2010-07-06.21-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d
new file mode 100644
index 0000000..2aa1717
--- /dev/null
+++ b/errors/127.0.0.1.2010-07-06.21-19-57.3ae15d94-8f52-438b-87d4-67899bf9f10d
@@ -0,0 +1,17 @@
+(dp1
+S'output'
+p2
+S''
+sS'layer'
+p3
+S'/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py'
+p4
+sS'code'
+p5
+S'if request.env.web2py_runtime_gae:\n db = DAL(\'gae\')\n session.connect(request,response,db=db)\nelse: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(\'newimage\', \'upload\', requires=[IS_NOT_EMPTY(error_message="Please select a image to upload"), IS_UPLOAD_FILENAME(extension=\'png\', error_message="Must be a PNG image")]))\n\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'user_name\', length=128),\n Field(\'email\', length=128, unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\n#auth_table.user_name.requires = \\\n# IS_NOT_EMPTY(error_message=auth.messages.is_empty, IS_NOT_IN_DB(db, \'auth_table.user_name\', #error_message="User name is already taken")])\n#auth_table.password.requires = [IS_STRONG(), CRYPT()]\n#auth_table.email.requires = [\n# IS_EMAIL(error_message=auth.messages.invalid_email),\n# IS_NOT_IN_DB(db, auth_table.email)]\n#auth.settings.table_user = auth_table\n\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/models/db.py", line 15, in <module>\n auth.settings.table_user_name,\nNameError: name \'auth\' is not defined\n'
+p8
+s. \ No newline at end of file