Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import subfolder #188

Open
farling42 opened this issue Nov 23, 2022 · 2 comments
Open

Can't import subfolder #188

farling42 opened this issue Nov 23, 2022 · 2 comments

Comments

@farling42
Copy link

farling42 commented Nov 23, 2022

Selecting the "Import Folder Structure" fails to copy subfolders. It generates an error:
image

The same error is reported if I try to import one of the subfolders directly.

This is attempting to import from a compendium stored in a module.

@earlSt1
Copy link
Owner

earlSt1 commented Nov 23, 2022

Hi, do you have Merge by name enabled? If so can you try with it off just to see if you get the same error?

@farling42
Copy link
Author

It took me a while to find a folder on which this error occurred.
On a lot of folders it works as expected.

I tried without either of the two options selected and it still caused the above error.

Stepping with the debugger, line 2694 await FICManager.recursivelyImportFolders fails.

I note that after "let coll = pack.contents" coll is an array of 0 entries, even though the folder has 7 Items in it.

See attached 'items.gotf' in the attached 'items.gotf.db' for the 'cyphersystem' game system, which has a top-level folder Equipment containing a subfolder Materials - trying to import the "Materials" sub-folder fails.

items-gotf.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants