mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
d7d2bcb7a3
Currently this would throw on a fresh install with an error similar to ``` │ posthog-events Migration would get applied: 0024_materialize_window_and_session_id │ │ posthog-events Traceback (most recent call last): │ │ posthog-events File "manage.py", line 21, in <module> │ │ posthog-events main() │ │ posthog-events File "manage.py", line 17, in main │ │ posthog-events execute_from_command_line(sys.argv) │ │ posthog-events File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", li │ │ posthog-events utility.execute() │ │ posthog-events File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", li │ │ posthog-events self.fetch_command(subcommand).run_from_argv(self.argv) │ │ posthog-events File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 3 │ │ posthog-events self.execute(*args, **cmd_options) │ │ posthog-events File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 3 │ │ posthog-events output = self.handle(*args, **options) │ │ posthog-events File "/home/posthog/code/ee/management/commands/migrate_clickhouse.py", line 41, in │ │ posthog-events self.migrate(CLICKHOUSE_HTTP_URL, options) │ │ posthog-events File "/home/posthog/code/ee/management/commands/migrate_clickhouse.py", line 57, in │ │ posthog-events sql = getattr(op, "_sql") │ │ posthog-events AttributeError: 'RunPython' object has no attribute '_sql' ``` This is due to the command not working with `RunPython` commands. |
||
---|---|---|
.. | ||
commands |