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

Unhandled exception in generate_docs() #581

Closed
katzj-amzn opened this issue Sep 18, 2020 · 3 comments
Closed

Unhandled exception in generate_docs() #581

katzj-amzn opened this issue Sep 18, 2020 · 3 comments
Labels
question Further information is requested

Comments

@katzj-amzn
Copy link

katzj-amzn commented Sep 18, 2020

[2020-09-18T16:31:39Z] DEBUG    - Logging set up successfully
[2020-09-18T16:31:39Z] DEBUG    - Running generate: Namespace(command=<function generate at 0x1064ac1f0>, subparser_name='generate', verbose=0, version=False)
[2020-09-18T16:31:39Z] DEBUG    - Root directory: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard
[2020-09-18T16:31:39Z] DEBUG    - Loading project file '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/.rpdk-config'
[2020-09-18T16:31:39Z] INFO     - Validating your resource schema...
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardBehavior' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardBehavior'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardBehavior' to '(<BASE>, 'definitions', 'DashboardBehavior')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'AdHocFilteringOption', 'properties', 'AvailabilityStatus')' to '(<BASE>, 'definitions', 'DashboardBehavior')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardErrorType' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardErrorType'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardErrorType' to '(<BASE>, 'definitions', 'DashboardErrorType')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardError', 'properties', 'Type')' to '(<BASE>, 'definitions', 'DashboardErrorType')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/SheetControlsOption' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/SheetControlsOption'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/SheetControlsOption' to '(<BASE>, 'definitions', 'SheetControlsOption')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'SheetControlsOption')' to '(<BASE>, 'definitions', 'SheetControlsOption')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardUIState' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardUIState'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardUIState' to '(<BASE>, 'definitions', 'DashboardUIState')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'SheetControlsOption', 'properties', 'VisibilityState')' to '(<BASE>, 'definitions', 'DashboardUIState')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/ExportToCSVOption' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ExportToCSVOption'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ExportToCSVOption' to '(<BASE>, 'definitions', 'ExportToCSVOption')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'ExportToCSVOption')' to '(<BASE>, 'definitions', 'ExportToCSVOption')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardBehavior' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardBehavior'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardBehavior' to '(<BASE>, 'definitions', 'DashboardBehavior')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'ExportToCSVOption', 'properties', 'AvailabilityStatus')' to '(<BASE>, 'definitions', 'DashboardBehavior')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/AdHocFilteringOption' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/AdHocFilteringOption'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/AdHocFilteringOption' to '(<BASE>, 'definitions', 'AdHocFilteringOption')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'AdHocFilteringOption')' to '(<BASE>, 'definitions', 'AdHocFilteringOption')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'AdHocFilteringOption', 'properties', 'AvailabilityStatus')' (#/definitions/DashboardBehavior)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardSourceTemplate' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardSourceTemplate'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardSourceTemplate' to '(<BASE>, 'definitions', 'DashboardSourceTemplate')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardSourceEntity', 'properties', 'SourceTemplate')' to '(<BASE>, 'definitions', 'DashboardSourceTemplate')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DataSetReference' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DataSetReference'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DataSetReference' to '(<BASE>, 'definitions', 'DataSetReference')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardSourceTemplate', 'properties', 'DataSetReferences', 'items')' to '(<BASE>, 'definitions', 'DataSetReference')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardSourceTemplate', 'properties', 'DataSetReferences', 'items')' (#/definitions/DataSetReference)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/ResourceStatus' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ResourceStatus'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ResourceStatus' to '(<BASE>, 'definitions', 'ResourceStatus')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Status')' to '(<BASE>, 'definitions', 'ResourceStatus')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardError' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardError'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardError' to '(<BASE>, 'definitions', 'DashboardError')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Errors', 'items')' to '(<BASE>, 'definitions', 'DashboardError')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardError', 'properties', 'Type')' (#/definitions/DashboardErrorType)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/Sheet' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Sheet'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Sheet' to '(<BASE>, 'definitions', 'Sheet')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Sheets', 'items')' to '(<BASE>, 'definitions', 'Sheet')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'ExportToCSVOption', 'properties', 'AvailabilityStatus')' (#/definitions/DashboardBehavior)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DecimalParameter' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DecimalParameter'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DecimalParameter' to '(<BASE>, 'definitions', 'DecimalParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'Parameters', 'properties', 'DecimalParameters', 'items')' to '(<BASE>, 'definitions', 'DecimalParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/StringParameter' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/StringParameter'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/StringParameter' to '(<BASE>, 'definitions', 'StringParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'Parameters', 'properties', 'StringParameters', 'items')' to '(<BASE>, 'definitions', 'StringParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/IntegerParameter' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/IntegerParameter'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/IntegerParameter' to '(<BASE>, 'definitions', 'IntegerParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'Parameters', 'properties', 'IntegerParameters', 'items')' to '(<BASE>, 'definitions', 'IntegerParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DateTimeParameter' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DateTimeParameter'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DateTimeParameter' to '(<BASE>, 'definitions', 'DateTimeParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'definitions', 'Parameters', 'properties', 'DateTimeParameters', 'items')' to '(<BASE>, 'definitions', 'DateTimeParameter')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'SheetControlsOption', 'properties', 'VisibilityState')' (#/definitions/DashboardUIState)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardPublishOptions' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardPublishOptions'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardPublishOptions' to '(<BASE>, 'definitions', 'DashboardPublishOptions')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'DashboardPublishOptions')' to '(<BASE>, 'definitions', 'DashboardPublishOptions')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'SheetControlsOption')' (#/definitions/SheetControlsOption)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'ExportToCSVOption')' (#/definitions/ExportToCSVOption)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardPublishOptions', 'properties', 'AdHocFilteringOption')' (#/definitions/AdHocFilteringOption)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/Parameters' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Parameters'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Parameters' to '(<BASE>, 'definitions', 'Parameters')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'Parameters')' to '(<BASE>, 'definitions', 'Parameters')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'Parameters', 'properties', 'DecimalParameters', 'items')' (#/definitions/DecimalParameter)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'Parameters', 'properties', 'StringParameters', 'items')' (#/definitions/StringParameter)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'Parameters', 'properties', 'IntegerParameters', 'items')' (#/definitions/IntegerParameter)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'Parameters', 'properties', 'DateTimeParameters', 'items')' (#/definitions/DateTimeParameter)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/ResourcePermission' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ResourcePermission'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/ResourcePermission' to '(<BASE>, 'definitions', 'ResourcePermission')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'Permissions', 'items')' to '(<BASE>, 'definitions', 'ResourcePermission')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardSourceEntity' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardSourceEntity'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardSourceEntity' to '(<BASE>, 'definitions', 'DashboardSourceEntity')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'SourceEntity')' to '(<BASE>, 'definitions', 'DashboardSourceEntity')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardSourceEntity', 'properties', 'SourceTemplate')' (#/definitions/DashboardSourceTemplate)
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/Tag' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Tag'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/Tag' to '(<BASE>, 'definitions', 'Tag')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'Tags', 'items')' to '(<BASE>, 'definitions', 'Tag')'
[2020-09-18T16:31:39Z] DEBUG    - Resolved '#/definitions/DashboardVersion' to 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardVersion'
[2020-09-18T16:31:39Z] DEBUG    - Parsed 'file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json#/definitions/DashboardVersion' to '(<BASE>, 'definitions', 'DashboardVersion')'
[2020-09-18T16:31:39Z] DEBUG    - Edge from '(<BASE>, 'properties', 'Version')' to '(<BASE>, 'definitions', 'DashboardVersion')'
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Status')' (#/definitions/ResourceStatus)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Errors', 'items')' (#/definitions/DashboardError)
[2020-09-18T16:31:39Z] DEBUG    - Already visited '(<BASE>, 'definitions', 'DashboardVersion', 'properties', 'Sheets', 'items')' (#/definitions/Sheet)
[2020-09-18T16:31:39Z] DEBUG    - Rewriting refs in '<BASE>' (file:///Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/aws-quicksight-dashboard.json)
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardBehavior' -> '#/definitions/DashboardBehavior'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardErrorType' -> '#/definitions/DashboardErrorType'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/SheetControlsOption' -> '#/definitions/SheetControlsOption'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardUIState' -> '#/definitions/DashboardUIState'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/ExportToCSVOption' -> '#/definitions/ExportToCSVOption'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardBehavior' -> '#/definitions/DashboardBehavior'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/AdHocFilteringOption' -> '#/definitions/AdHocFilteringOption'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardSourceTemplate' -> '#/definitions/DashboardSourceTemplate'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DataSetReference' -> '#/definitions/DataSetReference'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/ResourceStatus' -> '#/definitions/ResourceStatus'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardError' -> '#/definitions/DashboardError'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/Sheet' -> '#/definitions/Sheet'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DecimalParameter' -> '#/definitions/DecimalParameter'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/StringParameter' -> '#/definitions/StringParameter'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/IntegerParameter' -> '#/definitions/IntegerParameter'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DateTimeParameter' -> '#/definitions/DateTimeParameter'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardPublishOptions' -> '#/definitions/DashboardPublishOptions'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/Parameters' -> '#/definitions/Parameters'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/ResourcePermission' -> '#/definitions/ResourcePermission'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardSourceEntity' -> '#/definitions/DashboardSourceEntity'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/Tag' -> '#/definitions/Tag'
[2020-09-18T16:31:39Z] DEBUG    -   '#/definitions/DashboardVersion' -> '#/definitions/DashboardVersion'
[2020-09-18T16:31:39Z] DEBUG    - Generate started
[2020-09-18T16:31:39Z] DEBUG    - Removing generated sources: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk
[2020-09-18T16:31:39Z] DEBUG    - Removing generated tests: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-test-sources/rpdk
[2020-09-18T16:31:39Z] DEBUG    - Making generated folder structure: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard
[2020-09-18T16:31:39Z] DEBUG    - Making generated tests folder structure: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-test-sources/rpdk/com/amazonaws/quicksight/dashboard
[2020-09-18T16:31:39Z] DEBUG    - Writing handler wrapper: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/HandlerWrapper.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/HandlerWrapper.java'
[2020-09-18T16:31:39Z] DEBUG    - Writing base configuration: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/BaseConfiguration.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/BaseConfiguration.java'
[2020-09-18T16:31:39Z] DEBUG    - Writing base handler: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/BaseHandler.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/BaseHandler.java'
[2020-09-18T16:31:39Z] DEBUG    - Writing 18 POJOs
[2020-09-18T16:31:39Z] DEBUG    - ResourceModel POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ResourceModel.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ResourceModel.java'
[2020-09-18T16:31:39Z] DEBUG    - DashboardPublishOptions POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardPublishOptions.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardPublishOptions.java'
[2020-09-18T16:31:39Z] DEBUG    - SheetControlsOption POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/SheetControlsOption.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/SheetControlsOption.java'
[2020-09-18T16:31:39Z] DEBUG    - ExportToCSVOption POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ExportToCSVOption.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ExportToCSVOption.java'
[2020-09-18T16:31:39Z] DEBUG    - AdHocFilteringOption POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/AdHocFilteringOption.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/AdHocFilteringOption.java'
[2020-09-18T16:31:39Z] DEBUG    - Parameters POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Parameters.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Parameters.java'
[2020-09-18T16:31:39Z] DEBUG    - DecimalParameter POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DecimalParameter.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DecimalParameter.java'
[2020-09-18T16:31:39Z] DEBUG    - StringParameter POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/StringParameter.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/StringParameter.java'
[2020-09-18T16:31:39Z] DEBUG    - IntegerParameter POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/IntegerParameter.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/IntegerParameter.java'
[2020-09-18T16:31:39Z] DEBUG    - DateTimeParameter POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DateTimeParameter.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DateTimeParameter.java'
[2020-09-18T16:31:39Z] DEBUG    - ResourcePermission POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ResourcePermission.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/ResourcePermission.java'
[2020-09-18T16:31:39Z] DEBUG    - DashboardSourceEntity POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardSourceEntity.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardSourceEntity.java'
[2020-09-18T16:31:39Z] DEBUG    - DashboardSourceTemplate POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardSourceTemplate.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardSourceTemplate.java'
[2020-09-18T16:31:39Z] DEBUG    - DataSetReference POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DataSetReference.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DataSetReference.java'
[2020-09-18T16:31:39Z] DEBUG    - Tag POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Tag.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Tag.java'
[2020-09-18T16:31:39Z] DEBUG    - DashboardVersion POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardVersion.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardVersion.java'
[2020-09-18T16:31:39Z] DEBUG    - DashboardError POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardError.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/DashboardError.java'
[2020-09-18T16:31:39Z] DEBUG    - Sheet POJO: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Sheet.java
[2020-09-18T16:31:39Z] DEBUG    - Overwriting '/Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/target/generated-sources/rpdk/com/amazonaws/quicksight/dashboard/Sheet.java'
[2020-09-18T16:31:39Z] DEBUG    - Generate complete
[2020-09-18T16:31:39Z] DEBUG    - Generate complete
[2020-09-18T16:31:39Z] DEBUG    - Removing generated docs: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs
[2020-09-18T16:31:39Z] DEBUG    - Writing generated docs
[2020-09-18T16:31:39Z] DEBUG    - Writing docs sheetcontrolsoption.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/sheetcontrolsoption.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs exporttocsvoption.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/exporttocsvoption.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs adhocfilteringoption.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/adhocfilteringoption.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs dashboardpublishoptions.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/dashboardpublishoptions.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs decimalparameter.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/decimalparameter.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs stringparameter.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/stringparameter.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs integerparameter.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/integerparameter.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs datetimeparameter.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/datetimeparameter.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs parameters.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/parameters.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs resourcepermission.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/resourcepermission.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs datasetreference.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/datasetreference.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs dashboardsourcetemplate.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/dashboardsourcetemplate.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs dashboardsourceentity.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/dashboardsourceentity.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs tag.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/tag.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs dashboarderror.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/dashboarderror.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs sheet.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/sheet.md
[2020-09-18T16:31:39Z] DEBUG    - Writing docs dashboardversion.md: /Users/katzj/workplace/Cfn/aws-cloudformation-resource-providers-quicksight/aws-quicksight-dashboard/docs/dashboardversion.md
[2020-09-18T16:31:39Z] DEBUG    - Finished documenting nested properties
[2020-09-18T16:31:39Z] DEBUG    - Unhandled exception
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/cli.py", line 98, in main
    args.command(args)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/generate.py", line 16, in generate
    project.generate_docs()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/project.py", line 415, in generate_docs
    getatt = self._get_docs_gettable_atts(docs_schema)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/project.py", line 453, in _get_docs_gettable_atts
    return [
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/project.py", line 454, in <listcomp>
    _get_property_description(prop)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/project.py", line 443, in _get_property_description
    path = fragment_decode(prop, prefix="")
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/rpdk/core/jsonutils/pointer.py", line 96, in fragment_decode
    raise ValueError("Expected prefix '{}', but was '{}'".format(prefix, actual))
ValueError: Expected prefix '', but was '#'
@PatMyron PatMyron changed the title === Unhandled exception === Unhandled exception in generate_docs() Sep 22, 2020
@PatMyron
Copy link
Contributor

def _get_docs_gettable_atts(docs_schema):
def _get_property_description(prop):
path = fragment_decode(prop, prefix="")

@iann0036 #367 any ideas?


If an urgent workaround is needed, you should be able to install a locally modified version without generate_docs():

git clone https://github.com/aws-cloudformation/cloudformation-cli/
cd cloudformation-cli
gsed -i 's/project.generate_docs()//' src/rpdk/core/generate.py # removing line
pip3 install -e .

project.generate_docs()

@iann0036
Copy link
Contributor

iann0036 commented Sep 22, 2020

I believe this might happen if you have a JSON pointer without the leading slash, i.e.

/definitions/PropName

instead of

#/definitions/PropName

in your JSON schema. Might need a copy of the working schema to reproduce.

@ammokhov ammokhov added the question Further information is requested label Oct 5, 2020
@anshikg
Copy link
Contributor

anshikg commented Jan 19, 2021

Thanks for the reply @iann0036. @katzj-amzn is this still an issue? Feel free to reopen this issue if this problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants