PredictiveEcology / SpaDES

R package for developing and running Spatial Discrete Event Simulation models
https://spades.predictiveecology.org
Other
55 stars 21 forks source link

inputMapPolygon not found #357

Closed wdelva closed 4 years ago

wdelva commented 5 years ago

When trying to run the code of your Sept 22, 2018 workshop "What is SpaDES?" (http://spades-workshops.predictiveecology.org/articles/WhatIsSpades.html) I encountered the problem below. All the lines prior to the spades(...) lines run without any issues.

Many thanks in advance for having a look at what might be the problem. Best regards,

Wim

Browse[1]> mySim2 <- spades(mySim, debug = TRUE)   # set debug = TRUE to print simulation steps.
This is the current event, printed as it is happening:
eventTime moduleName eventType eventPriority
1         checkpoint init      5            
1         save       init      5            
1         progress   init      5            
1         load       init      5            
1         cropReprojectLccAge init      5            
Error during wrapup: object 'inputMapPolygon' not found
Because of an interrupted spades call, the sim object at the time of interruption  was saved in 
SpaDES.core:::.pkgEnv$.sim . It will be deleted on next call to spades
achubaty commented 5 years ago

Thanks Wim. I am hitting the same error, though the object exists in the simList, so I'm not sure what's going on. Will take a closer look and get back to you.