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

Recent updates have broken the python manage script #800

Closed
WadeBarnes opened this issue Dec 10, 2024 · 1 comment
Closed

Recent updates have broken the python manage script #800

WadeBarnes opened this issue Dec 10, 2024 · 1 comment
Assignees

Comments

@WadeBarnes
Copy link
Member

We rely on the manage.py script to do things like delete topics from the OrgBook. We run these scripts remotely in the pods.

For example the deleteTopic.sh script calls delete_topic.py through manage.py. There was a reorg of the scripts in #792 and some recent to manage.py that seem to have broken the scripts.

$ ./manage -p bc -e prod deleteTopic BC0464835
Loading settings ...

If you continue the following topic will be permanently deleted from the OrgBook database; 'BC0464835'.
Would you like to continue?  Press Ctrl-C to exit, or any other key to continue ...

Enabling realtime indexing ...
INFO:snowplow_tracker.emitters:Emitter initialized with endpoint https://spt.apps.gov.bc.ca/i
Loading custom settings file: custom_settings_bcgov.py
Unknown command: 'delete_topic'
Type 'manage.py help' for usage.
command terminated with exit code 1
An error has occurred.  Please check the previous output message(s) for details.
@esune
Copy link
Member

esune commented Dec 12, 2024

Resolved by #801

@esune esune closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants