You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some lines are not executable as is,
but most of all I'm stuck here:
$ chameleon add_source --config default
/home/xy/.local/bin/chameleon.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import get_distribution
You must specify a source name with the argument --source
$chameleon add_source --config default --source example
/home/xy/.local/bin/chameleon.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import get_distribution
Traceback (most recent call last):
File "/home/xy/.local/bin/chameleon", line 5, in<module>exec(compile(open(__file__).read(), __file__, 'exec'))
File "/home/xy/.local/bin/chameleon.py", line 61, in<module>
getattr(replica, args.command)()
File "/home/xy/.local/lib/python3.12/site-packages/pg_chameleon/lib/global_lib.py", line 301, in add_source
self.pg_engine.add_source()
File "/home/xy/.local/lib/python3.12/site-packages/pg_chameleon/lib/pg_lib.py", line 2264, in add_source
check_mappings = self.check_schema_mappings()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xy/.local/lib/python3.12/site-packages/pg_chameleon/lib/pg_lib.py", line 2198, in check_schema_mappings
schema_mappings = json.dumps(self.sources[self.source]["schema_mappings"])
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'example'
for more detail, these line make my mysql not able to restart :
The documentation doesn't seem very clear to me,
I've already had a bit of trouble finding this page :
https://pgchameleon.org/documents/usage.html#example
some lines are not executable as is,
but most of all I'm stuck here:
for more detail, these line make my mysql not able to restart :
and i cannot run this as is :
because of :
CREATE DATABASE cannot run inside a transaction block
so this require to use psql and -c option
The text was updated successfully, but these errors were encountered: