[Tilecache] tilecache_seed.py gives error
huseyin.akyol at gmail.com
Thu Sep 18 12:27:23 EDT 2008
the problem is solved when i reinstall python, now tilecache_seed.py works
Christopher Schmidt-2 wrote:
> On Thu, Sep 18, 2008 at 08:30:44AM -0700, Huseyin Akyol wrote:
>> I have tilecache 2.04 and it works fine, it can create tiles when i call
>> cgi. But, when i want to create caches vie tilecache_seed.py it gives
>> Python 2.5.2 is installed.
>> Here are my cfg file and errors of tilecache_seed.py,
>> cfg file;
>> bbox= 27.928018, 40.372458, 29.962443, 42.017497
>> tilecache_seed.py "http://localhost/cgi-bin/tilecache.cgi?" layername 1
>> Traceback (most recent call last):
>> File "C:\ms4w\Apache\cgi-bin\tilecache_seed.py", line 7, in ?
>> import TileCache.Client
>> File "C:\ms4w\Apache\cgi-bin\TileCache\__init__.py", line 2, in ?
>> from Cache import *
>> File "C:\ms4w\Apache\cgi-bin\TileCache\Cache.py", line 5, in ?
>> class Cache (object):
>> NameError: name 'object' is not defined
>> What can be the problem?
> Looks to me like your Python is Very Old when you're running it on the
> command line. I guess you're using Windows: can you paste the command
> line you are using? If you're using something like
> C:\Python2.5\python.exe, can you add a '-v' to it and see if it spits
> out the version you expect? can you run the interpreter and try typing:
> class Cache(object): pass
> Christopher Schmidt
> Tilecache mailing list
> Tilecache at openlayers.org
View this message in context: http://n2.nabble.com/tilecache_seed.py-gives-error-tp1098507p1098701.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache