Forums (Forecast Builder)

Back

15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last Step

FN
Felix Navejar, modified 7 Years ago.

15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last Step

Youngling Posts: 4 Join Date: 9/24/12 Recent Posts

Hey Folks,

Our forecaster here on the midnight shift noticed a problem with 12Z-12Z TAF Forecaster Builder. I duplicated with a 15Z-15Z TAF Forecast Builder Error listed below. I do not know the problem here. Can someone there give me an idea?

The Forecast Builder throws Error on the last step "Optional Items". See error below.

 

Error running procedure ForecastBuilderjep.JepException: jep.JepException: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'toJavaObj'
    at jep.Jep.eval(Jep.java:485)
    at com.raytheon.uf.common.python.PythonScript.internalExecute(PythonScript.java:230)
    at com.raytheon.viz.gfe.procedures.ProcedureRunnerController.executeProcedure(ProcedureRunnerController.java:108)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.execute(ProcedureJobPool.java:382)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.processRequest(ProcedureJobPool.java:346)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.run(ProcedureJobPool.java:325)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: jep.JepException: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'toJavaObj'
    at /awips2/cave/etc/gfe/userPython/utilities/SmartScript.callProcedure(SmartScript.py:1098)
    at /home/fnavejar/caveData/etc/site/LCH/gfe/userPython/procedures/ForecastBuilder.runFBsteps(ForecastBuilder.py:469)
    at /home/fnavejar/caveData/etc/site/LCH/gfe/userPython/procedures/ForecastBuilder.execute(ForecastBuilder.py:339)
    at /home/fnavejar/caveData/common/base/python/MasterInterface.runMethod(MasterInterface.py:136)
    at /awips2/cave/etc/gfe/userPython/utilities/ProcedureInterface.runProcedure(ProcedureInterface.py:105)

 

 

Error in procedure ForecastBuilderjep.JepException: jep.JepException: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'toJavaObj'
    at jep.Jep.eval(Jep.java:485)
    at com.raytheon.uf.common.python.PythonScript.internalExecute(PythonScript.java:230)
    at com.raytheon.viz.gfe.procedures.ProcedureRunnerController.executeProcedure(ProcedureRunnerController.java:108)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.execute(ProcedureJobPool.java:382)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.processRequest(ProcedureJobPool.java:346)
    at com.raytheon.viz.gfe.procedures.ProcedureJobPool$ProcedureJob.run(ProcedureJobPool.java:325)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: jep.JepException: <type 'exceptions.AttributeError'>: 'dict' object has no attribute 'toJavaObj'
    at /awips2/cave/etc/gfe/userPython/utilities/SmartScript.callProcedure(SmartScript.py:1098)
    at /home/fnavejar/caveData/etc/site/LCH/gfe/userPython/procedures/ForecastBuilder.runFBsteps(ForecastBuilder.py:469)
    at /home/fnavejar/caveData/etc/site/LCH/gfe/userPython/procedures/ForecastBuilder.execute(ForecastBuilder.py:339)
    at /home/fnavejar/caveData/common/base/python/MasterInterface.runMethod(MasterInterface.py:136)
    at /awips2/cave/etc/gfe/userPython/utilities/ProcedureInterface.runProcedure(ProcedureInterface.py:105)

 

ET
Edward Townsend, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 11 Join Date: 8/18/13 Recent Posts

Hi Felix,

Just a few follow-up questions to better help you:

  • Were the optional items working prior to this? 
  • In ForecastBuilderConfig under Utilities, what is listed in the Optional_ProcedureList list (default is Optional_ProcedureList = [Procedure1]) and what procedure is being called?
  • What version of ForecastBuilder is your SITE running? Thinking it is a long shot but there was an update in December that changed how ForecastBuilder passed along varDict to Optional procedure items.

The problem may lie in the procedure being called in Optional_ProcedureList also. Please let us know and we will get back to you asap.

Regards,

Ed Townsend  

