KageJittai / lets-trade-5e

A Foundry VTT module which allows you to send and receive items from other players.
MIT License
11 stars 14 forks source link

Error in console and canvas, but trade works #4

Closed ariakas2008 closed 3 years ago

ariakas2008 commented 3 years ago

Foundry core 0.7.9, D&D 1.2.0, Let's trade 0.1.2, Windows 10, Self hosted Foundry with Jnode, Chrome Browser. PG_Paolo has sent Nadarr Mordiscudo 1 Giaciglio(s) Nadarr is giuseppe's PC. Trade works fine, but I have attached error.

giuseppe_log.log paolo.log active_modules.txt nodejs_errror.txt

KageJittai commented 3 years ago

Could you try to disable all of your modules with the exception of Let's Trade and see if the issue continues to happen? I have been unsuccessful in reproducing the issue.

ariakas2008 commented 3 years ago

Yep, no error with only Let's trade enabled. Now the hard part is find the culprit...can you send me the list of your modules so I can narrow it please?

KageJittai commented 3 years ago

I don't use many modules. Instead, I can teach you how to quickly narrow it down. (Assuming it's a single module and not a combination of modules).

Take your module list, enable the first half, then test it. If it happens you have eliminated the second half, if it doesn't you have eliminated the first half. You can repeat this process again and then again. Eventually, after 3 or 4 iterations, you should have narrowed it down to a handful of modules. This process is called bisection or binary search.

KageJittai commented 3 years ago

@ariakas2008 Have you had any luck narrowing down which modules might be responsible?

ariakas2008 commented 3 years ago

@ariakas2008 Have you had any luck narrowing down which modules might be responsible?

Yes, sorry for late reply. It is caused by Variant Encumbrance, probably trying to update its lightly encumbered Active Effect.

KageJittai commented 3 years ago

Ok, this seems unrelated to let's trade 5e, perhaps my update calls are triggering it. Not really sure how I can address this issue on my end.