From b817158f554f7b3342ecfe3ce24d04e91abed3c3 Mon Sep 17 00:00:00 2001 From: James Boisture Date: Tue, 20 Jul 2010 03:15:23 +0000 Subject: The initial commit of the turtleartsite --- diff --git a/ABOUT b/ABOUT new file mode 100644 index 0000000..b160b8e --- /dev/null +++ b/ABOUT @@ -0,0 +1,2 @@ +Write something about this app. +Developed with web2py. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c634946 --- /dev/null +++ b/LICENSE @@ -0,0 +1,2 @@ +This is a sample license. You can write here anything you want +as long as you do not violate web2py copyright, trademark and license. diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/__init__.py diff --git a/cache/cache.lock b/cache/cache.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/cache/cache.lock diff --git a/cache/cache.shelve b/cache/cache.shelve new file mode 100644 index 0000000..ce66aa6 --- /dev/null +++ b/cache/cache.shelve Binary files differ diff --git a/controllers/CreateImage b/controllers/CreateImage new file mode 160000 +Subproject 41ff529465f8901dda5aa7247219595b7822c66 diff --git a/controllers/appadmin.py b/controllers/appadmin.py new file mode 100644 index 0000000..e3b66e0 --- /dev/null +++ b/controllers/appadmin.py @@ -0,0 +1,408 @@ +# -*- coding: utf-8 -*- + +# ########################################################## +# ## make sure administrator is on localhost +# ########################################################### + +import os +import socket +import datetime +import copy +import gluon.contenttype +import gluon.fileutils + +# ## critical --- make a copy of the environment + +global_env = copy.copy(globals()) +global_env['datetime'] = datetime + +http_host = request.env.http_host.split(':')[0] +remote_addr = request.env.remote_addr +try: + hosts = (http_host, socket.gethostname(), + socket.gethostbyname(http_host), + '::1','127.0.0.1','::ffff:127.0.0.1') +except: + hosts = (http_host, ) + +if request.env.http_x_forwarded_for or request.env.wsgi_url_scheme\ + in ['https', 'HTTPS']: + session.secure() +elif (remote_addr not in hosts) and (remote_addr != "127.0.0.1"): + raise HTTP(200, T('appadmin is disabled because insecure channel')) +if not gluon.fileutils.check_credentials(request): + redirect(URL(a='admin', c='default', f='index')) + +ignore_rw = True +response.view = 'appadmin.html' +response.menu = [[T('design'), False, URL('admin', 'default', 'design', + args=[request.application])], [T('db'), False, + URL(r=request, f='index')], [T('state'), False, + URL(r=request, f='state')], [T('cache'), False, + URL(r=request, f='ccache')]] + +# ########################################################## +# ## auxiliary functions +# ########################################################### + + +def get_databases(request): + dbs = {} + for (key, value) in global_env.items(): + cond = False + try: + cond = isinstance(value, GQLDB) + except: + cond = isinstance(value, SQLDB) + if cond: + dbs[key] = value + return dbs + + +databases = get_databases(None) + + +def eval_in_global_env(text): + exec ('_ret=%s' % text, {}, global_env) + return global_env['_ret'] + + +def get_database(request): + if request.args and request.args[0] in databases: + return eval_in_global_env(request.args[0]) + else: + session.flash = T('invalid request') + redirect(URL(r=request, f='index')) + + +def get_table(request): + db = get_database(request) + if len(request.args) > 1 and request.args[1] in db.tables: + return (db, request.args[1]) + else: + session.flash = T('invalid request') + redirect(URL(r=request, f='index')) + + +def get_query(request): + try: + return eval_in_global_env(request.vars.query) + except Exception: + return None + + +def query_by_table_type(tablename,db,request=request): + keyed = hasattr(db[tablename],'_primarykey') + if keyed: + firstkey = db[tablename][db[tablename]._primarykey[0]] + cond = '>0' + if firstkey.type in ['string', 'text']: + cond = '!=""' + qry = '%s.%s.%s%s' % (request.args[0], request.args[1], firstkey.name, cond) + else: + qry = '%s.%s.id>0' % tuple(request.args[:2]) + return qry + + + +# ########################################################## +# ## list all databases and tables +# ########################################################### + + +def index(): + return dict(databases=databases) + + +# ########################################################## +# ## insert a new record +# ########################################################### + + +def insert(): + (db, table) = get_table(request) + form = SQLFORM(db[table], ignore_rw=ignore_rw) + if form.accepts(request.vars, session): + response.flash = T('new record inserted') + return dict(form=form,table=db[table]) + + +# ########################################################## +# ## list all records in table and insert new record +# ########################################################### + + +def download(): + import os + db = get_database(request) + return response.download(request,db) + +def csv(): + import gluon.contenttype + response.headers['Content-Type'] = \ + gluon.contenttype.contenttype('.csv') + db = get_database(request) + query = get_query(request) + if not query: + return None + response.headers['Content-disposition'] = 'attachment; filename=%s_%s.csv'\ + % tuple(request.vars.query.split('.')[:2]) + return str(db(query).select()) + + +def import_csv(table, file): + table.import_from_csv_file(file) + +def select(): + import re + db = get_database(request) + dbname = request.args[0] + regex = re.compile('(?P\w+)\.(?P\w+)=(?P\d+)') + if len(request.args)>1 and hasattr(db[request.args[1]],'_primarykey'): + regex = re.compile('(?P
\w+)\.(?P\w+)=(?P.+)') + if request.vars.query: + match = regex.match(request.vars.query) + if match: + request.vars.query = '%s.%s.%s==%s' % (request.args[0], + match.group('table'), match.group('field'), + match.group('value')) + else: + request.vars.query = session.last_query + query = get_query(request) + if request.vars.start: + start = int(request.vars.start) + else: + start = 0 + nrows = 0 + stop = start + 100 + table = None + rows = [] + orderby = request.vars.orderby + if orderby: + orderby = dbname + '.' + orderby + if orderby == session.last_orderby: + if orderby[0] == '~': + orderby = orderby[1:] + else: + orderby = '~' + orderby + session.last_orderby = orderby + session.last_query = request.vars.query + form = FORM(TABLE(TR(T('Query:'), '', INPUT(_style='width:400px', + _name='query', _value=request.vars.query or '', + requires=IS_NOT_EMPTY(error_message=T("Cannot be empty")))), TR(T('Update:'), + INPUT(_name='update_check', _type='checkbox', + value=False), INPUT(_style='width:400px', + _name='update_fields', _value=request.vars.update_fields + or '')), TR(T('Delete:'), INPUT(_name='delete_check', + _class='delete', _type='checkbox', value=False), ''), + TR('', '', INPUT(_type='submit', _value='submit'))), + _action=URL(r=request,args=request.args)) + if request.vars.csvfile != None: + try: + import_csv(db[request.vars.table], + request.vars.csvfile.file) + response.flash = T('data uploaded') + except Exception, e: + response.flash = DIV(T('unable to parse csv file'),PRE(str(e))) + if form.accepts(request.vars, formname=None): +# regex = re.compile(request.args[0] + '\.(?P
\w+)\.id\>0') + regex = re.compile(request.args[0] + '\.(?P
\w+)\..+') + + match = regex.match(form.vars.query.strip()) + if match: + table = match.group('table') + try: + nrows = db(query).count() + if form.vars.update_check and form.vars.update_fields: + db(query).update(**eval_in_global_env('dict(%s)' + % form.vars.update_fields)) + response.flash = T('%s rows updated', nrows) + elif form.vars.delete_check: + db(query).delete() + response.flash = T('%s rows deleted', nrows) + nrows = db(query).count() + if orderby: + rows = db(query).select(limitby=(start, stop), + orderby=eval_in_global_env(orderby)) + else: + rows = db(query).select(limitby=(start, stop)) + except Exception, e: + (rows, nrows) = ([], 0) + response.flash = DIV(T('Invalid Query'),PRE(str(e))) + return dict( + form=form, + table=table, + start=start, + stop=stop, + nrows=nrows, + rows=rows, + query=request.vars.query, + ) + + +# ########################################################## +# ## edit delete one record +# ########################################################### + + +def update(): + (db, table) = get_table(request) + keyed = hasattr(db[table],'_primarykey') + record = None + if keyed: + key = [f for f in request.vars if f in db[table]._primarykey] + if key: + record = db(db[table][key[0]] == request.vars[key[0]]).select().first() + else: + record = db(db[table].id == request.args(2)).select().first() + + if not record: + qry = query_by_table_type(table, db) + session.flash = T('record does not exist') + redirect(URL(r=request, f='select', args=request.args[:1], + vars=dict(query=qry))) + + if keyed: + for k in db[table]._primarykey: + db[table][k].writable=False + + form = SQLFORM(db[table], record, deletable=True, delete_label=T('Check to delete'), + ignore_rw=ignore_rw and not keyed, + linkto=URL(r=request, f='select', + args=request.args[:1]), upload=URL(r=request, + f='download', args=request.args[:1])) + + if form.accepts(request.vars, session): + session.flash = T('done!') + qry = query_by_table_type(table, db) + redirect(URL(r=request, f='select', args=request.args[:1], + vars=dict(query=qry))) + return dict(form=form,table=db[table]) + + +# ########################################################## +# ## get global variables +# ########################################################### + + +def state(): + return dict() + +def ccache(): + form = FORM( + P(TAG.BUTTON("Clear CACHE?", _type="submit", _name="yes", _value="yes")), + P(TAG.BUTTON("Clear RAM", _type="submit", _name="ram", _value="ram")), + P(TAG.BUTTON("Clear DISK", _type="submit", _name="disk", _value="disk")), + ) + + if form.accepts(request.vars, session): + clear_ram = False + clear_disk = False + session.flash = "" + if request.vars.yes: + clear_ram = clear_disk = True + if request.vars.ram: + clear_ram = True + if request.vars.disk: + clear_disk = True + + if clear_ram: + cache.ram.clear() + session.flash += "Ram Cleared " + if clear_disk: + cache.disk.clear() + session.flash += "Disk Cleared" + + redirect(URL(r=request)) + + try: + from guppy import hpy; hp=hpy() + except ImportError: + hp = False + + import shelve, os, copy, time, math + from gluon import portalocker + + ram = { + 'bytes': 0, + 'objects': 0, + 'hits': 0, + 'misses': 0, + 'ratio': 0, + 'oldest': time.time() + } + disk = copy.copy(ram) + total = copy.copy(ram) + + for key, value in cache.ram.storage.items(): + if isinstance(value, dict): + ram['hits'] = value['hit_total'] - value['misses'] + ram['misses'] = value['misses'] + try: + ram['ratio'] = ram['hits'] * 100 / value['hit_total'] + except (KeyError, ZeroDivisionError): + ram['ratio'] = 0 + else: + if hp: + ram['bytes'] += hp.iso(value[1]).size + ram['objects'] += hp.iso(value[1]).count + + if value[0] < ram['oldest']: + ram['oldest'] = value[0] + + locker = open(os.path.join(request.folder, + 'cache/cache.lock'), 'a') + portalocker.lock(locker, portalocker.LOCK_EX) + disk_storage = shelve.open( + os.path.join(request.folder, + 'cache/cache.shelve')) + + for key, value in disk_storage.items(): + if isinstance(value, dict): + disk['hits'] = value['hit_total'] - value['misses'] + disk['misses'] = value['misses'] + try: + disk['ratio'] = disk['hits'] * 100 / value['hit_total'] + except (KeyError, ZeroDivisionError): + disk['ratio'] = 0 + else: + if hp: + disk['bytes'] += hp.iso(value[1]).size + disk['objects'] += hp.iso(value[1]).count + if value[0] < disk['oldest']: + disk['oldest'] = value[0] + + portalocker.unlock(locker) + locker.close() + disk_storage.close() + + total['bytes'] = ram['bytes'] + disk['bytes'] + total['objects'] = ram['objects'] + disk['objects'] + total['hits'] = ram['hits'] + disk['hits'] + total['misses'] = ram['misses'] + disk['misses'] + try: + total['ratio'] = total['hits'] * 100 / (total['hits'] + total['misses']) + except (KeyError, ZeroDivisionError): + total['ratio'] = 0 + + if disk['oldest'] < ram['oldest']: + total['oldest'] = disk['oldest'] + else: + total['oldest'] = ram['oldest'] + + def GetInHMS(seconds): + hours = math.floor(seconds / 3600) + seconds -= hours * 3600 + minutes = math.floor(seconds / 60) + seconds -= minutes * 60 + seconds = math.floor(seconds) + + return (hours, minutes, seconds) + + ram['oldest'] = GetInHMS(time.time() - ram['oldest']) + disk['oldest'] = GetInHMS(time.time() - disk['oldest']) + total['oldest'] = GetInHMS(time.time() - total['oldest']) + + return dict(form=form, total=total, + ram=ram, disk=disk) + diff --git a/controllers/default.py b/controllers/default.py new file mode 100644 index 0000000..d9f9a6d --- /dev/null +++ b/controllers/default.py @@ -0,0 +1,120 @@ +import os + +def sort_by_views(L): + if len(L) <= 1: return L + return sort_by_views( [ lt for lt in L[1:] if lt.views < L[0].views ] ) + [ L[0] ] + sort_by_views( [ ge for ge in L[1:] if ge.views >= L[0].views ] ) + +def sort_by_id(L): + if len(L) <= 1: return L + return sort_by_id( [ lt for lt in L[1:] if lt.id < L[0].id ] ) + [ L[0] ] + sort_by_id( [ ge for ge in L[1:] if ge.id >= L[0].id ] ) + +def index(): + sorts = ["newest", "views"] + if "page" in request.vars.keys(): page = int(request.vars["page"]) - 1 + else: page = 0 + if "sort" in request.vars.keys(): sort = request.vars["sort"] + else: sort = 'newest' + if sort not in sorts: + sort = "newest" + if "profile" in request.vars.keys(): profile = request.vars["profile"] + else: profile = None + table = [] + raw_images = db().select(db.image.ALL) + i = 0 + row = [] + count = 0 + images = [] + for image in raw_images: + if profile != None: + if image.creator == profile: + images.append(image) + else: images.append(image) + if sort == 'views': + #images = sort_by_views(images) + images.reverse() + if sort == 'newest': + images.sort(cmp=lambda x,y:cmp(x.id,y.id)) + images.reverse() + for image in images: + if count >= page * 12 and page*12+12 > count: + if i == 4: + table.append(row) + row = [] + i = 0 + i += 1 + row.append(image) + count += 1 + table.append(row) + pages = count / 12 + if count%12 > 0: pages += 1 + page += 1 + return dict(images=table, pages=pages, page=page, sort=sort, profile=profile) + +def upload(): + form = SQLFORM(db.image, fields = ['title', 'file', 'newimage', 'description']) + if form.accepts(request.vars, session): + session.new_image_title = form.vars.title + db(db.image.title==session.new_image_title).update(creator = auth.user.username) + db(db.image.title==session.new_image_title).update(views = 0) + redirect(URL(r=request, f='index')) + return dict(form=form) + +"""@service.xmlrpc +def upload_remote(username,password,image,ta_file,title,description): + logged_in = auth.login_bare(username,password) + if logged_in: + db.image.insert(file=ta_file, + image=image, + title=title, + description=description, + creator=auth.user.username, + views=0)""" + + + +def image(): + images = db().select(db.image.ALL) + image_id = int(request.vars["image"]) + for image in images: + if image.id == image_id: + real_image = image + title=real_image.title + if real_image == None: + redirect(URL(r=request, f='index')) + if auth.is_logged_in(): + if auth.user.username != real_image.creator: + views = int(real_image.views) + 1 + db(db.image.title==real_image.title).update(views = views) + form = SQLFORM(db.comment, fields = ['body']) + if form.accepts(request.vars, session): + db(db.comment.id==form.vars.id).update(author = auth.user.username) + db(db.comment.id==form.vars.id).update(image_id = real_image.id) + comments=db().select(db.comment.ALL) + image_comments = [] + for comment in comments: + if comment.image_id == real_image.id: + image_comments.append(comment) + return dict(image = real_image, form= form,comments=image_comments) + + +def testimage(): + return db(db.image.title=="hellotest") + +def user(): + return dict(form=auth()) + +def delete(): + images = db().select(db.image.ALL) + image_id = int(request.vars["id"]) + for image in images: + if image.id == image_id: + real_image = image + if auth.is_logged_in(): + if auth.user.username == real_image.creator: + query=(db.image.id==real_image.id) + db(query).delete() + redirect(URL(r=request, f='index')) + + +def download(): + return response.download(request, db) diff --git a/controllers/default.py.1 b/controllers/default.py.1 new file mode 100644 index 0000000..dd10347 --- /dev/null +++ b/controllers/default.py.1 @@ -0,0 +1,36 @@ +import os + +def index(): + if len(request.args): + records = db(db.comment.image_id==request.args[0]).select() + if len(request.args) and len(records): + form = SQLFORM(db.comment, records[0], deletable=True) + else: + form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description']) + if form.accepts(request.vars, session): + response.flash = 'form accepted' + session.file = form.vars.file + redirect(URL(r=request, f='jamiesprogram')) + elif form.errors: + response.flash = 'form has errors' + return dict(form=form) + +def jamiesprogram(): + images = db().select(db.comment.ALL) + for row in images: + db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+URL(request.application,'default','download',args=row.file))) + return dict() + +def imagelist(): + comments = db().select(db.comment.ALL) + return dict(comments=comments) + +def adminpage(): + db.comment.truncate() + redirect('index.html') + +def imagetemplate(): + return dict() + +def download(): + return response.download(request, db) diff --git a/controllers/default.py.bak b/controllers/default.py.bak new file mode 100644 index 0000000..d843133 --- /dev/null +++ b/controllers/default.py.bak @@ -0,0 +1,30 @@ +import os + +def index(): + form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description']) + if form.accepts(request.vars, session): + session.new_image = form.vars.file + session.new_image_title = form.vars.title + redirect(URL(r=request, f='jamiesprogram')) + return dict(form=form) + +def jamiesprogram(): + file_name_length = len(session.new_image) + os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image) + db(db.comment.title==session.new_image_title).update(newimage ='applications/turtle_art_images/uplodates/%s.png' % session.new_image[:-3]) + redirect(URL(r=request, f='imagelist')) + return dict() + +def imagelist(): + comments = db().select(db.comment.ALL) + return dict(comments=comments) + +def adminpage(): + db.comment.truncate() + redirect('index.html') + +def imagetemplate(): + return dict() + +def download(): + return response.download(request, db) diff --git a/cron/crontab b/cron/crontab new file mode 100644 index 0000000..6ab4ea8 --- /dev/null +++ b/cron/crontab @@ -0,0 +1 @@ +#crontab \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_auth_event.table b/databases/fb87181b96a99be45f5a23f4277867ce_auth_event.table new file mode 100644 index 0000000..4e39a3a --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_auth_event.table @@ -0,0 +1,26 @@ +(dp1 +S'origin' +p2 +S'CHAR(512)' +p3 +sS'client_ip' +p4 +S'CHAR(512)' +p5 +sS'user_id' +p6 +S'REFERENCES auth_user(id) ON DELETE CASCADE' +p7 +sS'description' +p8 +S'TEXT' +p9 +sS'time_stamp' +p10 +S'TIMESTAMP' +p11 +sS'id' +p12 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p13 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_auth_group.table b/databases/fb87181b96a99be45f5a23f4277867ce_auth_group.table new file mode 100644 index 0000000..d0f448f --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_auth_group.table @@ -0,0 +1,14 @@ +(dp1 +S'role' +p2 +S'CHAR(512)' +p3 +sS'id' +p4 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p5 +sS'description' +p6 +S'TEXT' +p7 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_auth_membership.table b/databases/fb87181b96a99be45f5a23f4277867ce_auth_membership.table new file mode 100644 index 0000000..c7ebb10 --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_auth_membership.table @@ -0,0 +1,14 @@ +(dp1 +S'group_id' +p2 +S'REFERENCES auth_group(id) ON DELETE CASCADE' +p3 +sS'user_id' +p4 +S'REFERENCES auth_user(id) ON DELETE CASCADE' +p5 +sS'id' +p6 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p7 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_auth_permission.table b/databases/fb87181b96a99be45f5a23f4277867ce_auth_permission.table new file mode 100644 index 0000000..c9791b0 --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_auth_permission.table @@ -0,0 +1,22 @@ +(dp1 +S'record_id' +p2 +S'INTEGER' +p3 +sS'group_id' +p4 +S'REFERENCES auth_group(id) ON DELETE CASCADE' +p5 +sS'table_name' +p6 +S'CHAR(512)' +p7 +sS'id' +p8 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p9 +sS'name' +p10 +S'CHAR(512)' +p11 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_auth_user.table b/databases/fb87181b96a99be45f5a23f4277867ce_auth_user.table new file mode 100644 index 0000000..a01e993 --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_auth_user.table @@ -0,0 +1,22 @@ +(dp1 +S'username' +p2 +S'CHAR(128) UNIQUE' +p3 +sS'password' +p4 +S'CHAR(256)' +p5 +sS'registration_key' +p6 +S'CHAR(128)' +p7 +sS'id' +p8 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p9 +sS'email' +p10 +S'CHAR(128) UNIQUE' +p11 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_comment.table b/databases/fb87181b96a99be45f5a23f4277867ce_comment.table new file mode 100644 index 0000000..9ed83e8 --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_comment.table @@ -0,0 +1,18 @@ +(dp1 +S'body' +p2 +S'TEXT' +p3 +sS'image_id' +p4 +S'REFERENCES image(id) ON DELETE CASCADE' +p5 +sS'id' +p6 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p7 +sS'author' +p8 +S'CHAR(512)' +p9 +s. \ No newline at end of file diff --git a/databases/fb87181b96a99be45f5a23f4277867ce_image.table b/databases/fb87181b96a99be45f5a23f4277867ce_image.table new file mode 100644 index 0000000..07353ec --- /dev/null +++ b/databases/fb87181b96a99be45f5a23f4277867ce_image.table @@ -0,0 +1,34 @@ +(dp1 +S'description' +p2 +S'TEXT' +p3 +sS'creator' +p4 +S'CHAR(512)' +p5 +sS'views' +p6 +S'CHAR(512)' +p7 +sS'title' +p8 +S'CHAR(512)' +p9 +sS'image_id' +p10 +S'CHAR(512)' +p11 +sS'file' +p12 +S'CHAR(512)' +p13 +sS'newimage' +p14 +S'CHAR(512)' +p15 +sS'id' +p16 +S'INTEGER PRIMARY KEY AUTOINCREMENT' +p17 +s. \ No newline at end of file diff --git a/databases/sql.log b/databases/sql.log new file mode 100644 index 0000000..7a8e599 --- /dev/null +++ b/databases/sql.log @@ -0,0 +1,62 @@ +timestamp: 2010-07-08T16:17:34.182357 +CREATE TABLE image( + id INTEGER PRIMARY KEY AUTOINCREMENT, + file CHAR(512), + title CHAR(512), + image_id CHAR(512), + creator CHAR(512), + description TEXT, + views CHAR(512), + newimage CHAR(512) +); +success! +timestamp: 2010-07-08T16:17:34.305771 +CREATE TABLE comment( + id INTEGER PRIMARY KEY AUTOINCREMENT, + image_id REFERENCES image(id) ON DELETE CASCADE, + author CHAR(512), + body TEXT +); +success! +timestamp: 2010-07-08T16:17:34.388196 +CREATE TABLE auth_user( + id INTEGER PRIMARY KEY AUTOINCREMENT, + username CHAR(128) UNIQUE, + email CHAR(128) UNIQUE, + password CHAR(256), + registration_key CHAR(128) +); +success! +timestamp: 2010-07-08T16:17:34.496921 +CREATE TABLE auth_group( + id INTEGER PRIMARY KEY AUTOINCREMENT, + role CHAR(512), + description TEXT +); +success! +timestamp: 2010-07-08T16:17:34.600049 +CREATE TABLE auth_membership( + id INTEGER PRIMARY KEY AUTOINCREMENT, + user_id REFERENCES auth_user(id) ON DELETE CASCADE, + group_id REFERENCES auth_group(id) ON DELETE CASCADE +); +success! +timestamp: 2010-07-08T16:17:34.678659 +CREATE TABLE auth_permission( + id INTEGER PRIMARY KEY AUTOINCREMENT, + group_id REFERENCES auth_group(id) ON DELETE CASCADE, + name CHAR(512), + table_name CHAR(512), + record_id INTEGER +); +success! +timestamp: 2010-07-08T16:17:34.767754 +CREATE TABLE auth_event( + id INTEGER PRIMARY KEY AUTOINCREMENT, + time_stamp TIMESTAMP, + client_ip CHAR(512), + user_id REFERENCES auth_user(id) ON DELETE CASCADE, + origin CHAR(512), + description TEXT +); +success! diff --git a/databases/storage.db b/databases/storage.db new file mode 100644 index 0000000..c84e34a --- /dev/null +++ b/databases/storage.db Binary files differ diff --git a/errors/127.0.0.1.2010-06-08.10-29-30.a9dded01-6c75-4d19-9761-5e346879dac4 b/errors/127.0.0.1.2010-06-08.10-29-30.a9dded01-6c75-4d19-9761-5e346879dac4 new file mode 100644 index 0000000..605a19a --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.10-29-30.a9dded01-6c75-4d19-9761-5e346879dac4 @@ -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\n\ndef index():\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, linkto=URL(r=request, f='submitted')\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='submitted')\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\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 return dict(form=form)\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 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/controllers/default.py", line 8\n else:\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.10-30-57.0df069ba-69cd-4836-b262-d857b1071262 b/errors/127.0.0.1.2010-06-08.10-30-57.0df069ba-69cd-4836-b262-d857b1071262 new file mode 100644 index 0000000..59b0a83 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.10-30-57.0df069ba-69cd-4836-b262-d857b1071262 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/jamiesprogram.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n\',escape=False)\nresponse.write(form)\nresponse.write(\'\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/jamiesprogram.html", line 2, in \n {{=form}}\nNameError: name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.10-48-56.81e53335-045e-467e-a12d-293847e8a598 b/errors/127.0.0.1.2010-06-08.10-48-56.81e53335-045e-467e-a12d-293847e8a598 new file mode 100644 index 0000000..ba65087 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.10-48-56.81e53335-045e-467e-a12d-293847e8a598 @@ -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(), IS_UPLOAD_FILENAME(extension=\'ta\')),\n Field(\'title\', requires=[IS_NOT_EMPTY(), IS_NOT_IN_DB(db, \'comment.title\')]),\n Field(\'image_id\'),\n Field(\'creator\', requires=IS_NOT_EMPTY()),\n Field(\'description\', \'text\'))\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 4\n Field(\'file\', \'upload\', requires=IS_NOT_EMPTY(), IS_UPLOAD_FILENAME(extension=\'ta\')),\nSyntaxError: non-keyword arg after keyword arg\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-22-35.7f7de9ca-aa01-4bcc-b220-19645284efab b/errors/127.0.0.1.2010-06-08.11-22-35.7f7de9ca-aa01-4bcc-b220-19645284efab new file mode 100644 index 0000000..da99f8e --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-22-35.7f7de9ca-aa01-4bcc-b220-19645284efab @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + 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(jamiesprogram)\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 34, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n os.system(\'python PngGenerator \' + db.comment.file)\nTypeError: cannot concatenate \'str\' and \'Field\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-28-40.04741190-0b12-44e0-b35a-3a90d45bf99d b/errors/127.0.0.1.2010-06-08.11-28-40.04741190-0b12-44e0-b35a-3a90d45bf99d new file mode 100644 index 0000000..6d413aa --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-28-40.04741190-0b12-44e0-b35a-3a90d45bf99d @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator URL(request.application,'default','download',args=db.comment.title'))\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(jamiesprogram)\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/controllers/default.py", line 17\n os.system(\'python PngGenerator URL(request.application,\'default\',\'download\',args=db.comment.title\'))\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-29-11.c5b311da-e66b-462d-a2e0-c93d522b4d54 b/errors/127.0.0.1.2010-06-08.11-29-11.c5b311da-e66b-462d-a2e0-c93d522b4d54 new file mode 100644 index 0000000..2bdeaa2 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-29-11.c5b311da-e66b-462d-a2e0-c93d522b4d54 @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + URL(request.application,'default','download',args=db.comment.title'))\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(jamiesprogram)\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/controllers/default.py", line 17\n os.system(\'python PngGenerator \' + URL(request.application,\'default\',\'download\',args=db.comment.title\'))\n ^\nSyntaxError: EOL while scanning string literal\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-37-10.e61d028b-9f3b-4663-890c-0fd6f63402b1 b/errors/127.0.0.1.2010-06-08.11-37-10.e61d028b-9f3b-4663-890c-0fd6f63402b1 new file mode 100644 index 0000000..bec9a01 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-37-10.e61d028b-9f3b-4663-890c-0fd6f63402b1 @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + URL(request.application,'default','download',args=db.comment.title))\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 remove(applications.turtle_art_image.uploads)\n mkdir(applications.turtle_art_image.uploads)\n redirect('index.html')\n\ndef imagetemplate():\n return dict()\n \ndef download():\n return response.download(request, db)\n\nresponse._vars=response._caller(adminpage)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 26, in adminpage\n remove(applications.turtle_art_image.uploads)\nNameError: global name \'remove\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-38-54.6768324a-18a4-48f1-a02f-5c8e9f6e2ffa b/errors/127.0.0.1.2010-06-08.11-38-54.6768324a-18a4-48f1-a02f-5c8e9f6e2ffa new file mode 100644 index 0000000..41d22c6 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-38-54.6768324a-18a4-48f1-a02f-5c8e9f6e2ffa @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + URL(request.application,'default','download',args=db.comment.title))\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 os.remove(applications.turtle_art_image.uploads)\n os.mkdir(applications.turtle_art_image.uploads)\n redirect('index.html')\n\ndef imagetemplate():\n return dict()\n \ndef download():\n return response.download(request, db)\n\nresponse._vars=response._caller(adminpage)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 26, in adminpage\n os.remove(applications.turtle_art_image.uploads)\nNameError: global name \'applications\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-42-41.d4d22c6d-150e-440c-a8b7-51dcf0e3cb24 b/errors/127.0.0.1.2010-06-08.11-42-41.d4d22c6d-150e-440c-a8b7-51dcf0e3cb24 new file mode 100644 index 0000000..78a899d --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-42-41.d4d22c6d-150e-440c-a8b7-51dcf0e3cb24 @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + URL(request.application,'default','download',args=db.comment.title))\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 os.remove(../uploads)\n os.mkdir(/uploads)\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 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/controllers/default.py", line 26\n os.remove(../uploads)\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.11-42-58.4c2324a1-10fe-40e4-859c-783d9aceeaf5 b/errors/127.0.0.1.2010-06-08.11-42-58.4c2324a1-10fe-40e4-859c-783d9aceeaf5 new file mode 100644 index 0000000..104f33c --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.11-42-58.4c2324a1-10fe-40e4-859c-783d9aceeaf5 @@ -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\n\ndef index():\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, linkto=URL(r=request, f='jamiesprogram'))\n else:\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'], linkto=URL(r=request, f='jamiesprogram'))\n if form.accepts(request.vars, session):\n response.flash = 'form accepted'\n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator ' + URL(request.application,'default','download',args=db.comment.title))\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 os.remove(/../uploads)\n os.mkdir(/uploads)\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 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/controllers/default.py", line 26\n os.remove(/../uploads)\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.12-10-33.378c03b1-be2d-4d54-8e03-7edec5219851 b/errors/127.0.0.1.2010-06-08.12-10-33.378c03b1-be2d-4d54-8e03-7edec5219851 new file mode 100644 index 0000000..533d3dd --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.12-10-33.378c03b1-be2d-4d54-8e03-7edec5219851 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/index.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n
\\n\',escape=False)\nresponse.write(form)\nresponse.write(\'\\n\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/index.html", line 2, in \n
\nNameError: name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.12-18-45.0ea0d17c-5fac-4a31-944d-39b71dce7cd6 b/errors/127.0.0.1.2010-06-08.12-18-45.0ea0d17c-5fac-4a31-944d-39b71dce7cd6 new file mode 100644 index 0000000..bb6a74e --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.12-18-45.0ea0d17c-5fac-4a31-944d-39b71dce7cd6 @@ -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\n\ndef index():\n form = SQLFORM(db.comment, \n return dict()\n\ndef submit():\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 return dict(form=form)\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(submit)\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/controllers/default.py", line 5\n return dict()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.12-39-37.69eebaf7-05e8-4972-a066-978858eae420 b/errors/127.0.0.1.2010-06-08.12-39-37.69eebaf7-05e8-4972-a066-978858eae420 new file mode 100644 index 0000000..e89a07d --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.12-39-37.69eebaf7-05e8-4972-a066-978858eae420 @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator '+form.vars.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(jamiesprogram)\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 34, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n os.system(\'python PngGenerator \'+form.vars.file)\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.13-19-46.0608226e-8fe4-4648-8243-979753e1906e b/errors/127.0.0.1.2010-06-08.13-19-46.0608226e-8fe4-4648-8243-979753e1906e new file mode 100644 index 0000000..e89a07d --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.13-19-46.0608226e-8fe4-4648-8243-979753e1906e @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator '+form.vars.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(jamiesprogram)\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 34, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n os.system(\'python PngGenerator \'+form.vars.file)\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.13-21-08.684ba333-a4e9-4d32-9862-ad634800041a b/errors/127.0.0.1.2010-06-08.13-21-08.684ba333-a4e9-4d32-9862-ad634800041a new file mode 100644 index 0000000..e865b29 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.13-21-08.684ba333-a4e9-4d32-9862-ad634800041a @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n session.image_file = form.vars.file\n os.system('python PngGenerator '+session.image_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(jamiesprogram)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n session.image_file = form.vars.file\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.13-41-00.b4927283-c878-4114-931b-c76a4b8ac828 b/errors/127.0.0.1.2010-06-08.13-41-00.b4927283-c878-4114-931b-c76a4b8ac828 new file mode 100644 index 0000000..e865b29 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.13-41-00.b4927283-c878-4114-931b-c76a4b8ac828 @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n session.image_file = form.vars.file\n os.system('python PngGenerator '+session.image_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(jamiesprogram)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n session.image_file = form.vars.file\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.13-46-53.0715089b-3ec0-48dc-89c2-c2dd55033836 b/errors/127.0.0.1.2010-06-08.13-46-53.0715089b-3ec0-48dc-89c2-c2dd55033836 new file mode 100644 index 0000000..e865b29 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.13-46-53.0715089b-3ec0-48dc-89c2-c2dd55033836 @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n session.image_file = form.vars.file\n os.system('python PngGenerator '+session.image_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(jamiesprogram)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n session.image_file = form.vars.file\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-01-13.44e230ac-6a33-4cbe-9048-629acfb4407a b/errors/127.0.0.1.2010-06-08.14-01-13.44e230ac-6a33-4cbe-9048-629acfb4407a new file mode 100644 index 0000000..e865b29 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-01-13.44e230ac-6a33-4cbe-9048-629acfb4407a @@ -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\n\ndef index():\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 return dict(form=form)\n\ndef jamiesprogram():\n session.image_file = form.vars.file\n os.system('python PngGenerator '+session.image_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(jamiesprogram)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 17, in jamiesprogram\n session.image_file = form.vars.file\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-38-37.9c9a0779-9984-48c3-a397-42363f2107c6 b/errors/127.0.0.1.2010-06-08.14-38-37.9c9a0779-9984-48c3-a397-42363f2107c6 new file mode 100644 index 0000000..38a5403 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-38-37.9c9a0779-9984-48c3-a397-42363f2107c6 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator +'URL(request.application,'default','download',args=row.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 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/controllers/default.py", line 23\n os.system(\'python PngGenerator +\'URL(request.application,\'default\',\'download\',args=row.file)\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-39-04.18bd17ab-b51e-4246-9216-a0bde332a660 b/errors/127.0.0.1.2010-06-08.14-39-04.18bd17ab-b51e-4246-9216-a0bde332a660 new file mode 100644 index 0000000..e463b46 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-39-04.18bd17ab-b51e-4246-9216-a0bde332a660 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator '+URL(request.application,'default','download',args=row.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 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/controllers/default.py", line 24\n return dict()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-39-34.bf860900-564c-476e-8324-3bb546251a85 b/errors/127.0.0.1.2010-06-08.14-39-34.bf860900-564c-476e-8324-3bb546251a85 new file mode 100644 index 0000000..5f37a7e --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-39-34.bf860900-564c-476e-8324-3bb546251a85 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator '+URL(request.application,'default','download',args=row.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(jamiesprogram)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 23, in jamiesprogram\n os.system(\'python PngGenerator \'+URL(request.application,\'default\',\'download\',args=row.file))\nNameError: global name \'row\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-40-08.6c1d47a6-7ece-40ac-8d1e-4dce7531e85a b/errors/127.0.0.1.2010-06-08.14-40-08.6c1d47a6-7ece-40ac-8d1e-4dce7531e85a new file mode 100644 index 0000000..a0a0aba --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-40-08.6c1d47a6-7ece-40ac-8d1e-4dce7531e85a @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\n\ndef jamiesprogram():\n os.system('python PngGenerator '+URL(request.application,'default','download',args=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(jamiesprogram)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 23, in jamiesprogram\n os.system(\'python PngGenerator \'+URL(request.application,\'default\',\'download\',args=comment.file))\nNameError: global name \'comment\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-52-32.17d9ae99-22fc-493e-a070-d8ab68d2e1b4 b/errors/127.0.0.1.2010-06-08.14-52-32.17d9ae99-22fc-493e-a070-d8ab68d2e1b4 new file mode 100644 index 0000000..417e1c3 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-52-32.17d9ae99-22fc-493e-a070-d8ab68d2e1b4 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\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(download)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 38, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a0770985fc7c7edf.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-52-32.4829b99b-c00c-4f95-b5fb-749e352eac5d b/errors/127.0.0.1.2010-06-08.14-52-32.4829b99b-c00c-4f95-b5fb-749e352eac5d new file mode 100644 index 0000000..6f72779 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-52-32.4829b99b-c00c-4f95-b5fb-749e352eac5d @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\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(download)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 38, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a2808727c73b30b8.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-52-32.7e58f9bb-af77-4293-ac31-7360885d12c2 b/errors/127.0.0.1.2010-06-08.14-52-32.7e58f9bb-af77-4293-ac31-7360885d12c2 new file mode 100644 index 0000000..ffaa5a6 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-52-32.7e58f9bb-af77-4293-ac31-7360885d12c2 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\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(download)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 38, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.af4e1bfe942c4acc.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-52-32.fbbfe1e5-7294-434b-8780-13fc5708da62 b/errors/127.0.0.1.2010-06-08.14-52-32.fbbfe1e5-7294-434b-8780-13fc5708da62 new file mode 100644 index 0000000..500ed0d --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-52-32.fbbfe1e5-7294-434b-8780-13fc5708da62 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\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 return dict(form=form)\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(download)\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 38, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.9d827481c4bcf49c.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-09.32b1c1bc-bd65-4eb5-a177-f19d418bb393 b/errors/127.0.0.1.2010-06-08.14-54-09.32b1c1bc-bd65-4eb5-a177-f19d418bb393 new file mode 100644 index 0000000..0478526 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-09.32b1c1bc-bd65-4eb5-a177-f19d418bb393 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a2808727c73b30b8.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-09.9693a11a-6863-4021-b6c7-a461052d36d3 b/errors/127.0.0.1.2010-06-08.14-54-09.9693a11a-6863-4021-b6c7-a461052d36d3 new file mode 100644 index 0000000..3afe93f --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-09.9693a11a-6863-4021-b6c7-a461052d36d3 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.af4e1bfe942c4acc.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-09.b1346402-5514-4402-ac35-9bdc86f69f9a b/errors/127.0.0.1.2010-06-08.14-54-09.b1346402-5514-4402-ac35-9bdc86f69f9a new file mode 100644 index 0000000..b0424f8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-09.b1346402-5514-4402-ac35-9bdc86f69f9a @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a0770985fc7c7edf.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-09.fc7cfcd7-8422-4ddf-9a41-4729502c16c6 b/errors/127.0.0.1.2010-06-08.14-54-09.fc7cfcd7-8422-4ddf-9a41-4729502c16c6 new file mode 100644 index 0000000..e9099b0 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-09.fc7cfcd7-8422-4ddf-9a41-4729502c16c6 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.9d827481c4bcf49c.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-43.35e8817b-e95f-44f0-b402-0f9f4e80d716 b/errors/127.0.0.1.2010-06-08.14-54-43.35e8817b-e95f-44f0-b402-0f9f4e80d716 new file mode 100644 index 0000000..3afe93f --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-43.35e8817b-e95f-44f0-b402-0f9f4e80d716 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.af4e1bfe942c4acc.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-43.42d59d33-f2e7-4989-9fb8-2db49afc4b4d b/errors/127.0.0.1.2010-06-08.14-54-43.42d59d33-f2e7-4989-9fb8-2db49afc4b4d new file mode 100644 index 0000000..e9099b0 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-43.42d59d33-f2e7-4989-9fb8-2db49afc4b4d @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.9d827481c4bcf49c.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-43.7889853c-d2a9-4abc-a658-94b9fb62c32f b/errors/127.0.0.1.2010-06-08.14-54-43.7889853c-d2a9-4abc-a658-94b9fb62c32f new file mode 100644 index 0000000..b0424f8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-43.7889853c-d2a9-4abc-a658-94b9fb62c32f @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a0770985fc7c7edf.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-08.14-54-43.dc7a1d48-777d-4fe9-9cea-e9eb4826b322 b/errors/127.0.0.1.2010-06-08.14-54-43.dc7a1d48-777d-4fe9-9cea-e9eb4826b322 new file mode 100644 index 0000000..0478526 --- /dev/null +++ b/errors/127.0.0.1.2010-06-08.14-54-43.dc7a1d48-777d-4fe9-9cea-e9eb4826b322 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n else:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form)\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(download)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 39, in download\n return response.download(request, db)\n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 2731, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/acrowe/lib/python/web2py/applications/turtle_art_images/databases/../uploads/comment.file.a2808727c73b30b8.747572746c65617274746573742e7461.ta\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.09-39-19.f1920252-2cc7-4ee4-8bd8-bd86c024f527 b/errors/127.0.0.1.2010-06-09.09-39-19.f1920252-2cc7-4ee4-8bd8-bd86c024f527 new file mode 100644 index 0000000..96e26c1 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.09-39-19.f1920252-2cc7-4ee4-8bd8-bd86c024f527 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n elif session.converting == False:\n os.system('python PngGenerator '+URL(request.application,'default','download',args=db.comment.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 return dict(form=form, session.converting = True)\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 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/controllers/default.py", line 21\n return dict(form=form, session.converting = True)\nSyntaxError: keyword can\'t be an expression\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.09-44-11.e4847df3-f891-411e-8531-0c1cd43dc420 b/errors/127.0.0.1.2010-06-09.09-44-11.e4847df3-f891-411e-8531-0c1cd43dc420 new file mode 100644 index 0000000..c6102db --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.09-44-11.e4847df3-f891-411e-8531-0c1cd43dc420 @@ -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\n\nsession.converting = False\n\ndef index():\n if session.converting == True:\n redirect('jamiesprogram.html')\n elif session.converting == False:\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 45, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 9, in index\n for row in newta:\nUnboundLocalError: local variable \'newta\' referenced before assignment\n' +p8 +s. \ No newline at end of file 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 \n import applications.turtle_art_images.modules.testmodul\nImportError: No module named testmodul\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-00-01.e8028dc9-ce76-4952-a24f-a329e09025e2 b/errors/127.0.0.1.2010-06-09.11-00-01.e8028dc9-ce76-4952-a24f-a329e09025e2 new file mode 100644 index 0000000..b24d2f0 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-00-01.e8028dc9-ce76-4952-a24f-a329e09025e2 @@ -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.PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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 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/controllers/default.py", line 21\n else:\n ^\nIndentationError: unindent does not match any outer indentation level\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-00-27.cc34298b-82b1-42da-a5b6-9686f7352493 b/errors/127.0.0.1.2010-06-09.11-00-27.cc34298b-82b1-42da-a5b6-9686f7352493 new file mode 100644 index 0000000..0bef9c8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-00-27.cc34298b-82b1-42da-a5b6-9686f7352493 @@ -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.PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-01-59.86cc9dce-a4d0-4d3c-a6e2-d9723ef415cd b/errors/127.0.0.1.2010-06-09.11-01-59.86cc9dce-a4d0-4d3c-a6e2-d9723ef415cd new file mode 100644 index 0000000..6d5e20b --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-01-59.86cc9dce-a4d0-4d3c-a6e2-d9723ef415cd @@ -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.PngGenerator\n\nsession.converting = False\n\ndef index():\n import applications.turtle_art_images.modules.PngGenerator\n PngGenerator.TurtleMain(db.comment.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\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 8, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-06-55.3799546a-1dff-48ec-a692-463214db9a57 b/errors/127.0.0.1.2010-06-09.11-06-55.3799546a-1dff-48ec-a692-463214db9a57 new file mode 100644 index 0000000..5002877 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-06-55.3799546a-1dff-48ec-a692-463214db9a57 @@ -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 PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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\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 \n import PngGenerator\nImportError: No module named PngGenerator\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-07-31.e9849899-c980-4b99-978b-7e4f9d1789ae b/errors/127.0.0.1.2010-06-09.11-07-31.e9849899-c980-4b99-978b-7e4f9d1789ae new file mode 100644 index 0000000..5002877 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-07-31.e9849899-c980-4b99-978b-7e4f9d1789ae @@ -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 PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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\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 \n import PngGenerator\nImportError: No module named PngGenerator\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-13-47.7b3410b2-81ca-4139-a61f-bcdd854d8cc9 b/errors/127.0.0.1.2010-06-09.11-13-47.7b3410b2-81ca-4139-a61f-bcdd854d8cc9 new file mode 100644 index 0000000..0bef9c8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-13-47.7b3410b2-81ca-4139-a61f-bcdd854d8cc9 @@ -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.PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-18-17.022ce195-a519-4702-a51a-319bffbefe5d b/errors/127.0.0.1.2010-06-09.11-18-17.022ce195-a519-4702-a51a-319bffbefe5d new file mode 100644 index 0000000..0bef9c8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-18-17.022ce195-a519-4702-a51a-319bffbefe5d @@ -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.PngGenerator\n\nsession.converting = False\n\ndef index():\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-18-55.8a80bce6-882e-4316-a22a-2dbdf30350ce b/errors/127.0.0.1.2010-06-09.11-18-55.8a80bce6-882e-4316-a22a-2dbdf30350ce new file mode 100644 index 0000000..5ab42ae --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-18-55.8a80bce6-882e-4316-a22a-2dbdf30350ce @@ -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\n\nsession.converting = False\n\ndef index():\n import applications.turtle_art_images.modules.PngGenerator\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-19-58.6b69840e-d0f0-458c-b963-9b84849cffaa b/errors/127.0.0.1.2010-06-09.11-19-58.6b69840e-d0f0-458c-b963-9b84849cffaa new file mode 100644 index 0000000..5ab42ae --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-19-58.6b69840e-d0f0-458c-b963-9b84849cffaa @@ -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\n\nsession.converting = False\n\ndef index():\n import applications.turtle_art_images.modules.PngGenerator\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n PngGenerator.TurtleMain(db.comment.file)\nNameError: global name \'PngGenerator\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-20-20.7e0e0756-5441-4605-bb18-36e029e08598 b/errors/127.0.0.1.2010-06-09.11-20-20.7e0e0756-5441-4605-bb18-36e029e08598 new file mode 100644 index 0000000..18f70be --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-20-20.7e0e0756-5441-4605-bb18-36e029e08598 @@ -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\n\nsession.converting = False\n\ndef index():\n import applications.turtle_art_images.modules.PngGenerato\n PngGenerator.TurtleMain(db.comment.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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n import applications.turtle_art_images.modules.PngGenerato\nImportError: No module named PngGenerato\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-21-54.374a4d2f-c9d2-4b09-bd30-9261e01049dd b/errors/127.0.0.1.2010-06-09.11-21-54.374a4d2f-c9d2-4b09-bd30-9261e01049dd new file mode 100644 index 0000000..baa9d2f --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-21-54.374a4d2f-c9d2-4b09-bd30-9261e01049dd @@ -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\n\nsession.converting = False\n\ndef index():\n import applications.turtle_art_images.modules.testmodule\n testmodule.testfunc(25)\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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n testmodule.testfunc(25)\nNameError: global name \'testmodule\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-22-41.c435fc7a-38e0-4828-a06e-621f94db7bb0 b/errors/127.0.0.1.2010-06-09.11-22-41.c435fc7a-38e0-4828-a06e-621f94db7bb0 new file mode 100644 index 0000000..f229823 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-22-41.c435fc7a-38e0-4828-a06e-621f94db7bb0 @@ -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\n\nsession.converting = False\n\ndef index():\n from applications.turtle_art_images.modules.testmodule import testfunc\n testmodule.testfunc(25)\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\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 40, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n testmodule.testfunc(25)\nNameError: global name \'testmodule\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-29-17.b89909c8-0381-4505-a74c-7f2ea463edee b/errors/127.0.0.1.2010-06-09.11-29-17.b89909c8-0381-4505-a74c-7f2ea463edee new file mode 100644 index 0000000..82e23ff --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-29-17.b89909c8-0381-4505-a74c-7f2ea463edee @@ -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.PngGenerator\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain.__init__(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain.__init__(newta)\nNameError: global name \'TurtleMain\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-29-43.e213d434-5001-4a9e-a320-b5aca5f2150d b/errors/127.0.0.1.2010-06-09.11-29-43.e213d434-5001-4a9e-a320-b5aca5f2150d new file mode 100644 index 0000000..5834e08 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-29-43.e213d434-5001-4a9e-a320-b5aca5f2150d @@ -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.PngGenerator\n\ndef index():\n import applications.turtle_art_images.modules.PngGenerator\n newta = db().select(db.comment.file)\n TurtleMain.__init__(newta)\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 return dict(form=form)\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 38, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 7, in index\n TurtleMain.__init__(newta)\nNameError: global name \'TurtleMain\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-30-16.7016b708-8872-4d47-ac2a-001279d39eea b/errors/127.0.0.1.2010-06-09.11-30-16.7016b708-8872-4d47-ac2a-001279d39eea new file mode 100644 index 0000000..7c3f425 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-30-16.7016b708-8872-4d47-ac2a-001279d39eea @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain.__init__(newta)\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 return dict(form=form)\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 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/controllers/default.py", line 2\n from applications.turtle_art_images.modules.PngGenerator TurtleMain\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-30-35.d947a73d-b877-4b24-a659-a771d3fe3322 b/errors/127.0.0.1.2010-06-09.11-30-35.d947a73d-b877-4b24-a659-a771d3fe3322 new file mode 100644 index 0000000..52d3e6c --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-30-35.d947a73d-b877-4b24-a659-a771d3fe3322 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain.__init__(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain.__init__(newta)\nTypeError: unbound method __init__() must be called with TurtleMain instance as first argument (got Rows instance instead)\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-30-57.72a62a7d-7aee-495d-be99-2a51ddb80709 b/errors/127.0.0.1.2010-06-09.11-30-57.72a62a7d-7aee-495d-be99-2a51ddb80709 new file mode 100644 index 0000000..52d3e6c --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-30-57.72a62a7d-7aee-495d-be99-2a51ddb80709 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain.__init__(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain.__init__(newta)\nTypeError: unbound method __init__() must be called with TurtleMain instance as first argument (got Rows instance instead)\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-31-48.fbb0f6e6-2022-4bb1-82a2-4239c36482e2 b/errors/127.0.0.1.2010-06-09.11-31-48.fbb0f6e6-2022-4bb1-82a2-4239c36482e2 new file mode 100644 index 0000000..02b4719 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-31-48.fbb0f6e6-2022-4bb1-82a2-4239c36482e2 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n __init__.TurtleMain(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n __init__.TurtleMain(newta)\nNameError: global name \'__init__\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-32-13.2722bf60-e500-4ed5-9300-22246adfb092 b/errors/127.0.0.1.2010-06-09.11-32-13.2722bf60-e500-4ed5-9300-22246adfb092 new file mode 100644 index 0000000..0708bc8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-32-13.2722bf60-e500-4ed5-9300-22246adfb092 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain(newta)\nTypeError: __init__() takes exactly 1 argument (2 given)\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-41-18.fa10d0e9-b72c-47fa-bb1c-a1fe91aa54a8 b/errors/127.0.0.1.2010-06-09.11-41-18.fa10d0e9-b72c-47fa-bb1c-a1fe91aa54a8 new file mode 100644 index 0000000..0708bc8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-41-18.fa10d0e9-b72c-47fa-bb1c-a1fe91aa54a8 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain(newta)\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain(newta)\nTypeError: __init__() takes exactly 1 argument (2 given)\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-41-50.cfb87704-4b12-4100-9a25-442f7a81ade0 b/errors/127.0.0.1.2010-06-09.11-41-50.cfb87704-4b12-4100-9a25-442f7a81ade0 new file mode 100644 index 0000000..0bfa3d5 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-41-50.cfb87704-4b12-4100-9a25-442f7a81ade0 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain()\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/modules/PngGenerator.py", line 52, in __init__\n if self.file[-3:] != ".ta": raise Exception("argument is not a TurtleArt file")\nException: argument is not a TurtleArt file\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.11-44-00.64eed127-cbb0-4d03-b3fc-2810a8b851f4 b/errors/127.0.0.1.2010-06-09.11-44-00.64eed127-cbb0-4d03-b3fc-2810a8b851f4 new file mode 100644 index 0000000..0bfa3d5 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.11-44-00.64eed127-cbb0-4d03-b3fc-2810a8b851f4 @@ -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\nfrom applications.turtle_art_images.modules.PngGenerator import TurtleMain\n\ndef index():\n newta = db().select(db.comment.file)\n TurtleMain()\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 return dict(form=form)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 6, in index\n TurtleMain()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/modules/PngGenerator.py", line 52, in __init__\n if self.file[-3:] != ".ta": raise Exception("argument is not a TurtleArt file")\nException: argument is not a TurtleArt file\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.12-53-34.c57d0c83-2086-4213-bfba-1c95d1e17f9a b/errors/127.0.0.1.2010-06-09.12-53-34.c57d0c83-2086-4213-bfba-1c95d1e17f9a new file mode 100644 index 0000000..ffbaa8a --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.12-53-34.c57d0c83-2086-4213-bfba-1c95d1e17f9a @@ -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\n\ndef index():\n newta = db().select(db.comment.file)\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+newta)\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 return dict(form=form)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 5, in index\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+newta)\nTypeError: cannot concatenate \'str\' and \'Rows\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.12-57-57.523a1b10-c75b-48a9-a467-b35d03e750ad b/errors/127.0.0.1.2010-06-09.12-57-57.523a1b10-c75b-48a9-a467-b35d03e750ad new file mode 100644 index 0000000..33e9e1d --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.12-57-57.523a1b10-c75b-48a9-a467-b35d03e750ad @@ -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\n\ndef index():\n newta = db(db.comment.title == form.vars.title).select()\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+newta)\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 return dict(form=form)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 4, in index\n newta = db(db.comment.title == form.vars.title).select()\nUnboundLocalError: local variable \'form\' referenced before assignment\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-00-29.a35d0a75-b764-4ce3-84bf-6573cf631513 b/errors/127.0.0.1.2010-06-09.13-00-29.a35d0a75-b764-4ce3-84bf-6573cf631513 new file mode 100644 index 0000000..757660a --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-00-29.a35d0a75-b764-4ce3-84bf-6573cf631513 @@ -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\n\ndef index():\n newta = db().select(db.comment.ALL)\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+newta)\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 return dict(form=form)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 5, in index\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+newta)\nTypeError: cannot concatenate \'str\' and \'Rows\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-02-52.9fcd3b58-1ce4-4ecb-9cf3-39126f0d04fa b/errors/127.0.0.1.2010-06-09.13-02-52.9fcd3b58-1ce4-4ecb-9cf3-39126f0d04fa new file mode 100644 index 0000000..1ad8803 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-02-52.9fcd3b58-1ce4-4ecb-9cf3-39126f0d04fa @@ -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\n\ndef index():\n newta = URL(request.application,'default','download',args=db.comment[0].file)\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+newta)\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 return dict(form=form)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 4, in index\n newta = URL(request.application,\'default\',\'download\',args=db.comment[0].file)\nAttributeError: \'NoneType\' object has no attribute \'file\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-06-38.9e7f1704-78e8-4175-8a3f-eee7e748c22d b/errors/127.0.0.1.2010-06-09.13-06-38.9e7f1704-78e8-4175-8a3f-eee7e748c22d new file mode 100644 index 0000000..e4cd0f9 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-06-38.9e7f1704-78e8-4175-8a3f-eee7e748c22d @@ -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\n\ndef index():\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 os.system('python applications/turtle_art_images/modules/PngGenerator.py '+form.vars.file)\n return dict(form=form)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 14, in index\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+form.vars.file)\nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-13-55.c761e91b-5c7e-4245-ae98-cde4d80925ef b/errors/127.0.0.1.2010-06-09.13-13-55.c761e91b-5c7e-4245-ae98-cde4d80925ef new file mode 100644 index 0000000..dfc398f --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-13-55.c761e91b-5c7e-4245-ae98-cde4d80925ef @@ -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\n\ndef index():\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 redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+form.vars.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 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/controllers/default.py", line 19\n return dict()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-15-14.29d3a726-0567-477c-9457-7be9c2f18837 b/errors/127.0.0.1.2010-06-09.13-15-14.29d3a726-0567-477c-9457-7be9c2f18837 new file mode 100644 index 0000000..4509352 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-15-14.29d3a726-0567-477c-9457-7be9c2f18837 @@ -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\n\ndef index():\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 redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+form.vars.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(jamiesprogram)\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 35, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 18, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+form.vars.file)\nNameError: global name \'form\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-17-21.ff1cbd51-2ecf-4bc9-b72c-1d48ac500c00 b/errors/127.0.0.1.2010-06-09.13-17-21.ff1cbd51-2ecf-4bc9-b72c-1d48ac500c00 new file mode 100644 index 0000000..dab2a17 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-17-21.ff1cbd51-2ecf-4bc9-b72c-1d48ac500c00 @@ -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\n\ndef index():\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 session.file = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n os.system('python applications/turtle_art_images/modules/PngGenerator.py '+session.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(jamiesprogram)\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 36, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 19, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+session.file)\nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-09.13-26-17.140316fc-2085-4d85-b497-3b50a919a3af b/errors/127.0.0.1.2010-06-09.13-26-17.140316fc-2085-4d85-b497-3b50a919a3af new file mode 100644 index 0000000..c4406a3 --- /dev/null +++ b/errors/127.0.0.1.2010-06-09.13-26-17.140316fc-2085-4d85-b497-3b50a919a3af @@ -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\n\ndef index():\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 session.file = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n images = db().select(db.comment.ALL)\n for row in images:\n db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+URL(request.application,'default','download',args=row.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(adminpage)\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/controllers/default.py", line 22\n return dict()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-29-54.72ad7c1a-7a4b-40ca-b38d-ee7aab8b7973 b/errors/127.0.0.1.2010-06-10.09-29-54.72ad7c1a-7a4b-40ca-b38d-ee7aab8b7973 new file mode 100644 index 0000000..afc1d23 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-29-54.72ad7c1a-7a4b-40ca-b38d-ee7aab8b7973 @@ -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\n\ndef index():\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 session.image_file = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+session.image_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 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/controllers/default.py", line 20\n return dict()\n ^\nIndentationError: unindent does not match any outer indentation level\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-30-30.036bdcc1-8fda-4d61-9bc1-8dc9c16d25fd b/errors/127.0.0.1.2010-06-10.09-30-30.036bdcc1-8fda-4d61-9bc1-8dc9c16d25fd new file mode 100644 index 0000000..afc1d23 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-30-30.036bdcc1-8fda-4d61-9bc1-8dc9c16d25fd @@ -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\n\ndef index():\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 session.image_file = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+session.image_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 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/controllers/default.py", line 20\n return dict()\n ^\nIndentationError: unindent does not match any outer indentation level\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-48-22.f4f2819c-2b39-4948-a4e4-b34b79958699 b/errors/127.0.0.1.2010-06-10.09-48-22.f4f2819c-2b39-4948-a4e4-b34b79958699 new file mode 100644 index 0000000..34ff3aa --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-48-22.f4f2819c-2b39-4948-a4e4-b34b79958699 @@ -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\n\ndef index():\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 session.new_image_id = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image_id).select())\n db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+new_image))\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(jamiesprogram)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 19, in jamiesprogram\n new_image = db(db.comment.file == URL(request.application,\'default\',\'download\',args=session.new_image_id).select())\nAttributeError: \'str\' object has no attribute \'select\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-50-00.eb0ea40d-2bbb-447a-8d53-d4934e636ad8 b/errors/127.0.0.1.2010-06-10.09-50-00.eb0ea40d-2bbb-447a-8d53-d4934e636ad8 new file mode 100644 index 0000000..c59d514 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-50-00.eb0ea40d-2bbb-447a-8d53-d4934e636ad8 @@ -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\n\ndef index():\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 session.new_image_id = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image_id)).select()\n db.comment.insert(file=os.system('python applications/turtle_art_images/modules/PngGenerator.py '+new_image))\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(jamiesprogram)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 20, in jamiesprogram\n db.comment.insert(file=os.system(\'python applications/turtle_art_images/modules/PngGenerator.py \'+new_image))\nTypeError: cannot concatenate \'str\' and \'Rows\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-53-31.41777e62-1e09-4638-b057-cadf6e483522 b/errors/127.0.0.1.2010-06-10.09-53-31.41777e62-1e09-4638-b057-cadf6e483522 new file mode 100644 index 0000000..d28d174 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-53-31.41777e62-1e09-4638-b057-cadf6e483522 @@ -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\n\ndef index():\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 session.new_image_id = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image_id)).select()\n os.system('python applications/turtle_art_images/modules/PngGenerator '+new_image)\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(jamiesprogram)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 20, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator \'+new_image)\nTypeError: cannot concatenate \'str\' and \'Rows\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.09-58-11.37b68ce0-60cf-46cd-996f-8ad0af327f8a b/errors/127.0.0.1.2010-06-10.09-58-11.37b68ce0-60cf-46cd-996f-8ad0af327f8a new file mode 100644 index 0000000..7f3d9d6 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.09-58-11.37b68ce0-60cf-46cd-996f-8ad0af327f8a @@ -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.PngGenerator\n\ndef index():\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 redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image_id)).select()\n os.system('python applications/turtle_art_images/modules/PngGenerator '+new_image)\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(jamiesprogram)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 20, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator \'+new_image)\nTypeError: cannot concatenate \'str\' and \'Rows\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.11-24-17.884f9072-4e27-493a-b688-6a164cf84e16 b/errors/127.0.0.1.2010-06-10.11-24-17.884f9072-4e27-493a-b688-6a164cf84e16 new file mode 100644 index 0000000..2dd58e0 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.11-24-17.884f9072-4e27-493a-b688-6a164cf84e16 @@ -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\n\ndef index():\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 session.new_image = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image)).select()\n os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image')\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 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/controllers/default.py", line 20\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+session.new_image\')\n ^\nSyntaxError: EOL while scanning string literal\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-10.11-40-09.d2bfa366-2548-41e3-aff7-8a76b66e68ac b/errors/127.0.0.1.2010-06-10.11-40-09.d2bfa366-2548-41e3-aff7-8a76b66e68ac new file mode 100644 index 0000000..e5c6dd6 --- /dev/null +++ b/errors/127.0.0.1.2010-06-10.11-40-09.d2bfa366-2548-41e3-aff7-8a76b66e68ac @@ -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\n\ndef index():\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 session.new_image = form.vars.file\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.file == URL(request.application,'default','download',args=session.new_image)).select()\n db.comment.insert(image=os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image))\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(jamiesprogram)\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 37, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 20, in jamiesprogram\n db.comment.insert(image=os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+session.new_image))\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 1929, in insert\n query = self._insert(**fields)\n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 1897, in _insert\n % repr(invalid_fieldnames)\nSyntaxError: invalid field names: [\'image\']\n' +p8 +s. \ No newline at end of file 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 diff --git a/errors/127.0.0.1.2010-06-11.09-29-18.0e1af70f-b279-4891-8c56-e7c1cd44a3c4 b/errors/127.0.0.1.2010-06-11.09-29-18.0e1af70f-b279-4891-8c56-e7c1cd44a3c4 new file mode 100644 index 0000000..1fd7b2a --- /dev/null +++ b/errors/127.0.0.1.2010-06-11.09-29-18.0e1af70f-b279-4891-8c56-e7c1cd44a3c4 @@ -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\n\ndef index():\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 session.new_image = form.vars.file\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n file_name_length = len(session.new_image)\n print session.new_image\n print file_name_length\n os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image)\n db().insert(newimage=os.system('applications/turtle_art_images/uploads/'+session.new_image[0:(file_name_length-2)]+'png'))\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(jamiesprogram)\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 41, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 24, in jamiesprogram\n db().insert(newimage=os.system(\'applications/turtle_art_images/uploads/\'+session.new_image[0:(file_name_length-2)]+\'png\'))\nAttributeError: \'Set\' object has no attribute \'insert\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-11.09-30-18.6e3d7c62-d84c-4e2c-a741-fa0f76868404 b/errors/127.0.0.1.2010-06-11.09-30-18.6e3d7c62-d84c-4e2c-a741-fa0f76868404 new file mode 100644 index 0000000..acbf867 --- /dev/null +++ b/errors/127.0.0.1.2010-06-11.09-30-18.6e3d7c62-d84c-4e2c-a741-fa0f76868404 @@ -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\n\ndef index():\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 session.new_image = form.vars.file\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f='jamiesprogram')) \n elif form.errors:\n response.flash = 'form has errors'\n return dict(form=form)\n\ndef jamiesprogram():\n file_name_length = len(session.new_image)\n print session.new_image\n print file_name_length\n os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image)\ndb.comment.insert(newimage=os.system('applications/turtle_art_images/uploads/'+session.new_image[0:(file_name_length-2)]+'png'))\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 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/controllers/default.py", line 25\n return dict()\n ^\nIndentationError: unexpected indent\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.10-59-23.4caf31af-e05f-4a66-b90c-8fac85ea2797 b/errors/127.0.0.1.2010-06-15.10-59-23.4caf31af-e05f-4a66-b90c-8fac85ea2797 new file mode 100644 index 0000000..1377453 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.10-59-23.4caf31af-e05f-4a66-b90c-8fac85ea2797 @@ -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\n\ndef index():\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'])\n if form.accepts(request.vars, session):\n session.new_image = form.vars.file\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f='jamiesprogram')) \n return dict(form=form)\n\ndef jamiesprogram():\n file_name_length = len(session.new_image)\n os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image)\n db(db.comment.title==session.new_image_title).update(newimage ='applications/turtle_art_images/uplodates/%s.png' % session.new_image[:-3])\n redirect(URL(r=request, f='imagelist'))\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 session.viewed_image_title = row.title\n return dict()\n \ndef download():\n return response.download(request, db)\n\nresponse._vars=response._caller(imagetemplate)\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 33, in \n File "/home/acrowe/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/acrowe/lib/python/web2py/applications/turtle_art_images/controllers/default.py", line 27, in imagetemplate\n session.viewed_image_title = row.title\nNameError: global name \'row\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.11-15-28.930b7138-35c1-45fb-b314-efe69037d65a b/errors/127.0.0.1.2010-06-15.11-15-28.930b7138-35c1-45fb-b314-efe69037d65a new file mode 100644 index 0000000..337e720 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.11-15-28.930b7138-35c1-45fb-b314-efe69037d65a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/imagetemplate.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\nviewed_image = db(db.comment.title == request.vars.viewed_image_title).select()\\n
\\n\\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/imagetemplate.html", line 2, in \n viewed_image = db(db.comment.title == request.vars.viewed_image_title).select()\nNameError: name \'viewed_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.11-15-40.b3af0fde-4ac3-42f0-9461-726a4d721859 b/errors/127.0.0.1.2010-06-15.11-15-40.b3af0fde-4ac3-42f0-9461-726a4d721859 new file mode 100644 index 0000000..337e720 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.11-15-40.b3af0fde-4ac3-42f0-9461-726a4d721859 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/imagetemplate.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\nviewed_image = db(db.comment.title == request.vars.viewed_image_title).select()\\n
\\n\\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/imagetemplate.html", line 2, in \n viewed_image = db(db.comment.title == request.vars.viewed_image_title).select()\nNameError: name \'viewed_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.11-20-54.9058efe3-8e6d-42a0-ba03-e76397a55cb3 b/errors/127.0.0.1.2010-06-15.11-20-54.9058efe3-8e6d-42a0-ba03-e76397a55cb3 new file mode 100644 index 0000000..115ced4 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.11-20-54.9058efe3-8e6d-42a0-ba03-e76397a55cb3 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/imagetemplate.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\nviewed_image = db(db.comment.title == session.viewed_image_title).select()\\n
\\n\\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/imagetemplate.html", line 2, in \n viewed_image = db(db.comment.title == session.viewed_image_title).select()\nNameError: name \'viewed_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.11-21-03.8189fe78-9ac1-4f8c-95a6-800da6ee74ef b/errors/127.0.0.1.2010-06-15.11-21-03.8189fe78-9ac1-4f8c-95a6-800da6ee74ef new file mode 100644 index 0000000..115ced4 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.11-21-03.8189fe78-9ac1-4f8c-95a6-800da6ee74ef @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/imagetemplate.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\nviewed_image = db(db.comment.title == session.viewed_image_title).select()\\n
\\n\\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +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/views/default/imagetemplate.html", line 2, in \n viewed_image = db(db.comment.title == session.viewed_image_title).select()\nNameError: name \'viewed_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.11-26-40.8825298a-5418-4c02-92eb-b69d915d4109 b/errors/127.0.0.1.2010-06-15.11-26-40.8825298a-5418-4c02-92eb-b69d915d4109 new file mode 100644 index 0000000..82091d2 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.11-26-40.8825298a-5418-4c02-92eb-b69d915d4109 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/acrowe/lib/python/web2py/applications/turtle_art_images/views/default/imagelist.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

Submissions

\\n
\\n \\n \\n \\n \\n \\n \\n \\n \',escape=False)\nfor row in comments:\n response.write(\'\\n \\n \\n \\n \\n \\n \',escape=False)\n pass\nresponse.write(\'\\n
TitleAuthorDescriptionImage
\',escape=False)\n response.write(row.title)\n response.write(\'\',escape=False)\n response.write(row.creator)\n response.write(\'\',escape=False)\n response.write(row.description)\n response.write(\'
\\n\\n \\n \\n \\n\\n\',escape=False)' +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/views/default/imagelist.html", line 10, in \n \n File "/home/acrowe/lib/python/web2py/gluon/sql.py", line 665, in __getattr__\n return dict.__getitem__(self,key)\nKeyError: \'image\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-18-22.e49f5f67-6ef5-40cc-b7a7-b75fc9238d93 b/errors/127.0.0.1.2010-06-15.16-18-22.e49f5f67-6ef5-40cc-b7a7-b75fc9238d93 new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-18-22.e49f5f67-6ef5-40cc-b7a7-b75fc9238d93 @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-20-33.7ee6e03c-40af-4774-93cb-ffe50e8b9cff b/errors/127.0.0.1.2010-06-15.16-20-33.7ee6e03c-40af-4774-93cb-ffe50e8b9cff new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-20-33.7ee6e03c-40af-4774-93cb-ffe50e8b9cff @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-25-34.c0fde657-1530-4eb9-8c9f-f6912813f68c b/errors/127.0.0.1.2010-06-15.16-25-34.c0fde657-1530-4eb9-8c9f-f6912813f68c new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-25-34.c0fde657-1530-4eb9-8c9f-f6912813f68c @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-25-54.669ae8c0-5c6b-4aa6-851b-9fea24a11495 b/errors/127.0.0.1.2010-06-15.16-25-54.669ae8c0-5c6b-4aa6-851b-9fea24a11495 new file mode 100644 index 0000000..7f3d572 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-25-54.669ae8c0-5c6b-4aa6-851b-9fea24a11495 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S"import os\n\ndef index():\n form = SQLFORM(db.comment, fields = ['title', 'file', 'creator', 'description'])\n if form.accepts(request.vars, session):\n session.new_image = form.vars.file\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f='jamiesprogram')) \n return dict(form=form)\n\ndef jamiesprogram():\n file_name_length = len(session.new_image)\n os.system('python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/'+session.new_image)\n db(db.comment.title==session.new_image_title).update(newimage ='applications/turtle_art_images/uplodates/%s.png' % session.new_image[:-3])\n redirect(URL(r=request, f='imagelist'))\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 download():\n return response.download(request, db)\n\nresponse._vars=response._caller(jamiesprogram)\n" +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 29, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 12, in jamiesprogram\n file_name_length = len(session.new_image)\nTypeError: object of type \'NoneType\' has no len()\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-29-02.41d5041c-372e-425b-bbb4-db8c6f8c5e46 b/errors/127.0.0.1.2010-06-15.16-29-02.41d5041c-372e-425b-bbb4-db8c6f8c5e46 new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-29-02.41d5041c-372e-425b-bbb4-db8c6f8c5e46 @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-36-48.c043ff98-5f0f-4e35-a438-ea190f28f05c b/errors/127.0.0.1.2010-06-15.16-36-48.c043ff98-5f0f-4e35-a438-ea190f28f05c new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-36-48.c043ff98-5f0f-4e35-a438-ea190f28f05c @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-46-49.0a02205d-e5f0-417b-9fd0-d026372da726 b/errors/127.0.0.1.2010-06-15.16-46-49.0a02205d-e5f0-417b-9fd0-d026372da726 new file mode 100644 index 0000000..ffca768 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-46-49.0a02205d-e5f0-417b-9fd0-d026372da726 @@ -0,0 +1,16 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'Framework' +p4 +sS'code' +p5 +S'' +sS'traceback' +p6 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/main.py", line 407, in wsgibase\n session._try_store_on_disk(request, response)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 375, in _try_store_on_disk\n cPickle.dump(dict(self), response.session_file)\n File "/usr/lib/python2.6/copy_reg.py", line 70, in _reduce_ex\n raise TypeError, "can\'t pickle %s objects" % base.__name__\nTypeError: can\'t pickle file objects\n' +p7 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-51-02.0a2ed667-56f1-4353-8017-d36df68710fd b/errors/127.0.0.1.2010-06-15.16-51-02.0a2ed667-56f1-4353-8017-d36df68710fd new file mode 100644 index 0000000..6b36471 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-51-02.0a2ed667-56f1-4353-8017-d36df68710fd @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.title==session.new_image_title).file\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\tdb(db.comment.title=="hellotest").update(description = "hello")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 31, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 11, in jamiesprogram\n new_image = db(db.comment.title==session.new_image_title).file\nAttributeError: \'Set\' object has no attribute \'file\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-55-27.f037969c-cc51-4247-8648-459c3c9808c7 b/errors/127.0.0.1.2010-06-15.16-55-27.f037969c-cc51-4247-8648-459c3c9808c7 new file mode 100644 index 0000000..e369a05 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-55-27.f037969c-cc51-4247-8648-459c3c9808c7 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n new_image = db(db.comment.title==session.new_image_title)[\'file\']\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 11, in jamiesprogram\n new_image = db(db.comment.title==session.new_image_title)[\'file\']\nTypeError: \'Set\' object is unsubscriptable\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.16-58-10.5b283ebe-409e-4254-b0d9-ab3dc70d674a b/errors/127.0.0.1.2010-06-15.16-58-10.5b283ebe-409e-4254-b0d9-ab3dc70d674a new file mode 100644 index 0000000..eaef4a6 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.16-58-10.5b283ebe-409e-4254-b0d9-ab3dc70d674a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n print db(db.comment.title==session.new_image_title)\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 12, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-00-10.563018f1-cd5c-4f7d-b969-19d65d005b1c b/errors/127.0.0.1.2010-06-15.17-00-10.563018f1-cd5c-4f7d-b969-19d65d005b1c new file mode 100644 index 0000000..48c8431 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-00-10.563018f1-cd5c-4f7d-b969-19d65d005b1c @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n print db(db.comment.title==session.new_image_title).select()\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 12, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-00-42.533264a6-2dc7-4477-a4e8-7c295ace2b1a b/errors/127.0.0.1.2010-06-15.17-00-42.533264a6-2dc7-4477-a4e8-7c295ace2b1a new file mode 100644 index 0000000..2184cdd --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-00-42.533264a6-2dc7-4477-a4e8-7c295ace2b1a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n print db(db.comment.title==session.new_image_title).select().file\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 11, in jamiesprogram\n print db(db.comment.title==session.new_image_title).select().file\nAttributeError: \'Rows\' object has no attribute \'file\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-02-01.63632b71-54a7-42a6-b090-4e205e161f42 b/errors/127.0.0.1.2010-06-15.17-02-01.63632b71-54a7-42a6-b090-4e205e161f42 new file mode 100644 index 0000000..f5b0b38 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-02-01.63632b71-54a7-42a6-b090-4e205e161f42 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select()\n print newfile\n print type(newfile)\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-05-53.fe4b74d7-5662-4023-95ce-586e9bc33332 b/errors/127.0.0.1.2010-06-15.17-05-53.fe4b74d7-5662-4023-95ce-586e9bc33332 new file mode 100644 index 0000000..3e354bd --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-05-53.fe4b74d7-5662-4023-95ce-586e9bc33332 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select()\n print newfile\n print help(type(newfile))\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-06-56.22f1fc56-0621-4aa2-9621-00ff0553894a b/errors/127.0.0.1.2010-06-15.17-06-56.22f1fc56-0621-4aa2-9621-00ff0553894a new file mode 100644 index 0000000..e64615d --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-06-56.22f1fc56-0621-4aa2-9621-00ff0553894a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print newfile\n print help(type(newfile))\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-07-23.f83e43d1-73ed-4c9c-8ee6-69413af33d03 b/errors/127.0.0.1.2010-06-15.17-07-23.f83e43d1-73ed-4c9c-8ee6-69413af33d03 new file mode 100644 index 0000000..6e43484 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-07-23.f83e43d1-73ed-4c9c-8ee6-69413af33d03 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()[file]\n print newfile\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 33, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 11, in jamiesprogram\n newfile = db(db.comment.title==session.new_image_title).select().first()[file]\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 659, in __getitem__\n return dict.__getitem__(self, key)\nKeyError: ""\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-09-41.b387bb25-9164-412e-bd91-1ef65135ee96 b/errors/127.0.0.1.2010-06-15.17-09-41.b387bb25-9164-412e-bd91-1ef65135ee96 new file mode 100644 index 0000000..e64615d --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-09-41.b387bb25-9164-412e-bd91-1ef65135ee96 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print newfile\n print help(type(newfile))\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-10-16.50d4ec68-0005-4eea-8d8c-7b3f0634845b b/errors/127.0.0.1.2010-06-15.17-10-16.50d4ec68-0005-4eea-8d8c-7b3f0634845b new file mode 100644 index 0000000..c0abc46 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-10-16.50d4ec68-0005-4eea-8d8c-7b3f0634845b @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n newfile = newfile.file\n print newfile\n print help(type(newfile))\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 35, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 15, in jamiesprogram\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\nNameError: global name \'new_image\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-10-58.d2b352f6-4294-4583-ba1e-5c2ff8d81a2f b/errors/127.0.0.1.2010-06-15.17-10-58.d2b352f6-4294-4583-ba1e-5c2ff8d81a2f new file mode 100644 index 0000000..42c60fa --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-10-58.d2b352f6-4294-4583-ba1e-5c2ff8d81a2f @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtle_art_images/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtle_art_images/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(download)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in download\n return response.download(request, db)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 2725, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/dreich/lib/python/web2py/applications/turtlesite/databases/../uploads/comment.file.9457e6586f80fc90.7371756172652e7461.png\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-11-47.c6ceaa6b-23e0-4b5d-80f5-d0ed29f23ba2 b/errors/127.0.0.1.2010-06-15.17-11-47.c6ceaa6b-23e0-4b5d-80f5-d0ed29f23ba2 new file mode 100644 index 0000000..b71c3ff --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-11-47.c6ceaa6b-23e0-4b5d-80f5-d0ed29f23ba2 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(download)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in download\n return response.download(request, db)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 2725, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/dreich/lib/python/web2py/applications/turtlesite/databases/../uploads/comment.file.a5a0c1815110a050.6f63742e7461.png\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-11-47.d5c501a0-e7a6-4aa2-9cc2-3a10fb7c9b58 b/errors/127.0.0.1.2010-06-15.17-11-47.d5c501a0-e7a6-4aa2-9cc2-3a10fb7c9b58 new file mode 100644 index 0000000..649bd46 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-11-47.d5c501a0-e7a6-4aa2-9cc2-3a10fb7c9b58 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtle_art_images/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(download)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in download\n return response.download(request, db)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 2725, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/dreich/lib/python/web2py/applications/turtlesite/databases/../uploads/comment.file.9457e6586f80fc90.7371756172652e7461.png\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-12-56.b3dc871a-875b-4a69-9ee4-a4d752496808 b/errors/127.0.0.1.2010-06-15.17-12-56.b3dc871a-875b-4a69-9ee4-a4d752496808 new file mode 100644 index 0000000..0cd161e --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-12-56.b3dc871a-875b-4a69-9ee4-a4d752496808 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(download)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in download\n return response.download(request, db)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 2725, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/dreich/lib/python/web2py/applications/turtlesite/databases/../uploads/comment.file.a5a0c1815110a050.6f63742e7461.png\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-15.17-12-56.c76b13a1-604e-413d-bd54-d36456556888 b/errors/127.0.0.1.2010-06-15.17-12-56.c76b13a1-604e-413d-bd54-d36456556888 new file mode 100644 index 0000000..30232f8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-15.17-12-56.c76b13a1-604e-413d-bd54-d36456556888 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(download)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/dreich/lib/python/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 34, in \n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/dreich/lib/python/web2py/applications/turtlesite/controllers/default.py", line 32, in download\n return response.download(request, db)\n File "/home/dreich/lib/python/web2py/gluon/globals.py", line 195, in download\n (filename, stream) = field.retrieve(name)\n File "/home/dreich/lib/python/web2py/gluon/sql.py", line 2725, in retrieve\n return (filename, open(os.path.join(path, name), \'rb\'))\nIOError: [Errno 2] No such file or directory: \'/home/dreich/lib/python/web2py/applications/turtlesite/databases/../uploads/comment.file.9457e6586f80fc90.7371756172652e7461.png\'\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-22.17-58-24.43169241-d580-433a-9534-40fd95c8ba0e b/errors/127.0.0.1.2010-06-22.17-58-24.43169241-d580-433a-9534-40fd95c8ba0e new file mode 100644 index 0000000..30cafe8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-22.17-58-24.43169241-d580-433a-9534-40fd95c8ba0e @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n import pdb\n pdb.set_trace()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 36, in \n File "/home/jboisture/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n new_image = newfile.file\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n new_image = newfile.file\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 diff --git a/errors/127.0.0.1.2010-06-26.14-18-00.942dfcc0-58c1-4580-891e-a5831f65587a b/errors/127.0.0.1.2010-06-26.14-18-00.942dfcc0-58c1-4580-891e-a5831f65587a new file mode 100644 index 0000000..30cafe8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-18-00.942dfcc0-58c1-4580-891e-a5831f65587a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n import pdb\n pdb.set_trace()\n new_image = newfile.file\n print newfile\n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 36, in \n File "/home/jboisture/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n new_image = newfile.file\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 14, in jamiesprogram\n new_image = newfile.file\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 diff --git a/errors/127.0.0.1.2010-06-26.14-29-02.e3e135f4-5f67-4e62-a3a4-f5eeb38c06cb b/errors/127.0.0.1.2010-06-26.14-29-02.e3e135f4-5f67-4e62-a3a4-f5eeb38c06cb new file mode 100644 index 0000000..68b76e8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-29-02.e3e135f4-5f67-4e62-a3a4-f5eeb38c06cb @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print db(db.comment.title=="test").select()[0][\'file\']\n print newfile.title\n import pdb\n pdb.set)trace()\n new_image = newfile.file\n print newfile\n \n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 15\n pdb.set)trace()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-26.14-29-08.01743076-f940-47a9-a1e9-e6e3d6122668 b/errors/127.0.0.1.2010-06-26.14-29-08.01743076-f940-47a9-a1e9-e6e3d6122668 new file mode 100644 index 0000000..68b76e8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-29-08.01743076-f940-47a9-a1e9-e6e3d6122668 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print db(db.comment.title=="test").select()[0][\'file\']\n print newfile.title\n import pdb\n pdb.set)trace()\n new_image = newfile.file\n print newfile\n \n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 15\n pdb.set)trace()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-26.14-29-11.c5ef7ec4-58fa-4c31-bd75-6e9807bad314 b/errors/127.0.0.1.2010-06-26.14-29-11.c5ef7ec4-58fa-4c31-bd75-6e9807bad314 new file mode 100644 index 0000000..68b76e8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-29-11.c5ef7ec4-58fa-4c31-bd75-6e9807bad314 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print db(db.comment.title=="test").select()[0][\'file\']\n print newfile.title\n import pdb\n pdb.set)trace()\n new_image = newfile.file\n print newfile\n \n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 15\n pdb.set)trace()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-26.14-29-21.2f1d3ccf-be29-4fde-9927-fe72dea2c404 b/errors/127.0.0.1.2010-06-26.14-29-21.2f1d3ccf-be29-4fde-9927-fe72dea2c404 new file mode 100644 index 0000000..68b76e8 --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-29-21.2f1d3ccf-be29-4fde-9927-fe72dea2c404 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print db(db.comment.title=="test").select()[0][\'file\']\n print newfile.title\n import pdb\n pdb.set)trace()\n new_image = newfile.file\n print newfile\n \n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 15\n pdb.set)trace()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-06-26.14-31-17.97b6af6d-b028-4416-84c3-1c5cf2e77d55 b/errors/127.0.0.1.2010-06-26.14-31-17.97b6af6d-b028-4416-84c3-1c5cf2e77d55 new file mode 100644 index 0000000..8846c4a --- /dev/null +++ b/errors/127.0.0.1.2010-06-26.14-31-17.97b6af6d-b028-4416-84c3-1c5cf2e77d55 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/web2py/applications/turtlesite/controllers/default.py' +p4 +sS'code' +p5 +S'import os\n\ndef index():\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'creator\', \'description\'])\n if form.accepts(request.vars, session):\n session.new_image_title = form.vars.title\n redirect(URL(r=request, f=\'jamiesprogram\')) \n return dict(form=form)\n\ndef jamiesprogram():\n newfile = db(db.comment.title==session.new_image_title).select().first()\n print db(db.comment.title=="test").select()[0][\'file\']\n print newfile.title\n import pdb\n pdb.set_trace()\n new_image = newfile.file\n print newfile\n \n os.system(\'python applications/turtlesite/modules/PngGenerator.py applications/turtlesite/uploads/\'+new_image)\n db(db.comment.title==session.new_image_title).update(newimage =\'applications/turtlesite/uplodates/%s.png\' % new_image[:-3])\n redirect(URL(r=request, f=\'imagelist\'))\n return dict()\n \ndef imagelist():\n comments = db().select(db.comment.ALL)\n return dict(comments=comments)\n \ndef testimage():\n\treturn db(db.comment.title=="hellotest")\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(jamiesprogram)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 39, in \n File "/home/jboisture/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 16, in jamiesprogram\n new_image = newfile.file\n File "/home/jboisture/web2py/applications/turtlesite/controllers/default.py", line 16, in jamiesprogram\n new_image = newfile.file\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 diff --git a/errors/127.0.0.1.2010-07-06.11-14-07.d7c8aece-7bc3-4049-937b-30fb481f421d b/errors/127.0.0.1.2010-07-06.11-14-07.d7c8aece-7bc3-4049-937b-30fb481f421d new file mode 100644 index 0000000..03e39bc --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.11-14-07.d7c8aece-7bc3-4049-937b-30fb481f421d @@ -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'from gluon.contrib.gq import GQLDB\ndb=GQLDB()\nsession.connect(request,response,db=db)\n\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\'))\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 1, in \n from gluon.contrib.gq import GQLDB\nImportError: No module named gq\n' +p8 +s. \ No newline at end of file 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 \n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/globals.py", line 96, in \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 diff --git a/errors/127.0.0.1.2010-07-06.21-18-53.0f21c2ca-659d-4f8c-9f39-bda12e55bad0 b/errors/127.0.0.1.2010-07-06.21-18-53.0f21c2ca-659d-4f8c-9f39-bda12e55bad0 new file mode 100644 index 0000000..11a8c5c --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-18-53.0f21c2ca-659d-4f8c-9f39-bda12e55bad0 @@ -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\nauth_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")])\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n# before\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 25\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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-19-07.10b0d3ea-d4d6-4b6e-a119-db5d42150eaa b/errors/127.0.0.1.2010-07-06.21-19-07.10b0d3ea-d4d6-4b6e-a119-db5d42150eaa new file mode 100644 index 0000000..11a8c5c --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-19-07.10b0d3ea-d4d6-4b6e-a119-db5d42150eaa @@ -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\nauth_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")])\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n# before\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 25\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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-19-33.2df43f1a-91b2-493d-9ce8-f06efc4fe629 b/errors/127.0.0.1.2010-07-06.21-19-33.2df43f1a-91b2-493d-9ce8-f06efc4fe629 new file mode 100644 index 0000000..0609fe6 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-19-33.2df43f1a-91b2-493d-9ce8-f06efc4fe629 @@ -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\nauth_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")])\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 25\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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-19-39.c5331736-649b-4269-aec4-9c20cb7a9403 b/errors/127.0.0.1.2010-07-06.21-19-39.c5331736-649b-4269-aec4-9c20cb7a9403 new file mode 100644 index 0000000..0609fe6 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-19-39.c5331736-649b-4269-aec4-9c20cb7a9403 @@ -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\nauth_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")])\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 25\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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file 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 \n auth.settings.table_user_name,\nNameError: name \'auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-19-58.dd1e45d8-6e4d-4b2a-a305-b68e57e5a3bb b/errors/127.0.0.1.2010-07-06.21-19-58.dd1e45d8-6e4d-4b2a-a305-b68e57e5a3bb new file mode 100644 index 0000000..2aa1717 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-19-58.dd1e45d8-6e4d-4b2a-a305-b68e57e5a3bb @@ -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 \n auth.settings.table_user_name,\nNameError: name \'auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-19-59.c27db2ab-8227-4039-97cf-622d2eb6cc65 b/errors/127.0.0.1.2010-07-06.21-19-59.c27db2ab-8227-4039-97cf-622d2eb6cc65 new file mode 100644 index 0000000..2aa1717 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-19-59.c27db2ab-8227-4039-97cf-622d2eb6cc65 @@ -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 \n auth.settings.table_user_name,\nNameError: name \'auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-24-34.fd350e5c-5e4d-447f-bb1e-3caf586f135b b/errors/127.0.0.1.2010-07-06.21-24-34.fd350e5c-5e4d-447f-bb1e-3caf586f135b new file mode 100644 index 0000000..a6c432d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-24-34.fd350e5c-5e4d-447f-bb1e-3caf586f135b @@ -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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-24-36.11ba35b4-698d-4436-a189-5789431bdf62 b/errors/127.0.0.1.2010-07-06.21-24-36.11ba35b4-698d-4436-a189-5789431bdf62 new file mode 100644 index 0000000..a6c432d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-24-36.11ba35b4-698d-4436-a189-5789431bdf62 @@ -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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-24-43.79d98631-a87c-4c48-9efd-037be4e90b2b b/errors/127.0.0.1.2010-07-06.21-24-43.79d98631-a87c-4c48-9efd-037be4e90b2b new file mode 100644 index 0000000..a6c432d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-24-43.79d98631-a87c-4c48-9efd-037be4e90b2b @@ -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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-25-29.7040e780-9f79-4fba-8b25-9acc557d8768 b/errors/127.0.0.1.2010-07-06.21-25-29.7040e780-9f79-4fba-8b25-9acc557d8768 new file mode 100644 index 0000000..a6c432d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-25-29.7040e780-9f79-4fba-8b25-9acc557d8768 @@ -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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-25-30.cfb814ba-4b82-4e50-b49f-7ec4e67c7287 b/errors/127.0.0.1.2010-07-06.21-25-30.cfb814ba-4b82-4e50-b49f-7ec4e67c7287 new file mode 100644 index 0000000..a6c432d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-25-30.cfb814ba-4b82-4e50-b49f-7ec4e67c7287 @@ -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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.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 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/google_appengine/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/google_appengine/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-27-21.6b386041-0db0-4912-8fd5-bd00e9dd64e8 b/errors/127.0.0.1.2010-07-06.21-27-21.6b386041-0db0-4912-8fd5-bd00e9dd64e8 new file mode 100644 index 0000000..b357fc1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-27-21.6b386041-0db0-4912-8fd5-bd00e9dd64e8 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-27-51.87af17a3-f8af-480e-9aec-2843976dba75 b/errors/127.0.0.1.2010-07-06.21-27-51.87af17a3-f8af-480e-9aec-2843976dba75 new file mode 100644 index 0000000..b357fc1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-27-51.87af17a3-f8af-480e-9aec-2843976dba75 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-27-52.f705d212-1d5c-4272-b3af-c9fd0a0a5104 b/errors/127.0.0.1.2010-07-06.21-27-52.f705d212-1d5c-4272-b3af-c9fd0a0a5104 new file mode 100644 index 0000000..b357fc1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-27-52.f705d212-1d5c-4272-b3af-c9fd0a0a5104 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\n\nauth_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")])]\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 16\n Field(\'user_name\', length=128 requires = [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 ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-29-15.280641a8-e44d-4076-b209-755fc4295910 b/errors/127.0.0.1.2010-07-06.21-29-15.280641a8-e44d-4076-b209-755fc4295910 new file mode 100644 index 0000000..5abee74 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-29-15.280641a8-e44d-4076-b209-755fc4295910 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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, requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 15, in \n auth.settings.table_user_name,\nNameError: name \'auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-29-55.314af018-1e67-47df-acb3-3d7902b5ec4f b/errors/127.0.0.1.2010-07-06.21-29-55.314af018-1e67-47df-acb3-3d7902b5ec4f new file mode 100644 index 0000000..64f1246 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-29-55.314af018-1e67-47df-acb3-3d7902b5ec4f @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'user_name\', length=128, requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 13, in \n auth = Auth(globals(),db)\nNameError: name \'Auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-30-13.f44537c8-5e74-4c67-9d77-5eeef5fd244d b/errors/127.0.0.1.2010-07-06.21-30-13.f44537c8-5e74-4c67-9d77-5eeef5fd244d new file mode 100644 index 0000000..64f1246 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-30-13.f44537c8-5e74-4c67-9d77-5eeef5fd244d @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'user_name\', length=128, requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 13, in \n auth = Auth(globals(),db)\nNameError: name \'Auth\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-30-42.a68356ed-8805-4d90-bc2a-c1152684b45a b/errors/127.0.0.1.2010-07-06.21-30-42.a68356ed-8805-4d90-bc2a-c1152684b45a new file mode 100644 index 0000000..adc43d8 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-30-42.a68356ed-8805-4d90-bc2a-c1152684b45a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'user_name\', length=128, requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 18, in \n Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, auth_table.email)]),\nNameError: name \'auth_table\' is not defined\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-32-55.1455d8c8-5bca-4abd-8abb-b5b6ff94644e b/errors/127.0.0.1.2010-07-06.21-32-55.1455d8c8-5bca-4abd-8abb-b5b6ff94644e new file mode 100644 index 0000000..fe63151 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-32-55.1455d8c8-5bca-4abd-8abb-b5b6ff94644e @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'user_name\', length=128, requires = [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 Field(\'email\', length=128, unique=True, requires = [IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, \'auth_table.email\')]),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\', requires = [IS_STRONG(), CRYPT()]),\n Field(\'registration_key\', length=128,\n writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 22, in \n writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-35-16.b352a050-21ae-413f-8ee9-a3ff49b4e4d9 b/errors/127.0.0.1.2010-07-06.21-35-16.b352a050-21ae-413f-8ee9-a3ff49b4e4d9 new file mode 100644 index 0000000..971997d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-35-16.b352a050-21ae-413f-8ee9-a3ff49b4e4d9 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\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, writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 21, in \n Field(\'registration_key\', length=128, writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-35-17.143e16c3-1b07-4019-a4e4-9de63bca17dd b/errors/127.0.0.1.2010-07-06.21-35-17.143e16c3-1b07-4019-a4e4-9de63bca17dd new file mode 100644 index 0000000..971997d --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-35-17.143e16c3-1b07-4019-a4e4-9de63bca17dd @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\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, writable=False, readable=False))\n\nauth.settings.table_user = auth_table\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 21, in \n Field(\'registration_key\', length=128, writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-37-59.45e285c7-b075-47b1-91c5-8838ae416d1b b/errors/127.0.0.1.2010-07-06.21-37-59.45e285c7-b075-47b1-91c5-8838ae416d1b new file mode 100644 index 0000000..22041d1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-37-59.45e285c7-b075-47b1-91c5-8838ae416d1b @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'username\', length=128, default="),\n Field(\'email\', length=128, default=", unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128, default= ",\n writable=False, readable=False))\n\n\nauth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username)\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 17\n Field(\'username\', length=128, default="),\n ^\nSyntaxError: EOL while scanning string literal\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-38-29.747e8df8-2355-4719-a6e2-550a47e1a4b0 b/errors/127.0.0.1.2010-07-06.21-38-29.747e8df8-2355-4719-a6e2-550a47e1a4b0 new file mode 100644 index 0000000..d4069b1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-38-29.747e8df8-2355-4719-a6e2-550a47e1a4b0 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'username\', length=128, default=""),\n Field(\'email\', length=128, default="", unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128, default= "",\n writable=False, readable=False))\n\n\nauth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username)\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 22, in \n writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-39-15.34d2f46b-1647-4259-89e5-77c71e49db35 b/errors/127.0.0.1.2010-07-06.21-39-15.34d2f46b-1647-4259-89e5-77c71e49db35 new file mode 100644 index 0000000..2462794 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-39-15.34d2f46b-1647-4259-89e5-77c71e49db35 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'username\', length=128, default=""),\n Field(\'email\', length=128, default="", unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128, default= "",\n writable=False, readable=False))\n\n\nauth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username)\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\nauth.define_tables()\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 22, in \n writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-39-31.754b17ce-a8b7-40a2-a3f0-5e32802de9a5 b/errors/127.0.0.1.2010-07-06.21-39-31.754b17ce-a8b7-40a2-a3f0-5e32802de9a5 new file mode 100644 index 0000000..42e6674 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-39-31.754b17ce-a8b7-40a2-a3f0-5e32802de9a5 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth.define_tables()\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'username\', length=128, default=""),\n Field(\'email\', length=128, default="", unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128, default= "",\n writable=False, readable=False))\n\n\nauth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username)\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\n\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 15, in \n auth.define_tables()\n File "/home/jboisture/Desktop/web2py/gluon/tools.py", line 1059, in define_tables\n format=\'%(first_name)s %(last_name)s (%(id)s)\')\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-42-17.0beaf7a6-4047-4601-b12e-0eb0f18217ee b/errors/127.0.0.1.2010-07-06.21-42-17.0beaf7a6-4047-4601-b12e-0eb0f18217ee new file mode 100644 index 0000000..9286595 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-42-17.0beaf7a6-4047-4601-b12e-0eb0f18217ee @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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")]))\nfrom gluon.tools import Auth\nauth = Auth(globals(),db)\nauth_table = db.define_table(\n auth.settings.table_user_name,\n Field(\'username\', length=128, default="", unique = True),\n Field(\'email\', length=128, default="", unique=True),\n Field(\'password\', \'password\', length=256,\n readable=False, label=\'Password\'),\n Field(\'registration_key\', length=128, default= "",\n writable=False, readable=False))\n\n\nauth_table.username.requires = IS_NOT_IN_DB(db, auth_table.username)\nauth_table.password.requires = [IS_STRONG(), CRYPT()]\nauth_table.email.requires = [\n IS_EMAIL(error_message=auth.messages.invalid_email),\n IS_NOT_IN_DB(db, auth_table.email)]\nauth.settings.table_user = auth_table\nauth.define_tables()\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/models/db.py", line 22, in \n writable=False, readable=False))\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1309, in define_table\n t._create(migrate=migrate, fake_migrate=fake_migrate)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 1730, in _create\n self._db._execute(query)\n File "/home/jboisture/Desktop/web2py/gluon/sql.py", line 899, in \n self._execute = lambda *a, **b: self._cursor.execute(*a, **b)\nOperationalError: table auth_user already exists\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.21-49-35.9f326f13-a1f9-4073-82ce-fe391cc9c5dd b/errors/127.0.0.1.2010-07-06.21-49-35.9f326f13-a1f9-4073-82ce-fe391cc9c5dd new file mode 100644 index 0000000..565ea08 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-49-35.9f326f13-a1f9-4073-82ce-fe391cc9c5dd @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 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(): \n import pdb\n pdb.set_trace()\n 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(user)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 47, in \n File "/home/jboisture/Desktop/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 37, in user\n return dict(form=auth())\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 37, in user\n return dict(form=auth())\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 diff --git a/errors/127.0.0.1.2010-07-06.21-50-11.44d39e34-37d3-4d88-ba83-774ac8f10eb7 b/errors/127.0.0.1.2010-07-06.21-50-11.44d39e34-37d3-4d88-ba83-774ac8f10eb7 new file mode 100644 index 0000000..cd66655 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.21-50-11.44d39e34-37d3-4d88-ba83-774ac8f10eb7 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 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(): \n import pdb\n pdb.set_trace()\n 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(user)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 47, in \n File "/home/jboisture/Desktop/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 37, in user\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 37, in user\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 diff --git a/errors/127.0.0.1.2010-07-06.22-04-03.090862c3-e8a3-48e4-bbf9-01fdc1a0567f b/errors/127.0.0.1.2010-07-06.22-04-03.090862c3-e8a3-48e4-bbf9-01fdc1a0567f new file mode 100644 index 0000000..44a13e2 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-04-03.090862c3-e8a3-48e4-bbf9-01fdc1a0567f @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

Submissions

\\n \\n \',escape=False)\nfor row in comments:\n response.write(\'\\n \\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n \\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html", line 2\n if auth.is_logged_in()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-04-03.0b487c87-1bb7-4a1d-b926-b72f5066229a b/errors/127.0.0.1.2010-07-06.22-04-03.0b487c87-1bb7-4a1d-b926-b72f5066229a new file mode 100644 index 0000000..05d26b4 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-04-03.0b487c87-1bb7-4a1d-b926-b72f5066229a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/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 return dict(comments=table)\n\ndef upload():\n import pdb\n pdb.set_trace()\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=\'index\')) \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(): \n 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(upload)\n' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 47, in \n File "/home/jboisture/Desktop/web2py/gluon/globals.py", line 96, in \n self._caller = lambda f: f()\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 21, in upload\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'newimage\', \'creator\', \'description\'])\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/controllers/default.py", line 21, in upload\n form = SQLFORM(db.comment, fields = [\'title\', \'file\', \'newimage\', \'creator\', \'description\'])\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 diff --git a/errors/127.0.0.1.2010-07-06.22-04-03.c19ffad3-d858-4ba6-a628-374f9db0b6e8 b/errors/127.0.0.1.2010-07-06.22-04-03.c19ffad3-d858-4ba6-a628-374f9db0b6e8 new file mode 100644 index 0000000..44a13e2 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-04-03.c19ffad3-d858-4ba6-a628-374f9db0b6e8 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

Submissions

\\n \\n \',escape=False)\nfor row in comments:\n response.write(\'\\n \\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n \\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html", line 2\n if auth.is_logged_in()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-04-23.7bf1efca-9329-4593-9acb-1ad0264ddf40 b/errors/127.0.0.1.2010-07-06.22-04-23.7bf1efca-9329-4593-9acb-1ad0264ddf40 new file mode 100644 index 0000000..44a13e2 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-04-23.7bf1efca-9329-4593-9acb-1ad0264ddf40 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

Submissions

\\n \\n \',escape=False)\nfor row in comments:\n response.write(\'\\n \\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n \\n
\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 176, in restricted\n ccode = compile2(code,layer)\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 163, in compile2\n return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html", line 2\n if auth.is_logged_in()\n ^\nSyntaxError: invalid syntax\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-08-27.16d4e8f7-52a1-483c-bab6-28a7da00f034 b/errors/127.0.0.1.2010-07-06.22-08-27.16d4e8f7-52a1-483c-bab6-28a7da00f034 new file mode 100644 index 0000000..8341ac1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-08-27.16d4e8f7-52a1-483c-bab6-28a7da00f034 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\n response.write( comment.title)\n response.write(\'

\\n\\n

\',escape=False)\n response.write( "author: " + comment.creator)\n response.write(\'

