Hi Spaetz, i fixed that using os.path.name(self.upload.file). I think it works without any runtime errors now.
im trying to use trapi for api access (seems easiest to install of all other APIs), ti...@home client for rendering and TAH slippy for display. A query for you, TRAPI says it makes on z11-z14, does that mean, t...@h clients can't render z17 using trapi? Thanks, Vikas 2009/2/11 Sebastian Spaeth <[email protected]> > 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 >
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
