Ethck / azgaar-foundry

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

Compendium error on Import #49

Closed FernandoSAguiarNeto closed 1 month ago

FernandoSAguiarNeto commented 1 month ago

Hello, when I try to import I receive the following error:

image

My foundry is at v12.331 and the module is up-to-date (v0.5.1). I made two different files with different configs and both give the same error.

smaller.zip fabula-teste.zip

Is it local or some bug, is there anything I can provide for replication/help?

Thanks in advance

Ethck commented 1 month ago

This is a very strange error, but my hunch is that it's related to the new multi-world compendiums. For now try turning off that option. I'll investigate this error tomorrow.

On Sun, Oct 20, 2024, 4:35 PM FernandoSAguiarNeto @.***> wrote:

Hello, when I try to import I receive the following error:

image.png (view on web) https://github.com/user-attachments/assets/a2135bec-6555-4f89-b01b-d539955f3823

My foundry is at v12.331 and the module is up-to-date (v0.5.1). I made two different files with different configs and both give the same error.

smaller.zip https://github.com/user-attachments/files/17452409/smaller.zip fabula-teste.zip https://github.com/user-attachments/files/17452410/fabula-teste.zip

Is it local or some bug, is there anything I can provide for replication/help?

Thanks in advance

— Reply to this email directly, view it on GitHub https://github.com/Ethck/azgaar-foundry/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUMYWRRJMF57LDD6YX7QRLZ4Q44BAVCNFSM6AAAAABQI7GEXWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDAOJWHAZDANQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

FernandoSAguiarNeto commented 1 month ago

Hello, thanks for the fast response. I tried with the option "Use world specific compendium" both on and off and the error persisted. Take your time to investigate, I will try a few things.

A friend of mine removed all parenthesys in 'names' and also single-quotes from the json and aparently it worked fine. Perhaps is something in the name generation of new compendiums.

Ethck commented 1 month ago

I can't seem to replicate the issue with import failure on names, but the "fabula-teste.zip" map full json does cause several issues with the module that I'm working through to fix.

Ethck commented 1 month ago

Scratch that, the other errors were preventing me from seeing it. The issue here is likely to do with the spaces so I'll add some code to get around that.

Ethck commented 1 month ago

Should be fixed now! I just published the release as well so should be all set.

FernandoSAguiarNeto commented 1 month ago

Thank you! o/