cff29546 / pzmap2dzi

A command-line tool to convert Project Zomboid map data into Deep Zoom format
MIT License
47 stars 15 forks source link

A worker is stuck every time there is a error rendering #3

Closed pimenta1807 closed 1 year ago

pimenta1807 commented 1 year ago

I'm rendering a map collection from workshop and as far as i know, the map autor has used non utf-8 characteres in the room name, bringing this error. image

Every time it happens, i lost an worker until there is no one left (frezze)

Rendering only the top I found the "faulty" chunks (since they didn't render) and removed them from the project, however I think it would be very useful for the worker to abandon the rendering in case of failure.

pimenta1807 commented 1 year ago

image First top rendering, stuck in 3 chunks.

A quick fix for me was change the encoder to ASCII (the target language), maybe redo the job with a second encoder if fails? image

cff29546 commented 1 year ago

Added support for room name encoding. See commit

cff29546 commented 1 year ago

Added task retry and error handling. See commit