You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases it can happen that ui.py throws a MemoryError when opening some bigger maps and creating a topdown picture for them. This doesn't happen for everybody (e.g. I can open the Trolls'n Elves map just fine, but when SinZ does the same, a MemoryError is raised).
It doesn't appear to happen when running the topdown viewer on the map directly.
The text was updated successfully, but these errors were encountered:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in __call__
return self.func(*args)
File "C:\Users\SinZ\Documents\GitHub\w3x-to-vmf\ui.py", line 95, in openFile
self.topDownTab.setImage(topdownImage)
File "C:\Users\SinZ\Documents\GitHub\w3x-to-vmf\ui.py", line 148, in setImage
self.img = ImageTk.PhotoImage(img)
File "C:\Python27\lib\site-packages\PIL\ImageTk.py", line 113, in __init__
self.paste(image)
File "C:\Python27\lib\site-packages\PIL\ImageTk.py", line 172, in paste
block = image.new_block(self.__mode, im.size)
MemoryError
In some cases it can happen that ui.py throws a MemoryError when opening some bigger maps and creating a topdown picture for them. This doesn't happen for everybody (e.g. I can open the Trolls'n Elves map just fine, but when SinZ does the same, a MemoryError is raised).
It doesn't appear to happen when running the topdown viewer on the map directly.
The text was updated successfully, but these errors were encountered: