Farmware Execution Failed


#1

Hi,

I’m getting Execution Failed on a simple script. It runs fine on the host. The logs are uninformative:

2

Error	CS Failed: [execute_script] - "Farmware failed"	Unknown	May 12, 9:55pm
2

Warn	#Farmware<FB Test(0.0.5)> completed with exit status: 1	Unknown	May 12, 9:55pm
2

Busy	Beginning execution of #Farmware<FB Test(0.0.5)>	Unknown	May 12, 9:55pm
3

Success	Downloaded Farmware tools: https://api.github.com/repos/FarmBot-Labs/farmware-tools/releases/latest	Unknown	May 12, 9:55pm
3

Busy	Downloading Farmware tools: https://api.github.com/repos/FarmBot-Labs/farmware-tools/releases/latest	Unknown	May 12, 9:55pm
2

Success	Finishing install for #Farmware<FB Test(0.0.5)>	Unknown	May 12, 9:55pm
2

Info	Checking directories for FB Test - 0.0.5	Unknown	May 12, 9:55pm
2

Info	Starting preflight checks for #Farmware<FB Test(0.0.5)>	Unknown	May 12, 9:55pm
2

Busy	Installing farmware from https://raw.githubusercontent.com/evanthomas/fb-test/master/manifest.json.

Here is my manifest:
https://raw.githubusercontent.com/evanthomas/fb-test/master/manifest.json

Interestingly, the Farmbot Labs example also fails in exactly the same way:


I’ve raised an issue for that one.

Thanks,
Evan.


#2

I should mention, I don’t actually have a FB - just a pi3 running the OS. Perhaps the farmware-tools library failed to initialise because of the incomplete hardware environment. The builtin farmwares are working though.


#3

It is likely failing upon import since the Flask package is not available to Farmware. See the Farmware execution failed section of the Farmware troubleshooting documentation for additional details.


#4

Ok, thanks that would explain it. I was wondering how those dependencies were resolved and the answer it they’re not.

The simple hello world example also failed but I suspect that is because there is no farmduino attached. It doesn’t to me anymore - farmware is not the solution to my use case for several reasons.