Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Foundry loose integration (http://forums.wolflair.com/showthread.php?t=65924)

nightpanda2810 July 1st, 2021 08:44 AM

Quote:

Originally Posted by Farling (Post 295661)
The new version 0.3.12 fixes problems with the module not working with 0.7.x versions of Foundry.

It is now importing! However I seem to be stuck "generating xxx journal entries". It's been going about an hour. Tried Chrome and Edge. Is it just taking a really long time?

Farling July 1st, 2021 04:32 PM

Quote:

Originally Posted by nightpanda2810 (Post 295667)
It is now importing! However I seem to be stuck "generating xxx journal entries". It's been going about an hour. Tried Chrome and Edge. Is it just taking a really long time?

How large is your RWoutput file?

If you press F12, are any errors reported in the browser's console?

How big is the xxx number? I have imported 2,600 topics in just a few minutes.

Do you have HL portfolio files in your realm? If so, which game system? And which game system is your world using in Foundry VTT?

nightpanda2810 July 1st, 2021 04:41 PM

Quote:

Originally Posted by Farling (Post 295672)
How large is your RWoutput file?

If you press F12, are any errors reported in the browser's console?

How big is the xxx number? I have imported 2,600 topics in just a few minutes.

Do you have HL portfolio files in your realm? If so, which game system? And which game system is your world using in Foundry VTT?

No errors reported (other than the one I get from attempting to re-import).

500ish. File is about 605 MB.

No HL portfolios. Generic system in RW. PF2 in Foundry.

I should note that I have some smaller files that worked fine. It's also an export from 253.

Farling July 2nd, 2021 10:41 AM

Quote:

Originally Posted by nightpanda2810 (Post 295673)
No errors reported (other than the one I get from attempting to re-import).

500ish. File is about 605 MB.

No HL portfolios. Generic system in RW. PF2 in Foundry.

I should note that I have some smaller files that worked fine. It's also an export from 253.

I think I can only see what's happening if I have a copy of the RWoutput file; I might be able to track down what it is, or is not, doing.

Could you PM me with a link to the file?

nightpanda2810 July 2nd, 2021 11:51 AM

Quote:

Originally Posted by Farling (Post 295690)
I think I can only see what's happening if I have a copy of the RWoutput file; I might be able to track down what it is, or is not, doing.

Could you PM me with a link to the file?

PM sent. Thanks for looking into it!

Farling July 2nd, 2021 01:42 PM

Quote:

Originally Posted by nightpanda2810 (Post 295691)
PM sent. Thanks for looking into it!

I'm done some testing on my laptop...

I tried doing the import to my AWS server, and there were errors reported about some of the images being too big. The "Finished" report never appeared - I suspect because of the processing errors reported with files failing to be uploaded.

When I performed an import using the standalone Foundry VTT installation the import worked properly - creating 551 journal entries.

I will need to do some more testing on my main PC which has the dev environment on it to see if I can avoid failed uploads from causing the import to fail.

Looking at the extracted files in the local version, I suspect it is the image files which were larger than 16 MB in size; but I can't be 100% sure.

---

Where is your Foundry server hosted? If it is not on your local PC, are you using an nginx proxy?

nightpanda2810 July 2nd, 2021 02:14 PM

Quote:

Originally Posted by Farling (Post 295692)
I'm done some testing on my laptop...

I tried doing the import to my AWS server, and there were errors reported about some of the images being too big. The "Finished" report never appeared - I suspect because of the processing errors reported with files failing to be uploaded.

When I performed an import using the standalone Foundry VTT installation the import worked properly - creating 551 journal entries.

I will need to do some more testing on my main PC which has the dev environment on it to see if I can avoid failed uploads from causing the import to fail.

Hmm, I didn't see any of those errors in the console. Were they elsewhere? I could add the images by hand if the errors are visible to me. I have 2 different foundry servers; one at home, running on an Ubuntu VM. And one in AWS. I was attempting the upload on my home VM, before putting it on my live server.

Farling July 2nd, 2021 02:44 PM

Quote:

Originally Posted by nightpanda2810 (Post 295693)
Hmm, I didn't see any of those errors in the console. Were they elsewhere? I could add the images by hand if the errors are visible to me. I have 2 different foundry servers; one at home, running on an Ubuntu VM. And one in AWS. I was attempting the upload on my home VM, before putting it on my live server.

The errors I saw were reported in the console. I was using Chrome at the time.

Even though the control window never said "Finished", I did see that lots of journal entries had been created - some were empty, but I suspect that might be the case in your realm too.

If you have nginx in your configuration, then the Foundry recommended set up is to have "client_max_body_size 300M;" somewhere in the configuration file. I haven't checked mine yet to see if it is set to 300M or some lower value. My nginx configuration file was missing this line. When this line was added, then all the files uploaded properly.

Are you using the latest version (0.3.13) of my module? I did fix an issue where the module was not waiting for each file to be uploaded before sending the next one.

nightpanda2810 July 3rd, 2021 10:34 AM

Quote:

Originally Posted by Farling (Post 295694)
The errors I saw were reported in the console. I was using Chrome at the time.

Even though the control window never said "Finished", I did see that lots of journal entries had been created - some were empty, but I suspect that might be the case in your realm too.

If you have nginx in your configuration, then the Foundry recommended set up is to have "client_max_body_size 300M;" somewhere in the configuration file. I haven't checked mine yet to see if it is set to 300M or some lower value. My nginx configuration file was missing this line. When this line was added, then all the files uploaded properly.

Are you using the latest version (0.3.13) of my module? I did fix an issue where the module was not waiting for each file to be uploaded before sending the next one.

That's exactly what I saw as well.

I added the config line to the NGINX config, and I had a successful import! Everything except imbedded images works. I get the below error in the console every time I open a journal entry with an image, and in the entry I only see the generic "image here" image. I've confirmed the images exist in the realmworksimport folder.

Yes, I am on the latest version.

https://i.imgur.com/ASm5GeX.png

Farling July 3rd, 2021 01:05 PM

I setup my nginx server a couple of months ago (0.7.9) and that extra line wasn't present in the setup instructions. Maybe it was added as part of 0.8.x.

Images should be in a subdirectory of your world directory, by default it is called "realmworksimport".

Can you check the module configuration, from Game Settings -> Configure Settings -> Module Settings -> section called "Realm Works Importer".

Check that "Location of Extracted Assets" is set to worlds/Skaz/realmworksimport
(if your world is called "Skaz")

If you change this in this "Configure Game Settings" window, then you will need to do another import to ensure that all the files are in the correct place.


All times are GMT -8. The time now is 11:53 PM.

Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.