rtshome / pgrepup

Pgrepup is a tool for upgrading through PostgreSQL major versions using logical replication and pglogical extension
GNU General Public License v3.0
37 stars 9 forks source link

TypeError: setup() takes no arguments (14 given) #19

Open Tatikoma opened 3 years ago

Tatikoma commented 3 years ago

I'm not python programmer and i think that my fix is very strange. But it works.

$ pgrepup setup
Pgrepup 0.3.10
Traceback (most recent call last):
  File "/usr/local/bin/pgrepup", line 25, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/pgrepup/cli.py", line 64, in main
    dispatch(__doc__)
  File "/usr/local/lib/python2.7/dist-packages/pgrepup/helpers/docopt_dispatch.py", line 39, in __call__
    function(**self._kwargify(arguments))
TypeError: setup() takes no arguments (14 given)