t3 bugs

2 views
Skip to first unread message

Wes James

unread,
Jan 21, 2009, 6:03:47 PM1/21/09
to web2py Web Framework
I downloaded web2py trunk yesterday. (Version 1.56rc1 (2009-01-19 21:18:57)

1. with itemize in the search now, you can click on search and see the
results, but if you click on [next page], all yo get is the search
form - you can get the next page if you click on submit.

2. I have created an app that you can upload a file. Here is the table:

db.define_table('foto',
db.Field('title'),
db.Field('image','upload'))

If the record is created with an image uploaded then later the image
is deleted but not the record, when you try and delete the record you
get:

File "/opt/web2py20090120-svn/applications/t3/modules/t2.py", line
469, in update
if os.path.exists(name): os.unlink(name)
OSError: [Errno 1] Operation not permitted:
'/opt/web2py20090120-svn/applications/t3/uploads/'

It is trying to delete the uploads folder since there is no file in the record.

thx,

-wj

mdipierro

unread,
Jan 21, 2009, 8:57:59 PM1/21/09
to web2py Web Framework
auch! I will try fix this tonight.
Reply all
Reply to author
Forward
0 new messages