polhenarejos / acme_email

ACME Email Client for EmailReply-00 Challenge
https://acme.castle.cloud
GNU General Public License v3.0
46 stars 7 forks source link

cli.py fails with strange error message #21

Closed augjoh closed 2 years ago

augjoh commented 2 years ago

When running cli.py on alpine:latest docker container it fails:

$ python3 cli.py cert --passphrase passphrase --config-dir . --work-dir . --logs-dir ./logs -e address@mail --contact contact@${HOSTNAME} --imap --host mail --port 3143 --agree-tos --login address@mail --password address@mail --host mail --smtp-port 3025 --smtp-host mail --non-interactive
An unexpected error occurred:
ModuleNotFoundError: No module named 'win32com'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmps1ar2erb/log or re-run Certbot with -v for more details.
polhenarejos commented 2 years ago

Could you upload the log file?

augjoh commented 2 years ago

There is no logfile

polhenarejos commented 2 years ago

Which commit are you using?

augjoh commented 2 years ago

I'm using commit aac619a500eeb110d02c232e6a92b6ba1056b771

polhenarejos commented 2 years ago

Do you have pywin32 installed? pip3 install pywin32

If it still does not work, try with pypiwin32 and let me know

augjoh commented 2 years ago

It's getting worse. I cannot install the client anymore:

$ pip install .
Processing /builds/platynum/certification-authority/flows/acme_email
Collecting certbot>=1.20.0
  Downloading certbot-1.21.0-py2.py3-none-any.whl (261 kB)
Collecting acme>=1.20.0
  Downloading acme-1.21.0-py2.py3-none-any.whl (46 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from certbot-castle==0.11.1.dev0) (52.0.0)
Collecting zope.interface
  Downloading zope.interface-5.4.0.tar.gz (249 kB)
Collecting imapclient
  Downloading IMAPClient-2.2.0-py2.py3-none-any.whl (179 kB)
Collecting dkimpy
  Downloading dkimpy-1.0.5.tar.gz (59 kB)
ERROR: Could not find a version that satisfies the requirement pywin32 (from certbot-castle)
ERROR: No matching distribution found for pywin32

I'm using commit 9cec45e2e9595cffc3a50a030ee8c16128d34881 on alpine:latest

polhenarejos commented 2 years ago

Are you able to install pypiwin32?