Project

Profile

Help

Issue #8235

closed

AttributeError: 'Settings' object has no attribute 'CONTENT_ORIGIN'

Added by daviddavis about 3 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1968":https://github.com/pulp/pulpcore/issues/1968


Reproducer:

  1. Have pulpcore and pulp_ansible installed
  2. Unset CONTENT_ORIGIN in your settings file.

Observe that you get an ugly AttributeError instead of the user friendly error that pulpcore raises.

This is caused because pulpcore loads the plugin settings before checking if CONTENT_ORIGIN is defined.

Also available in: Atom PDF