Skip to content
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

Error while relaying tile - what to do? #6

Open
codeornot2code opened this issue Mar 29, 2020 · 1 comment
Open

Error while relaying tile - what to do? #6

codeornot2code opened this issue Mar 29, 2020 · 1 comment

Comments

@codeornot2code
Copy link

Hi!
I tried to use your script for downloading map tiles. I got an error after selecting a region and trying to download the tiles.
"9652,12319,15 : Error while relaying tile
All requests are done"

In terminal it looks like this:

File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 426, in handle
self.handle_one_request()
Exception happened during processing of request from ('127.0.0.1', 61176)
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 414, in handle_one_request
method()
Traceback (most recent call last):
File "C:\Users\KK\Desktop\Nowy folder (3)\server.py", line 81, in do_POST
postvars = parse_multipart(self.rfile, pdict)
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 720, in init
self.handle()
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 426, in handle
self.handle_one_request()
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 414, in handle_one_request
method()
File "C:\Users\KK\Desktop\Nowy folder (3)\server.py", line 81, in do_POST
postvars = parse_multipart(self.rfile, pdict)
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\cgi.py", line 220, in parse_multipart
headers['Content-Length'] = pdict['CONTENT-LENGTH']
KeyError: 'CONTENT-LENGTH'
File "C:\Users\KK\AppData\Local\Programs\Python\Python37\lib\cgi.py", line 220, in parse_multipart
headers['Content-Length'] = pdict['CONTENT-LENGTH']

KeyError: 'CONTENT-LENGTH'

Any idea of what the issue is here? I have no experience in coding etc. Would be great to hear back from you!
Krzysztof

@AliFlux
Copy link
Owner

AliFlux commented Apr 26, 2020

Hi, you're probably using older versions of python. The recent commit provides support for more versions, you can test it out and see if the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants