Skip to content

Fiona error #1

@Heronimonimo

Description

@Heronimonimo

After first setup following the readme I run into the following issue when running snakemake:

File "/home/pypsa/pypsa-eur/.snakemake/scripts/tmpd0ajxt9a.build_shapes.py", line 21, in _get_country
    return getattr(pyc.countries.get(**keys), target)
AttributeError: 'NoneType' object has no attribute 'alpha_3'
[Thu Feb  7 10:32:17 2019]
Error in rule build_shapes:
    jobid: 14
    output: resources/country_shapes.geojson, resources/offshore_shapes.geojson, resources/europe_shape.geojson, resources/nuts3_shapes.geojson

RuleException:
CalledProcessError in line 81 of /home/pypsa/pypsa-eur/Snakefile:
Command ' set -euo pipefail;  /home/.conda/envs/pypsa-eur/bin/python3.6 /home/pypsa/pypsa-eur/.snakemake/scripts/tmpd0ajxt9a.build_shapes.py ' returned non-zero exit status 1.
  File "/home/pypsa/pypsa-eur/Snakefile", line 81, in __rule_build_shapes
  File "/home/.conda/envs/pypsa-eur/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job build_shapes since they might be corrupted:
resources/country_shapes.geojson
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/pypsa/pypsa-eur/.snakemake/log/2019-02-07T102832.252956.snakemake.log

I've tried going back to Fiona 1.8.3 instead of 1.8.4, but that doesn't seem to solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions