eqasim-org / ile-de-france

An open synthetic population of Île-de-France for agent-based transport simulation
GNU General Public License v2.0
51 stars 71 forks source link

Synthesis.locations.home.locations is not a supported object for pipeline stage definition! #253

Closed diallitoz closed 3 months ago

diallitoz commented 3 months ago

Hi,

I am trying to use the new version of the pipeline to generate synthttic population.

I got the following error File "/work/home/.conda/envs/ile-de-france_v2/lib/python3.10/site-packages/synpp/pipeline.py", line 418, in process_stages raise PipelineError(f"{definition['descriptor']} is not a supported object for pipeline stage definition!") synpp.general.PipelineError: synthesis.locations.home.locations is not a supported object for pipeline stage definition!

Any idea?

Best

vincent-leblond commented 3 months ago

Hi, I don't have much idea. However you may start by making sure that you have the correction python package version : reinstall the conda environment.

diallitoz commented 3 months ago

Hi, I don't have much idea. However you may start by making sure that you have the correction python package version : reinstall the conda environment.

Thanks for your answer. Ok I will reinstall my virtual environment. It is still curious that the other stages run perfectly that it is the one that does not pass.

diallitoz commented 3 months ago

Hi, I don't have much idea. However you may start by making sure that you have the correction python package version : reinstall the conda environment.

Hi, I don't have much idea. However you may start by making sure that you have the correction python package version : reinstall the conda environment.

Thanks for your answer. Ok I will reinstall my virtual environment. It is still curious that the other stages run perfectly that it is the one that does not pass.

Finally, I cloned the project again and relaunched the pipeline directly in the cloned folder. Everything ran fine this time.

Before, I had not used the cloned project but copied the new data into an old repo to have the current version of the pipeline. Maybe that's where the bug comes from.

Thanks again Vincent!

sebhoerl commented 3 months ago

I noticed that some people put the input files into the data folder of the cloned repository, is this what you did? Maybe we should clarify somewhere in the documentation that this is not the idea, but the point is to separate the cloned repository completely from the data and have the data in a separate folder. :)

diallitoz commented 3 months ago

I noticed that some people put the input files into the data folder of the cloned repository, is this what you did? Maybe we should clarify somewhere in the documentation that this is not the idea, but the point is to separate the cloned repository completely from the data and have the data in a separate folder. :)

I put the input files in a different folder than the cloned repo. It is indeed good to specify it to avoid confusion. :)