\\n Download TA file\\n

\',escape=False)\n response.write( "description: " + comment.description)\n response.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 14, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-11-35.1992b260-0fb2-44f8-830f-fa0b4c2e9214 b/errors/127.0.0.1.2010-07-06.22-11-35.1992b260-0fb2-44f8-830f-fa0b4c2e9214 new file mode 100644 index 0000000..8341ac1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-11-35.1992b260-0fb2-44f8-830f-fa0b4c2e9214 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\n response.write( comment.title)\n response.write(\'

\\n\\n

\',escape=False)\n response.write( "author: " + comment.creator)\n response.write(\'

\\n Download TA file\\n

\',escape=False)\n response.write( "description: " + comment.description)\n response.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 14, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-12-07.a7fc9de5-6508-4100-9e21-694c7eeda5b3 b/errors/127.0.0.1.2010-07-06.22-12-07.a7fc9de5-6508-4100-9e21-694c7eeda5b3 new file mode 100644 index 0000000..8341ac1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-12-07.a7fc9de5-6508-4100-9e21-694c7eeda5b3 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\n response.write( comment.title)\n response.write(\'

\\n\\n

\',escape=False)\n response.write( "author: " + comment.creator)\n response.write(\'

\\n Download TA file\\n

\',escape=False)\n response.write( "description: " + comment.description)\n response.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 14, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-06.22-13-12.38c2ad64-e6e0-440c-a410-089bbee1ead5 b/errors/127.0.0.1.2010-07-06.22-13-12.38c2ad64-e6e0-440c-a410-089bbee1ead5 new file mode 100644 index 0000000..8341ac1 --- /dev/null +++ b/errors/127.0.0.1.2010-07-06.22-13-12.38c2ad64-e6e0-440c-a410-089bbee1ead5 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\n response.write( comment.title)\n response.write(\'

