cwlls opened a new issue, #281:
URL: https://github.com/apache/incubator-ponymail-foal/issues/281

   In walking through the DOCKER.md documentation I get the following error 
messaging when I try to execute `# python3 main.py --testendpoints`
   
   ```
   root@a21b1f16a9ef:/var/www/ponymail/server# python3 main.py --testendpoints
   ==== Apache Pony Mail (Foal v/0.1.0 ~c4a3500) starting... ====
   ** Loading additional testing endpoints **
   Registered endpoint /api/testauth
   
   Could not find entry point 'register()' in __init__.py, skipping!
   Registered endpoint /api/compose
   Registered endpoint /api/email
   Registered endpoint /api/gravatar
   Registered endpoint /api/mbox
   Registered endpoint /api/mgmt
   Traceback (most recent call last):
     File "/var/www/ponymail/server/main.py", line 295, in <module>
       Server(cliargs).run()
       ^^^^^^^^^^^^^^^
     File "/var/www/ponymail/server/main.py", line 99, in __init__
       self._load_endpoint("endpoints")
     File "/var/www/ponymail/server/main.py", line 59, in _load_endpoint
       m = importlib.import_module(f"{subdir}.{endpoint}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
     File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 995, in exec_module
     File "<frozen importlib._bootstrap>", line 488, in 
_call_with_frames_removed
     File "/var/www/ponymail/server/endpoints/oauth.py", line 23, in <module>
       import plugins.oauthGoogle
     File "/var/www/ponymail/server/plugins/oauthGoogle.py", line 28, in 
<module>
       import google.auth.transport.urllib3 # type: ignore
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/usr/local/lib/python3.12/dist-packages/google/auth/transport/urllib3.py", 
line 43, in <module>
       from packaging import version  # type: ignore
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ModuleNotFoundError: No module named 'packaging'
   ```
   
   The issue is resolved when the `python3-packaging` package is installed. 
Presumably the `packaging` pip needs to be added to one of the 
`requirements.txt` files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@ponymail.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to