-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: range() integer end argument expected, got float. #13
Comments
a lillte history, the change from round to cast a long time ago broke the server. this is also why i asked for clarification and a bug report on that pull request. |
is this related to your other bug? #14 the change from cast to round would cause that number to change perhaps seed should be using its own logic here? it does no good to break the server to fix the client |
link to that pull request on seed #8 |
Acually I have no knowledge about TileCache. I just start to dig for reason why tilecache_seed.py creates strange protocols that does not reflect what is actually created. Strange:
It look that all of this is also connected with my "crazy" settings. The #14 an #13 issues are just side efects. Despite this i guess the x,y,z should be integers not floats. |
metabuffer should be 2 ints, other than that you set it however big you need it, nothing crazy about that |
Thanks for hint. Maybe will help. from tilecache.cfg
|
This BUG is already mentioned in Pull Requests.
File "/var/www/dev/3data/minemap/map-layer/cgi-bin/tilecache-github/tilecache/TileCache/Client.py", line 117, in seed for y in range(startY, endY, stepY): TypeError: range() integer end argument expected, got float.
It is caused by commit from 2011 where a change in Layer.py was made
`
I think better solution then change line #117 in Client.py is to fix Layer.py by
The text was updated successfully, but these errors were encountered: