midoshouse / ootr-multiworld

An alternative implementation of multiworld for the Ocarina of Time randomizer
https://midos.house/mw
MIT License
9 stars 0 forks source link

Python uses wrong randomizer version #28

Closed fenhl closed 8 months ago

fenhl commented 1 year ago

I believe the cause of intermittent failures to recognize some item names in spoiler logs is that there's something wrong with the logic used for importing Python modules from a specific randomizer version. Maybe a race condition between multiple different versions being used at the same time or something. The fix would probably be to cleanly separate Python interpreter instances between randomizer versions. Ideally, this would be achieved using https://github.com/PyO3/pyo3/issues/576, but until that feature is ready, running Python interpreters as subprocesses should be a (less performant) workaround.