Std::exception: 'invalid file path 'fallow'.'

develop-2786 (x64)
std::exception: 'invalid file path 'fallow'.'
stack traceback:
	[C]: in function 'create_entity'
	radiant/modules/entities.lua:24: in function 'create_entity'
	...arth/components/farmer_field/dirt_plot_component.lua:137: in function 'plant_crop'
	...h/components/farmer_field/farmer_field_component.lua:275: in function '?'
	stonehearth/ai/actions/call_method.lua:35: in function <stonehearth/ai/actions/call_method.lua:26>
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/services/server/ai/compound_action.lua:392: in function <stonehearth/services/server/ai/compound_action.lua:386>
	[C]: ?
	[C]: ?
	...
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:500: in function <stonehearth/components/ai/ai_component.lua:485>
	[C]: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:485: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:212: in function <stonehearth/services/server/threads/thread.lua:209>
	[C]: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:209: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
1 Like

When did this happen ? When you place a farm area ?

1 Like

no, it just popped up

Do you remember what you were doing when it popped ?

1 Like

@Ponder, could this be related to this one:
http://discourse.stonehearth.net/t/farmers-less-effective-alpha-14/19147?u=jomaxro

If i recall I got this error once when my farmer was trying to turn a pink flower plot into fallow. I also had another one pop up after I had an empty plot while my farmer was harvesting. No screenshots though :frowning:

2 Likes

I just loaded the game up and created a new field. it popped up x1 and noticed one of the 3 farmers that were creating that field one of the farmers kept tilling the same tile over and over again

i have gotten this error also, it has to do with the farmer for some reason not being able to recognize the fact that you changed a crop to fallow, so your farmer tries to replant seeds until the plot is removed,

hope that makes sense.

edit: i actually might have a save, just gimme a sec.

**edit 2:**for members of TR, here’s a save,

1452837876639.zip (5.1 MB)

the error happens upon load, and if you wait a little bit the farmer will start continually “hoeing” one of the fallow rows.

hope this helps you guys track down the bug.

1 Like

ya that’s what I have been doing a small pain but an easy fix

2 Likes

Hello! I had this error when I load a game. It makes all my farms become fallow and shows me this error with the title “engine error”:

develop-2786 (x64)
c++ exception: invalid file path 'fallow'.
stack traceback:
	[C]: in function 'load_json'
	radiant/modules/resources.lua:33: in function 'load_json'
	radiant/modules/entities.lua:508: in function 'get_entity_data'
	stonehearth/stonehearth_server.lua:77: in function 'run_on_destroy_effect'
	stonehearth/stonehearth_server.lua:115: in function 'cleanup_entity'
	stonehearth/stonehearth_server.lua:170: in function <stonehearth/stonehearth_server.lua:169>
	[C]: in function 'xpcall'
	stonehearth/stonehearth_server.lua:169: in function 'instance'
	radiant/modules/events.lua:226: in function <radiant/modules/events.lua:220>
	[C]: in function 'xpcall'
	radiant/modules/events.lua:220: in function <radiant/modules/events.lua:190>

That happens only in that file game. I save later and the farms were normally, so I post this topic just in case it can be useful to you :slightly_smiling:

Now the game shows me the previous error and this one

develop-2786 (x64)
std::exception: 'invalid file path 'fallow'.'
stack traceback:
	[C]: in function 'create_entity'
	radiant/modules/entities.lua:24: in function 'create_entity'
	...arth/components/farmer_field/dirt_plot_component.lua:137: in function 'plant_crop'
	...h/components/farmer_field/farmer_field_component.lua:275: in function '?'
	stonehearth/ai/actions/call_method.lua:35: in function <stonehearth/ai/actions/call_method.lua:26>
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/services/server/ai/compound_action.lua:392: in function <stonehearth/services/server/ai/compound_action.lua:386>
	[C]: ?
	[C]: ?
	...
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:500: in function <stonehearth/components/ai/ai_component.lua:485>
	[C]: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:485: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:212: in function <stonehearth/services/server/threads/thread.lua:209>
	[C]: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:209: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Oh sorry, I thought it was a different error :confused:

no need to apologize, gives me something to do with my spare time :wink:

2 Likes