how to unhold a hold message from a nonmmeber in hold list.
I'm having troubles with Django and cannot access to web admin.
I need to unhold a message while figures out what is happening.
Searching the mailman cli help commands didn't help me.
Anyone who knows how to unhold a message, please?
Thanks in advance
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.
On Fri, Apr 21, 2023 at 11:20 AM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
I'm having troubles with Django and cannot access to web admin.
I need to unhold a message while figures out what is happening.
Searching the mailman cli help commands didn't help me.
Anyone who knows how to unhold a message, please?
TBH, I find it a lot easier to fix the web UI than mess with the python shell :-)
While you wait for @Mark Sapiro <mark@msapiro.net> to save you, you can be reading the following:
https://docs.mailman3.org/projects/mailmanclient/en/latest/src/mailmanclient...
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
El 21/4/23 a las 10:37, Odhiambo Washington escribió:
On Fri, Apr 21, 2023 at 11:20 AM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
I'm having troubles with Django and cannot access to web admin. I need to unhold a message while figures out what is happening. Searching the mailman cli help commands didn't help me. Anyone who knows how to unhold a message, please?
TBH, I find it a lot easier to fix the web UI than mess with the python shell :-)
While you wait for @Mark Sapiro <mailto:mark@msapiro.net> to save you, you can be reading the following:
https://docs.mailman3.org/projects/mailmanclient/en/latest/src/mailmanclient...
Thanks: it seems the place to do it (I didn't find it)
I'm fighting the web UI problem. It seems that something in wsgi has changed and is no more compatible with my version of things. Error log from apache shows:
mod_wsgi (pid=30632): Failed to exec Python script file '/usr/local/mailman3/wsgi.py'. mod_wsgi (pid=30632): Exception occurred processing WSGI script '/usr/local/mailman3/wsgi.py'. Traceback (most recent call last): File "/usr/local/mailman3/wsgi.py", line 34, in <module> from django.core.wsgi import get_wsgi_application File "/usr/local/lib/python3.9/site-packages/django/core/wsgi.py", line 2, in <module> from django.core.handlers.wsgi import WSGIHandler File "/usr/local/lib/python3.9/site-packages/django/core/handlers/wsgi.py", line 3, in <module> from django.conf import settings File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 19, in <module> from django.utils.deprecation import RemovedInDjango50Warning, RemovedInDjango51Warning File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 4, in <module> from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async ImportError: cannot import name 'iscoroutinefunction' from 'asgiref.sync' (/usr/local/lib/python3.9/site-packages/asgiref/sync.py)
Yesterday all were running without problems, today is another day X)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.
On Fri, Apr 21, 2023 at 12:04 PM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
El 21/4/23 a las 10:37, Odhiambo Washington escribió:
On Fri, Apr 21, 2023 at 11:20 AM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
I'm having troubles with Django and cannot access to web admin. I need to unhold a message while figures out what is happening. Searching the mailman cli help commands didn't help me. Anyone who knows how to unhold a message, please?
TBH, I find it a lot easier to fix the web UI than mess with the python shell :-)
While you wait for @Mark Sapiro <mailto:mark@msapiro.net> to save you, you can be reading the following:
https://docs.mailman3.org/projects/mailmanclient/en/latest/src/mailmanclient...
Thanks: it seems the place to do it (I didn't find it)
I'm fighting the web UI problem. It seems that something in wsgi has changed and is no more compatible with my version of things. Error log from apache shows:
mod_wsgi (pid=30632): Failed to exec Python script file '/usr/local/mailman3/wsgi.py'. mod_wsgi (pid=30632): Exception occurred processing WSGI script '/usr/local/mailman3/wsgi.py'. Traceback (most recent call last): File "/usr/local/mailman3/wsgi.py", line 34, in <module> from django.core.wsgi import get_wsgi_application File "/usr/local/lib/python3.9/site-packages/django/core/wsgi.py", line 2, in <module> from django.core.handlers.wsgi import WSGIHandler File "/usr/local/lib/python3.9/site-packages/django/core/handlers/wsgi.py", line 3, in <module> from django.conf import settings File "/usr/local/lib/python3.9/site-packages/django/conf/__init__.py", line 19, in <module> from django.utils.deprecation import RemovedInDjango50Warning, RemovedInDjango51Warning File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 4, in <module> from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async ImportError: cannot import name 'iscoroutinefunction' from 'asgiref.sync' (/usr/local/lib/python3.9/site-packages/asgiref/sync.py)
If you did some system updates then that is where you need to check. Obviously, something did update, leading to the breakage.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
El 21/4/23 a las 11:03, Guillermo Hernandez (Oldno7) via Mailman-users escribió:
El 21/4/23 a las 10:37, Odhiambo Washington escribió:
On Fri, Apr 21, 2023 at 11:20 AM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
I'm having troubles with Django and cannot access to web admin.
I need to unhold a message while figures out what is happening.
Searching the mailman cli help commands didn't help me.
Anyone who knows how to unhold a message, please?
TBH, I find it a lot easier to fix the web UI than mess with the python shell :-)
Well... I found you where right. Messing with the CLI seems a nightmare to me.
The problem with the UI seems solved. What I finally have done:
Detected that the module "asgiref" was in a different version that the server (with all the same config) that is working. pip upgraded it. This didn't work, but it raised new error messages (about hyperkitty parsing messages)
Installed pip-review and upgraded ALL python modules with pip-review --local --interactive
(Re)upgraded all mailman3 packages with
pip install --upgrade --force-reinstall --no-deps --no-cache-dir django-mailman3 mailman mailman-hyperkitty mailmanclient postorius django hyperkitty uwsgi mod-wsgi
Restarted apache24
And then all begun to work.
Thanks a lot for your advising and help.
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.
On Fri, Apr 21, 2023 at 1:27 PM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
El 21/4/23 a las 11:03, Guillermo Hernandez (Oldno7) via Mailman-users escribió:
El 21/4/23 a las 10:37, Odhiambo Washington escribió:
On Fri, Apr 21, 2023 at 11:20 AM Guillermo Hernandez (Oldno7) via Mailman-users <mailman-users@mailman3.org> wrote:
I'm having troubles with Django and cannot access to web admin. I need to unhold a message while figures out what is happening. Searching the mailman cli help commands didn't help me. Anyone who knows how to unhold a message, please?
TBH, I find it a lot easier to fix the web UI than mess with the python shell :-)
Well... I found you where right. Messing with the CLI seems a nightmare to me.
The problem with the UI seems solved. What I finally have done:
Detected that the module "asgiref" was in a different version that the server (with all the same config) that is working. pip upgraded it. This didn't work, but it raised new error messages (about hyperkitty parsing messages)
Installed pip-review and upgraded ALL python modules with pip-review --local --interactive
(Re)upgraded all mailman3 packages with
pip install --upgrade --force-reinstall --no-deps --no-cache-dir django-mailman3 mailman mailman-hyperkitty mailmanclient postorius django hyperkitty uwsgi mod-wsgi
Restarted apache24
And then all begun to work.
Thanks a lot for your advising and help.
Do you now see why a virtualenv style of setup will save you lots of grief? :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On 4/21/23 1:19 AM, Guillermo Hernandez (Oldno7) via Mailman-users wrote:
I'm having troubles with Django and cannot access to web admin.
I need to unhold a message while figures out what is happening.
Searching the mailman cli help commands didn't help me.
Anyone who knows how to unhold a message, please?
See this post https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
El 21/4/23 a las 14:29, Mark Sapiro escribió:
On 4/21/23 1:19 AM, Guillermo Hernandez (Oldno7) via Mailman-users wrote:
I'm having troubles with Django and cannot access to web admin.
I need to unhold a message while figures out what is happening.
Searching the mailman cli help commands didn't help me.
Anyone who knows how to unhold a message, please?
See this post https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Thanks, Mark. That could have been a life saver if I hadn't reset the UI.
I'm writing it down for a future need.
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.
participants (3)
-
Guillermo Hernandez (Oldno7)
-
Mark Sapiro
-
Odhiambo Washington