Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve_databundle fails #417

Closed
2 tasks done
energyLS opened this issue Jul 29, 2022 · 3 comments · Fixed by #420
Closed
2 tasks done

Retrieve_databundle fails #417

energyLS opened this issue Jul 29, 2022 · 3 comments · Fixed by #420
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@energyLS
Copy link
Collaborator

Checklist

  • I am using the current main branch or the latest release. Please indicate.
  • I am running on an up-to-date pypsa-africa environment. Update via conda env update -f envs/environment.yaml.

Describe the Bug

Even with a fresh repo, the retrieve_databundle rule fails: snakemake complains about missing output files.

snakemake -j1 retrieve_databundle_light --force

Please see the error message for details. Increasin the --latency-wait to 100 seconds didn't help.

snakemake -j1 retrieve_databundle_light --force --latency-wait 100

Error Message

If applicable, paste any terminal output to help illustrating your problem.
In some cases it may also be useful to share your list of installed packages: conda list.

Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job                          count    min threads    max threads
-------------------------  -------  -------------  -------------
retrieve_databundle_light        1              1              1
total                            1              1              1

Select jobs to execute...

[Fri Jul 29 12:00:33 2022]
rule retrieve_databundle_light:
    output: data/costs.csv, data/eez/eez_v11.gpkg, data/hydro_capacities.csv, data/natura.tiff, cutouts/africa-2013-era5.nc, data/gebco/GEBCO_2021_TID.nc, data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/custom_powerplants.csv, data/landcover
    log: logs/retrieve_databundle.log
    jobid: 0
    reason: Forced execution
    resources: tmpdir=/tmp

Waiting at most 100 seconds for missing files.
MissingOutputException in line 122 of /mnt/c/Users/scl38887/Documents/git/pypsa-africa/Snakefile:
Job Missing files after 100 seconds. This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait:
data/eez/eez_v11.gpkg
data/gebco/GEBCO_2021_TID.nc
data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif completed successfully, but some output files are missing. 0
Removing output files of failed job retrieve_databundle_light since they might be corrupted:
data/costs.csv, data/hydro_capacities.csv, data/natura.tiff, cutouts/africa-2013-era5.nc, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/custom_powerplants.csv, data/landcover
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2022-07-29T120031.343377.snakemake.log
@energyLS energyLS added bug Something isn't working help wanted Extra attention is needed labels Jul 29, 2022
@davide-f
Copy link
Member

@energyLS On it! I'll fix it in the coming hour

@davide-f
Copy link
Member

@energyLS Thanks for noticing! now the problem should be fixed

@energyLS
Copy link
Collaborator Author

Yes. Just tried it, it's fixed. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants