Problem with maildump

When I tried the following:

virtualenv maildump -p /usr/bin/python2.7
./maildump/bin/pip install -U pip setuptools
./maildump/bin/pip install maildump
./maildump/bin/maildump -p /tmp/

I am getting error:

./maildump/bin/maildump -p /tmp/
Traceback (most recent call last):
  File "./maildump/bin/maildump", line 8, in <module>
  File "/home/krasytod_prestige/dev/indico/maildump/local/lib/python2.7/site-packages/maildump_runner/", line 122, in main
    daemon_kw['pidfile'] = TimeoutPIDLockFile(pidfile, 5)
  File "/home/krasytod_prestige/dev/indico/maildump/local/lib/python2.7/site-packages/daemon/", line 40, in __init__
    super().__init__(path, *args, **kwargs)
TypeError: super() takes at least 1 argument (0 given)

Is this coming from maildump or daemon package?
I can start maildump without arguments

Looks like the `daemon package made a release that only works on Python 3 without the proper metadata to prevent it from being installed on Python 2.

Anyway, just use a Python 3 virtualenv for maildump - while the stable Indico releases still require Python 2, I released a Python 3 version of maildump a few months ago.

1 Like