Ethck / azgaar-foundry

Unofficial Azgaar's Fantasy Map Generator Import
MIT License
43 stars 15 forks source link

Error after making map. No pins appear. Compendium for burgs doesnt exist. #6

Closed CatbotTsumi closed 3 years ago

CatbotTsumi commented 3 years ago

Something went wrong here. I followed instructions. This is the stuff I used: .map file: https://drive.google.com/file/d/1lKuZ1Tm-W0rXd0TMFmNLSyvuuIJTjFra/view?usp=drivesdk Link to Picture: https://drive.google.com/file/d/1X-Tg3kBXwywFLFH7N0ZaOVfW_ssM8zqw/view?usp=sharing Scale Factor 5 (didn't match up so I adjusted the X/Ysize to 12800x6360 manually) Changed 3 icons for burgs, countries, and provinces. Left MapNote scaling on default. Pressed Import.

Here's what I got. I got a new scene with the linked picture, but no pins (made sure i have them visible). The following compendiums were created: Cultures, Provinces. (No burgs??)

And looking in the Console I got:


Uncaught (in promise) TypeError: Cannot convert undefined or null to object
[Detected 1 package: azgaar-foundry]
    at Function.keys (<anonymous>)
    at ClientDatabaseBackend._preCreateDocumentArray (foundry.js:8657)
    at async ClientDatabaseBackend._createDocuments (foundry.js:8603)
    at async Function.createDocuments (document.mjs:332)
    at async compendiumUpdater (main.js:530)
    at async http:/localhost:6969/modules/azgaar-foundry/main.js:232```
Ethck commented 3 years ago

Hello! Thank you for this report. I will be looking into it today. One additional question, how old is this map file? Is it something you have been working on for years or just within the past couple of months/weeks? This is important so I can ensure that this isn't a migration error.

Ethck commented 3 years ago

Ah, I notice now that this is because the data for the countries is still present, even though they have been removed (highlighted by their data containing the removed: true property. I am currently testing a fix for this and should have it out shortly.

CatbotTsumi commented 3 years ago

This map has been made like most 2 weeks ago.

Lots of love, Tsumi

On Sat, 4 Sep 2021, 10:10 pm Ethck, @.***> wrote:

Ah, I notice now that this is because the data for the countries is still present, even though they have been removed (highlighted by their data containing the removed: true property. I am currently testing a fix for this and should have it out shortly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ethck/azgaar-foundry/issues/6#issuecomment-913033921, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFAU3A5PJNGNZQN46Z5R53UAJ4K3ANCNFSM5DNNRN2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

CatbotTsumi commented 3 years ago

Any updates on this?

Ethck commented 3 years ago

Hey sorry about the delay on this. I have something that sort of works locally but I'm still trying to work out all of the bugs with it (turns out there were quite a few). I'll try to get something out this weekend.