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

EOFError with multithreaded mbtiles writing #15

Open
bitphage opened this issue Mar 8, 2017 · 1 comment
Open

EOFError with multithreaded mbtiles writing #15

bitphage opened this issue Mar 8, 2017 · 1 comment

Comments

@bitphage
Copy link

bitphage commented Mar 8, 2017

I tried to generate mbtiles file using the following command:

polytiles.py -z 3 19 -m taxsee.mbtiles -s project.xml --host postgres-osm -d gis -u osm -a 0 --threads 4

And after ~20 seconds I've got an error:

13 5582 2497
13 5579 2497
11 1394 626
Process ThreadedWriterWrapper-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "../polytiles/polytiles.py", line 237, in run
    req, args = self.pipe.recv()
EOFError

Everything stuck then. Using --threads 1 solves the problem.
Also, issue doesn't shows up whether use plain tiles output to png files (not mbtiles).

@tobwen
Copy link

tobwen commented May 6, 2023

Should be fixed in #19

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