Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.64k stars 671 forks source link

Cannot Save Maps to Machine #1146

Closed TheSpatial closed 1 month ago

TheSpatial commented 2 months ago

Describe the bug When I try to save maps, I get this error code TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from () at prepareMapData (save.js?v=1.100.00:115:21) at saveMap (save.js?v=1.100.00:9:21) at HTMLDivElement.Retry (save.js?v=1.100.00:29:11) at HTMLButtonElement. (jquery-ui.min.js:1:102587) at HTMLButtonElement.dispatch (jquery-3.1.1.min.js:3:10315) at q.handle (jquery-3.1.1.min.js:3:8342)

Steps to reproduce

  1. Load a map or make a new one
  2. Click the "Save" button in the menu
  3. Problem occurs

Expected behavior

I expected the .map file to be updated and saved to my computer, and show up in the "File Explorer" under Downloads.

.map file

Cannot attach the .map file

System

Azgaar commented 2 months ago

Can you please try to clear the browser cache? If it's not helping, you can also try another browser

nadmar66 commented 1 month ago

I have the same issue as well on both the app and the browser. Both don't have a problem opening the file explorer when loading a map, but doesn't do the same when trying to save. But when this happens to me it doesn't show an error message.

Azgaar commented 1 month ago

I have the same issue as well on both the app and the browser. Both don't have a problem opening the file explorer when loading a map, but doesn't do the same when trying to save. But when this happens to me it doesn't show an error message.

Can you try to clear the cache? Also a different browser if you have some.

nadmar66 commented 1 month ago

I did and the problem was solved. Thanks!