On Sun, 8 Feb 2009 21:22:43 +0530 _____________________ (vikas yadav) <[email protected]> wrote:
> Hi, > > I had setup a TAH server locally only my computer and have been > asking a lot of why the process_uploads.py is failing. > The snip is around line 65. Since its the first time with python, i > can't go any further in this. > > #:: following print statements work with = output > #:: print self.upload.file = > "Incoming/captionless_12_2924_1710_30476.zip" > #:: print self.upload.get_file_filename() = > "/var/www/tah/media/Incoming/captionless_12_2924_1710_30476.zip" > * self.fname = self.upload.file.path* > * #dies with :: AttributeError: 'unicode' object has no attribute > 'name'* > #me don't know what is unicode? is it the field type from my > my sql tabl I suspect that your django version might not be new enough,I think there were some changes with regard to the file upload handling. Do you haved jango 1.0? spaetz _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