FN
Felix Navejar, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 4 Join Date: 9/24/12 Recent Posts
  • Were the optional items working prior to this?   YES
  • In ForecastBuilderConfig under Utilities, what is listed in the Optional_ProcedureList list (default is Optional_ProcedureList = [Procedure1]) and what procedure is being called?  Optional_ProcedureList = configDict ["Optional_ProcedureList"]
  • What version of ForecastBuilder is your SITE running? Thinking it is a long shot but there was an update in December that changed how ForecastBuilder passed along varDict to Optional procedure items.   FB Utility Version 4.34  FB Config  2.3 FB Itself is 5.1
ET
Edward Townsend, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 11 Join Date: 8/18/13 Recent Posts
Felix Navejar:
  • Were the optional items working prior to this?   YES
  • In ForecastBuilderConfig under Utilities, what is listed in the Optional_ProcedureList list (default is Optional_ProcedureList = [Procedure1]) and what procedure is being called?  Optional_ProcedureList = configDict ["Optional_ProcedureList"]
  • What version of ForecastBuilder is your SITE running? Thinking it is a long shot but there was an update in December that changed how ForecastBuilder passed along varDict to Optional procedure items.   FB Utility Version 4.34  FB Config  2.3 FB Itself is 5.1

Hi Felix,

Is what you posted with respect to the ForecastBuilderUtility under Utility in localization? What do you have listed in Optional_ProcedureList under ForecastBuilderConfig?

Thanks,

Ed T

 

FN
Felix Navejar, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 4 Join Date: 9/24/12 Recent Posts

Hi Ed,

 

Answer to your questions below:

 

Is what you posted with respect to the ForecastBuilderUtility under Utility in localization? YES  What do you have listed in Optional_ProcedureList under ForecastBuilderConfig? Optional_ProcedureList = [Procedure1]

Thanks,

Ed T

 

Thanks Ed!

FN
Felix Navejar, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 4 Join Date: 9/24/12 Recent Posts

This Optional Item problem has gone away with the latest Forecast Builder we installed today.  We are now on FB 5.13, ForecastBuilderConfig 2.33,

ForecastBuilderutility 4.44. We are okay now.

 

Scratch that...we still have the problem. It appears to be associated with the Update Fire Weather Grids option. If I don't click this option, then we have no

issues with the TAF Forecast. Sorry for the headaches...we are new at this and have been weeding out the problems we find. So, what is up with the Update Fire Weather Grids option? What do we need to get that to work?

ET
Edward Townsend, modified 7 Years ago.

RE: 15Z TAF-15Z TAF Forecast Builder Error - Dies on Optional items Last St

Youngling Posts: 11 Join Date: 8/18/13 Recent Posts
Felix Navejar:

This Optional Item problem has gone away with the latest Forecast Builder we installed today.  We are now on FB 5.13, ForecastBuilderConfig 2.33,

ForecastBuilderutility 4.44. We are okay now.

 

Scratch that...we still have the problem. It appears to be associated with the Update Fire Weather Grids option. If I don't click this option, then we have no

issues with the TAF Forecast. Sorry for the headaches...we are new at this and have been weeding out the problems we find. So, what is up with the Update Fire Weather Grids option? What do we need to get that to work?

Hi Felix, 

Pardon the lack of a reply, I was on AL. 

Regarding Fire Weather, what is the FireWx_Procedure set to? To be honest, I didn't think Fire Weather was set to work with the latest released version of FB per the version on SCP as code related to it is commented out.

Maybe you folks uncommented it? Anyway, do you have the "FireWx_Procedure" set to a procedure in ForecastBuilderConfig in Localization -> GFE -> Utilities? That key will likely need to be added to the config dictionary to get fire wx to work.

In addition, that procedure is called in ForecastBuilderUtility (can be checked in Localization -> GFE -> Utilities). If so, are lines 338, and lines 1154-1156 that deal with FireWx commented out?

I may have to ping someone else on the GMAT team for this issue.

Regards,

Ed T