\\n\\n

\',escape=False)\n response.write( "author: " + comment.creator)\n response.write(\'

\\n Download TA file\\n

\',escape=False)\n response.write( "description: " + comment.description)\n response.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 14, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-07.10-02-13.a42ee2c8-ad53-42b6-b15a-285e49cab96a b/errors/127.0.0.1.2010-07-07.10-02-13.a42ee2c8-ad53-42b6-b15a-285e49cab96a new file mode 100644 index 0000000..3a44249 --- /dev/null +++ b/errors/127.0.0.1.2010-07-07.10-02-13.a42ee2c8-ad53-42b6-b15a-285e49cab96a @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\nresponse.write( comment.title)\nresponse.write(\'

\\n\\n

\',escape=False)\nresponse.write( "author: " + comment.creator)\nresponse.write(\'

\\n Download TA file\\n

\',escape=False)\nresponse.write( "description: " + comment.description)\nresponse.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 16, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-07.10-02-19.036914e4-3143-4280-b5d5-e6196b9d5363 b/errors/127.0.0.1.2010-07-07.10-02-19.036914e4-3143-4280-b5d5-e6196b9d5363 new file mode 100644 index 0000000..3a44249 --- /dev/null +++ b/errors/127.0.0.1.2010-07-07.10-02-19.036914e4-3143-4280-b5d5-e6196b9d5363 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\nresponse.write( comment.title)\nresponse.write(\'

\\n\\n

\',escape=False)\nresponse.write( "author: " + comment.creator)\nresponse.write(\'

\\n Download TA file\\n

\',escape=False)\nresponse.write( "description: " + comment.description)\nresponse.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 16, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-07.10-02-26.adfe0044-5526-4721-bfaf-6947db2dad72 b/errors/127.0.0.1.2010-07-07.10-02-26.adfe0044-5526-4721-bfaf-6947db2dad72 new file mode 100644 index 0000000..3a44249 --- /dev/null +++ b/errors/127.0.0.1.2010-07-07.10-02-26.adfe0044-5526-4721-bfaf-6947db2dad72 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

",escape=False)\nresponse.write( comment.title)\nresponse.write(\'

\\n\\n

\',escape=False)\nresponse.write( "author: " + comment.creator)\nresponse.write(\'

\\n Download TA file\\n

\',escape=False)\nresponse.write( "description: " + comment.description)\nresponse.write(\'

\\n\\n
\\n \\n \\n\\n\',escape=False)' +p6 +sS'traceback' +p7 +S'Traceback (most recent call last):\n File "/home/jboisture/Desktop/web2py/gluon/restricted.py", line 178, in restricted\n exec ccode in environment\n File "/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/image.html", line 16, in \nTypeError: cannot concatenate \'str\' and \'NoneType\' objects\n' +p8 +s. \ No newline at end of file diff --git a/errors/127.0.0.1.2010-07-07.10-27-50.3b1caa48-8a07-4c87-84f4-5de4fb6eb346 b/errors/127.0.0.1.2010-07-07.10-27-50.3b1caa48-8a07-4c87-84f4-5de4fb6eb346 new file mode 100644 index 0000000..9ab650d --- /dev/null +++ b/errors/127.0.0.1.2010-07-07.10-27-50.3b1caa48-8a07-4c87-84f4-5de4fb6eb346 @@ -0,0 +1,17 @@ +(dp1 +S'output' +p2 +S'' +sS'layer' +p3 +S'/home/jboisture/Desktop/web2py/applications/turtlesite/views/default/index.html' +p4 +sS'code' +p5 +S'response.write(\'\\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
\\n \\n

Submissions

\\n ",escape=False)\nfor row in comments:\n response.write(\'\\n \\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
    \\n \',escape=False)\n for count in range(pages)\n response.write(\'
  • \\n \\n \\n Turtle Art Image Database\\n \\n \\n \\n
    \\n \\n

    Submissions

    \\n ",escape=False)\nfor row in comments:\n response.write(\'\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
    \\n \',escape=False)\n for count in range(pages):\n response.write(\'
  • \\n \\n Turtle Art Image Database\\n \\n \\n \\n
    \\n \\n

    Submissions

    \\n ",escape=False)\nfor row in comments:\n response.write(\'\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
    \\n \',escape=False)\n for count in range(pages):\n response.write(\'
  • \\n \\n Turtle Art Image Database\\n \\n \\n \\n
    \\n \\n

    Submissions

    \\n ",escape=False)\nfor row in comments:\n response.write(\'\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
    \\n \',escape=False)\n for count in range(pages):\n response.write(\'
  • \\n \\n Turtle Art Image Database\\n \\n \\n \\n
    \\n \\n

    Submissions

    \\n ",escape=False)\nfor row in comments:\n response.write(\'\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\',escape=False)\n pass\n response.write(\'\\n
\\n
    \\n \',escape=False)\n for count in range(pages):\n response.write(\'
  • \\n \\n Turtle Art Image Database\\n \\n \\n \\n
    \\n \\n

    Submissions

    \\n ",escape=False)\nfor row in comments:\n response.write(\'\\n
\\n \',escape=False)\n for comment in row:\n response.write(\'\\n \\n \',escape=False)\n pass\n response.write(\'\\n
\\n \',escape=False)\n pass\nresponse.write(\'\\n
\\n