Rhino compute 'expected string got Nonetype'

Hi everyone!
This might be really spesific but I’m kind of stuped. I’m trying to use rhino compute and Viktor to create an application using grashopper. I have a grashopper script that with the plugin Ladybug can, based on coordinates, find an EWP file from the closest city. Based on the weather information from that, mainly the relative humidity I ‘output’ a serviceclass (a ‘string’).

I want to use that srting in the application but so far haven’t been able to succeed. I think theres no issue in the python script for my application, but that the issue lies somewhere either my grashopper script, the compatability with the ladybug plugin and compute, or the ghpython modules don’t work for rhino compute. Though I searched online and both plugins should be fine so my question is if anyone knows why I can’t get the output from grashopper to my application?

This is the error I get in compute:
An exception occurred while processing request
IronPython.Runtime.Exceptions.TypeErrorException: expected string, got NoneType
at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
at Microsoft.Scripting.Interpreter.FuncCallInstruction2.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Microsoft.Scripting.Interpreter.DynamicInstruction4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at RhinoPython.PyCompiledCode.Execute(PythonScript scope) in D:\BuildAgent\work\commercial\src4\rhino4\Plug-ins\ironpython\core\Runtime.cs:line 165
at GhPython.Component.ScriptingAncestorComponent.SafeSolveInstance(IGH_DataAccess da)

Everywhere else no value errors are raised.

Here is the gh file and the csv file for the data:
Weatherdata with ladybug.gh (20.8 KB)
Weatherdata.csv (740.6 KB)

As well as a shortened version of the script/ application:
app.py (5.5 KB)

Hops: 0.16.2
Ladybug: 1.8.0
Viktor: 14.15.2
Rhino: 7