Skip to content

Catch arcpy import failing to get a license #63

@jacobdadams

Description

@jacobdadams

On line 32 in cli.py, from .auditor import Auditor, credentials, auditor.py then imports arcpy. If arcpy can't get a license, it raises a RuntimeError or ValueError (don't remember which).

Because these imports happen before our supervisor object is set up, it appears to bomb out silently.

Either create the supervisor before the rest of the imports, or move the imports that result in the arcpy import after the supervisor has been created.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions