Running that script in the tg-admin shell yeilded an error saying that
no such column of user_upload existed.
Also when i tried to upload a file I got an error saying that
upload_user was not specified.
I created an uploaded file and gave it the assignment key of one
through the catwalk
however when i tried to upload through my app i got a problem. I think
it may be because I am not specifying which user uploaded the file,
however I thought the code would take of this because of the
multiplejoin?
Perhaps this is because I am using the the TG User class?
heres is the error
File "<console>", line 1, in ?
File "<string>", line 1, in <lambda>
File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/joins.py",
line 131, in performJoin
inst.id)
File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py",
line 598, in _SO_selectJoin
return self.queryAll("SELECT %s FROM %s WHERE %s = %s" %
File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py",
line 744, in queryAll
return self._dbConnection._queryAll(self._connection, s)
File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py",
line 309, in _queryAll
self._executeRetry(conn, c, s)
File
"/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py",
line 295, in _executeRetry
return cursor.execute(query)
OperationalError: no such column: upload_user
and here is the way I am uploading a file
u = UploadedFile.byFilename(upload_file.filename)
u = UploadedFile(filename=file, abspath=target_file_name)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---