PDA

View Full Version : script error



DarkRook
February 28th, 2018, 01:52
i keep getting this script error which resaults in being unable to load anything once game is joined and crashes


Runtime Error: Unable to save file (thumbnail.png) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Exception: bad allocation

Runtime Error: Unable to save file (thumbnail.png) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Exception: bad allocation

Runtime Error: Unable to save file (thumbnail.png) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/HumbleOrigins.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Sailing.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Survivor.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/RogueStuff.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Tragedy.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/ChapterThree.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/WoodElf.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Spellcaster.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/SlavicScene.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/NamesOne.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/EnglishScene.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/EgyptianScene.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/ElfScene.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Japanese.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Spanish.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/StormSphere.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (images/Meso.jpg) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (tokens/adultblackdragon.png) to cache. Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.
Runtime Error: Unable to save file (C:/ProgramData/Fantasy Grounds/cache/Tyranny Tuesdays/usersettings/hotkeys.xml) - Error (24): Too many open files
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/char.lua)
Ruleset Warning: Could not load script file (campaign/scripts/char.lua)
Ruleset Warning: Could not load script file (Ruleset: CoreRPG) (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (Ruleset: CoreRPG) (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (Ruleset: CoreRPG) (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (common/scripts/number_linked.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action_mini.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action_mini.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action_mini.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action_mini.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_item.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action.lua)
Ruleset Warning: Could not load script file (Ruleset: 5E) (campaign/scripts/power_action_mini.lua)
Ruleset Warning: Could not load script file (campaign/scripts/power_action_mini.lua)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:94: attempt to call field 'getWindowSort' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)
Script Error: [string "campaign/scripts/power_list.lua"]:73: attempt to call field 'onSortCompare' (a nil value)

Andraax
February 28th, 2018, 02:26
Bad allocation are out of memory conditions. Some of the others are caused by incorrect permissions.

damned
February 28th, 2018, 02:26
Have you done what the warning is suggesting?

Please restart Fantasy Grounds and reset cache on launch screen before rejoining game.

Before you do that - what size is the campaign/cache folder in question?
Also - what is the RAM usage when loading FG?
Are you running Windows or Mac?
32bit or 64bit OS?
How much RAM do you have installed?
What books is the GM sharing with you?

Trenloe
February 28th, 2018, 03:00
This is 100% FG running out of memory.

Do a site search for bad allocation to get a few posts giving more details and suggestions.

DarkRook
February 28th, 2018, 03:24
figure it out to be a firewall issue. works with firewalls off just working on a fix to not have to fully disable firewalls to use

Trenloe
February 28th, 2018, 03:35
figure it out to be a firewall issue. works with firewalls off just working on a fix to not have to fully disable firewalls to use
I'm 99% certain that isn't the issue. There are plenty of posts on these forums showing those exact same errors you have, and they are caused by FG running out of memory. Check out those threads.

damned
February 28th, 2018, 03:35
What sort of firewall?

DarkRook
February 28th, 2018, 03:48
windows 10 firewalls

DarkRook
February 28th, 2018, 03:49
turning off the firewalls seams to have solved the issue

dulux-oz
February 28th, 2018, 04:04
turning off the firewalls seams to have solved the issue

The trouble is that that isn't a "viable" solution - it may have "seemed" to fix the issue but all its done is "mask" it instead.

I run with windows 10 firewall enabled and don't have any trouble - once I reset the FG cache and restarted things.

Running without a firewall is a really "Bad" idea and FG will work with the win10 firewall enabled. For your own sake I'd strongly suggest actually solving the issues and not just eliminating the "symptoms". :)

Of course, its up to you :)