[Tilesathome] my TAH server: process_uploads
ビカス ヤダワ (vikas yadav)
mevikas at gmail.com
Mon Feb 16 16:01:17 GMT 2009
Hi,
Me having a problem with TAH queue creator.
When I re queue a tile, it reports "No sensible layers found" and quits.
I have created tile/captionless/maplint/etc layers in layer/settings of my
TAH site.
My TAH system has no cron system therefore it does not have any job queue
manager running yet.
I did a client request loop using my own php script.
Now i want to use tha TAH server's queue for loops but it is not properly
configured i think.
Please suggest.
Vikas
2009/2/11 ビカス ヤダワ (vikas yadav) <mevikas at gmail.com>
> 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),
> tiles at home client for rendering and
> TAH slippy for display.
>
> A query for you, TRAPI says it makes on z11-z14, does that mean, t at hclients can't render z17 using trapi?
>
> Thanks,
> Vikas
>
> 2009/2/11 Sebastian Spaeth <sebastian at sspaeth.de>
>
> On Sun, 8 Feb 2009 21:22:43 +0530
>> _____________________ (vikas yadav) <mevikas at gmail.com> 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
>> Tilesathome at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/tilesathome
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20090216/e707e681/attachment.html>
More information about the Tilesathome
mailing list