Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Clean up non-terminal exception #439

Description

@cmc333333

I think this occurs when requesting a layer that returns a 404.

Traceback (most recent call last):
  File "/opt/python/3.5.0/lib/python3.5/threading.py", line 923, in _bootstrap_inner
    self.run()
  File "/opt/python/3.5.0/lib/python3.5/threading.py", line 871, in run
    self._target(*self._args, **self._kwargs)
  File "/home/travis/build/eregs/regulations-site/regulations/generator/generator.py", line 60, in one_layer
    version)
  File "/home/travis/build/eregs/regulations-site/regulations/generator/generator.py", line 107, in get_layer_json
    layer_json = dict(newer_layer)  # copy
TypeError: 'NoneType' object is not iterable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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