I am sending the detailed issue from the console keeping DEBUG = True . I have already tried updating dependencies but that did not work. Is this problem regarding Postorius and Hyperkitty using same smpt port ? (as mentioned in the documentation that this might create issue )
ERROR: Internal Server Error: /postorius/lists/ Traceback (most recent call last): File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py", line 126, in _get_response response = self.process_exception_by_middleware(e, request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py", line 124, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/root/mailman/postorius/src/postorius/views/list.py", line 696, in list_index return list_index_authenticated(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/root/mailman/postorius/src/postorius/views/list.py", line 652, in list_index_authenticated choosable_domains = _get_choosable_domains(request) File "/root/mailman/postorius/src/postorius/views/list.py", line 558, in _get_choosable_domains domains = Domain.objects.all() File "/root/mailman/postorius/src/postorius/models.py", line 77, in all return getattr(get_mailman_client(), self.resource_name_plural) File "/root/mailman/mailmanclient/src/mailmanclient/client.py", line 190, in domains response, content = self._connection.call('domains') File "/root/mailman/mailmanclient/src/mailmanclient/restbase/connection.py", line 102, in call response.content, response, None) urllib.error.HTTPError: HTTP Error 500: b'A server error occurred. Please contact the administrator.' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/root/mailman/postorius/src/postorius/middleware.py", line 39, in __call__ return self.get_response(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 36, in inner response = response_for_exception(request, exc) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py", line 89, in technical_500_response reporter = ExceptionReporter(request, exc_type, exc_value, tb) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py", line 254, in __init__ self.template_info = getattr(self.exc_value, 'template_debug', None) File "/usr/lib/python3.6/tempfile.py", line 618, in __getattr__ file = self.__dict__['file'] KeyError: 'file' ERROR: Internal Server Error: /postorius/lists/ Traceback (most recent call last): File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py", line 126, in _get_response response = self.process_exception_by_middleware(e, request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py", line 124, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/root/mailman/postorius/src/postorius/views/list.py", line 696, in list_index return list_index_authenticated(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/root/mailman/postorius/src/postorius/views/list.py", line 652, in list_index_authenticated choosable_domains = _get_choosable_domains(request) File "/root/mailman/postorius/src/postorius/views/list.py", line 558, in _get_choosable_domains domains = Domain.objects.all() File "/root/mailman/postorius/src/postorius/models.py", line 77, in all return getattr(get_mailman_client(), self.resource_name_plural) File "/root/mailman/mailmanclient/src/mailmanclient/client.py", line 190, in domains response, content = self._connection.call('domains') File "/root/mailman/mailmanclient/src/mailmanclient/restbase/connection.py", line 102, in call response.content, response, None) urllib.error.HTTPError: HTTP Error 500: b'A server error occurred. Please contact the administrator.' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/root/mailman/postorius/src/postorius/middleware.py", line 39, in __call__ return self.get_response(request) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 36, in inner response = response_for_exception(request, exc) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py", line 89, in technical_500_response reporter = ExceptionReporter(request, exc_type, exc_value, tb) File "/root/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py", line 254, in __init__ self.template_info = getattr(self.exc_value, 'template_debug', None) File "/usr/lib/python3.6/tempfile.py", line 618, in __getattr__ file = self.__dict__['file'] KeyError: 'file' ERROR: "GET /postorius/lists/ HTTP/1.1" 500 134330 Regards. Saswat Mishra On Tue, Mar 12, 2019 at 3:35 PM aaryan bhagat <aaryanbhagat...@gmail.com> wrote: > Xiaoxing, > I think maybe dependencies are updated so running setup.py should solve > the problem as it is with other module `readme_renderer` > > On Tue, 12 Mar 2019, 15:02 Xiaoxing Ye, <y...@xiaoxing.us> wrote: > >> Hi Saswat, >> >> As you haven't supplied enough error information, please try to >> pip install falcon==1.4.1 >> then >> mailman restart >> and see if it works. >> >> Yours truly, >> Xiaoxing Ye >> >> On Tue, Mar 12, 2019 at 3:51 PM Saswat Mishra < >> saswatmishraba...@gmail.com> >> wrote: >> >> > Thank You Mark for your help. >> > >> > Currently I am facing another issue where if >> > /root/mailman/mailman-suite/mailman-suite_project/settings.py has ' >> DEBUG = >> > False ' then it says "SERVER ERROR : An error occurred while processing >> > your request" and if it is true it says " KeyError at /postorius/lists/ >> " >> > >> > How should I resolve this error ? Please guide. >> > >> > Regards. >> > Saswat Mishra >> > >> > >> > On Sat, Mar 9, 2019 at 10:12 PM Mark Sapiro <m...@msapiro.net> wrote: >> > >> > > On 3/8/19 11:26 PM, Saswat Mishra wrote: >> > > > Warning: This message has had one or more attachments removed >> > > > Warning: (dpkg). >> > > > Warning: Please read the "GPC-Attachment-Warning.txt" attachment(s) >> for >> > > more information. >> > > > >> > > > Hello all , >> > > > >> > > > Currently I have started getting an error : >> > > > >> > > > File "/usr/lib/mailman/bin/update", line 50, in <module> >> > > > from Mailman import Utils >> > > > File "/var/lib/mailman/Mailman/Utils.py", line 407 >> > > > return UserFriendly_MakeRandomPassword(length) >> > > > ^ >> > > > IndentationError: unexpected indent >> > > > dpkg: error processing package mailman (--configure): >> > > > installed mailman package post-installation script subprocess >> returned >> > > > error exit status 1 >> > > > Errors were encountered while processing: >> > > > mailman >> > > > E: Sub-process /usr/bin/dpkg returned an error code (1) >> > > > >> > > > >> > > > I don't know where I have messed up and have been trying to get >> over >> > > this >> > > > issue since yesterday. So, please help. I am attaching both the >> files >> > > > belolw. >> > > >> > > >> > > You are installing Mailman 2.1 from a package. The package is broken. >> > > You will need to contact the packager about that. See >> > > <https://wiki.list.org/x/12812344>. >> > > >> > > The actual error is in this code in Utils.py >> > > >> > > def MakeRandomPassword(length=mm_cfg.MEMBER_PASSWORD_LENGTH): >> > > if mm_cfg.USER_FRIENDLY_PASSWORDS:10 >> > > return UserFriendly_MakeRandomPassword(length) >> > > return Secure_MakeRandomPassword(length) >> > > >> > > The line >> > > >> > > if mm_cfg.USER_FRIENDLY_PASSWORDS:10 >> > > >> > > should not have anything following the ':'. >> > > >> > > However, none of this is relevant. Based on your prior posts to this >> > > list, you are interested in GSOC and Mailman 3 and HyperKitty. The >> > > package you are trying to install is for an older Mailman. Start at >> > > <http://docs.list.org/en/latest/devsetup.html> to see how you should >> be >> > > setting up your Mailman development environment. >> > > >> > > -- >> > > Mark Sapiro <m...@msapiro.net> The highway is for gamblers, >> > > San Francisco Bay Area, California better use your sense - B. Dylan >> > > _______________________________________________ >> > > Mailman-Developers mailing list -- mailman-developers@python.org >> > > To unsubscribe send an email to mailman-developers-le...@python.org >> > > https://mail.python.org/mailman3/lists/mailman-developers.python.org/ >> > > Mailman FAQ: https://wiki.list.org/x/AgA3 >> > > >> > > Security Policy: https://wiki.list.org/x/QIA9 >> > > >> > >> > >> > -- >> > Mc >> > _______________________________________________ >> > Mailman-Developers mailing list -- mailman-developers@python.org >> > To unsubscribe send an email to mailman-developers-le...@python.org >> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/ >> > Mailman FAQ: https://wiki.list.org/x/AgA3 >> > >> > Security Policy: https://wiki.list.org/x/QIA9 >> > >> _______________________________________________ >> Mailman-Developers mailing list -- mailman-developers@python.org >> To unsubscribe send an email to mailman-developers-le...@python.org >> https://mail.python.org/mailman3/lists/mailman-developers.python.org/ >> Mailman FAQ: https://wiki.list.org/x/AgA3 >> >> Security Policy: https://wiki.list.org/x/QIA9 >> > -- Mc _______________________________________________ Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-le...@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3 Security Policy: https://wiki.list.org/x/QIA9