
Hello Everyone, I am Krishna Kumar Dey, 3rd Year CSE undergraduate student from IIIT Sri City, India. I was going through initial setup and I am getting this error message when I run the mailman suite server.
[image: image.png]
Also, when I am trying to open mailman I got this error. [image: image.png]
-- Thanks Krishna Kumar Dey, BTech,CSE Indian Institute of Information Technology, Sri City

Hey Mark,
Sorry I am new here so didn't know about that. During handling of the above exception, another exception occurred:
--- first error --
*Traceback (most recent call last): File "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/mailman/postorius/src/postorius/middleware.py", line 39, in __call__ return self.get_response(request) File "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 2019-03-03 17:09:51,727 9839 django.server "GET /postorius/lists/ HTTP/1.1" 500 147228*
--- second error ---
When I open port 8001 for mailman I got this :
A server error occurred. Please contact the administrator
On Sun, Mar 3, 2019 at 11:07 PM Mark Sapiro <mark@msapiro.net> wrote:

Could you go to mailman/var/logs/mailman.log for mailman log?
On 2019/3/4, 1:44 AM, "Krishna Kumar Dey" <krishnakumardey.dey@gmail.com> wrote:
Hey Mark,
Sorry I am new here so didn't know about that.
During handling of the above exception, another exception occurred:
--- first error --
*Traceback (most recent call last): File
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/mailman/postorius/src/postorius/middleware.py",
line 39, in __call__ return self.get_response(request) File
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
2019-03-03 17:09:51,727 9839 django.server "GET /postorius/lists/ HTTP/1.1"
500 147228*
----
--- second error ---
When I open port 8001 for mailman
I got this :
A server error occurred. Please contact the administrator
On Sun, Mar 3, 2019 at 11:07 PM Mark Sapiro <mark@msapiro.net> wrote:
> On 3/3/19 9:21 AM, Krishna Kumar Dey wrote:
> > Hello Everyone,
> > I am Krishna Kumar Dey, 3rd Year CSE undergraduate student from IIIT Sri
> > City, India.
> > I was going through initial setup and I am getting this error message
> when
> > I run the mailman suite server.
> >
> > [image: image.png]
> >
> >
> > Also, when I am trying to open mailman I got this error.
> > [image: image.png]
>
>
> Please copy and paste text. Screen shots don't make it through the
> list's content filtering.
>
> --
> Mark Sapiro <mark@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-leave@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-leave@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

Hey Xiaoxing,
This is what I found in the logs.
*Mar 03 23:12:08 2019 (9578) REST request handler error:Traceback (most recent call last): File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run self.result = application(self.environ, self.start_response) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/mailman-3.2.2-py3.6.egg/mailman/database/transaction.py", line 50, in wrapper rtn = function(*args, **kws) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/mailman-3.2.2-py3.6.egg/mailman/rest/wsgiapp.py", line 217, in __call__ return super().__call__(environ, start_response) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg/falcon/api.py", line 248, in __call__ responder, params, resource, req.uri_template = self._get_responder(req) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg/falcon/api.py", line 664, in _get_responder route = self._router_search(path, req=req)TypeError: find() got an unexpected keyword argument 'req'Mar 03 23:12:08 2019 (9578) 127.0.0.1 - - "GET / HTTP/1.1" 500 59*
*---* Also attaching the log file.
On Sun, Mar 3, 2019 at 11:24 PM Ye Xiaoxing <zcxing@gmail.com> wrote:

On 3/3/19 11:10 AM, Krishna Kumar Dey wrote:
Do you have <https://gitlab.com/mailman/mailman/merge_requests/466> in your Mailman core? It is required with falcon-2.0.0a1.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sun, Mar 3, 2019, at 11:29 AM, Krishna Kumar Dey wrote:
I checked my git logs. I have it.
I don't think that error should show up if you have that commit. You either need to stop and start Mailman Core and then retry, or just
pip install falcon==1.4.1
Inside your virtual environment where Mailman Core is installed.
-- thanks, Abhilash Raj (maxking)

Thanks Abhilash, It worked and the problem got solved. I had falcon 2.0.0a1 which was creating issue. I checked the falcon repo and the current version is 1.4.1 but I am curious how I had 2.0.0a1. It will be good if someone can help me in this.
I tried to go through the ui and encountered another error.
FilterError at /hyperkitty/profile/
/bin/sh: 1: sassc: not found
Request Method: GET Request URL: http://localhost:8000/hyperkitty/profile/ Django Version: 2.1.7 Exception Type: FilterError Exception Value:
/bin/sh: 1: sassc: not found
I checked for the django_compressor but it is already installed. Can you help me in this. Thanks in advance.
On Mon, Mar 4, 2019 at 3:21 AM Abhilash Raj <maxking@asynchronous.in> wrote:

On Sun, Mar 3, 2019, at 3:31 PM, Krishna Kumar Dey wrote:
Thanks Abhilash, It worked and the problem got solved. I had falcon 2.0.0a1 which was creating issue. I checked the falcon repo and the current version is 1.4.1 but I am curious how I had 2.0.0a1. It will be good if someone can help me in this.
It was indeed released sometime yesterday1. Something that bit us was a version requirement that is specified in setup.py
falcon>=1.0.0-rc1
This causes pip to install use the pre-releases too, which seems to be pulling in 2.0.0a1.
I tried to go through the ui and encountered another error.
FilterError at /hyperkitty/profile/
You can install sassc
from yum or apt , depending on which operating system you are on.
-- thanks, Abhilash Raj (maxking)

On Sun, Mar 3, 2019, at 8:48 PM, Krishna Kumar Dey wrote:
Thanks for clarifying. For the sassc, i have already installed the ruby-sass.
In that case, you can edit the settings.py and update
COMPRESS_PRECOMPILERS = ( ('text/less', 'lessc {infile} {outfile}'), ('text/x-scss', 'sassc -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'), )
replace sassc with sass.
-- thanks, Abhilash Raj (maxking)

I checked the setup.py. It shows falcon>=1.4.0 . I think it will be better if we keep a upper limit to the version or if we can directly keep 1.4.1. I am not so sure but I think the version 2.0 is not compatible with the product.
-- Thanks Krishna Kumar Dey
On Mon, 4 Mar 2019, 9:40 am Abhilash Raj, <maxking@asynchronous.in> wrote:

Hey Mark,
Sorry I am new here so didn't know about that. During handling of the above exception, another exception occurred:
--- first error --
*Traceback (most recent call last): File "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/mailman/postorius/src/postorius/middleware.py", line 39, in __call__ return self.get_response(request) File "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 "/home/krishna/Desktop/dev/.env/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 2019-03-03 17:09:51,727 9839 django.server "GET /postorius/lists/ HTTP/1.1" 500 147228*
--- second error ---
When I open port 8001 for mailman I got this :
A server error occurred. Please contact the administrator
On Sun, Mar 3, 2019 at 11:07 PM Mark Sapiro <mark@msapiro.net> wrote:

Could you go to mailman/var/logs/mailman.log for mailman log?
On 2019/3/4, 1:44 AM, "Krishna Kumar Dey" <krishnakumardey.dey@gmail.com> wrote:
Hey Mark,
Sorry I am new here so didn't know about that.
During handling of the above exception, another exception occurred:
--- first error --
*Traceback (most recent call last): File
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/mailman/postorius/src/postorius/middleware.py",
line 39, in __call__ return self.get_response(request) File
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
"/home/krishna/Desktop/dev/.env/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
2019-03-03 17:09:51,727 9839 django.server "GET /postorius/lists/ HTTP/1.1"
500 147228*
----
--- second error ---
When I open port 8001 for mailman
I got this :
A server error occurred. Please contact the administrator
On Sun, Mar 3, 2019 at 11:07 PM Mark Sapiro <mark@msapiro.net> wrote:
> On 3/3/19 9:21 AM, Krishna Kumar Dey wrote:
> > Hello Everyone,
> > I am Krishna Kumar Dey, 3rd Year CSE undergraduate student from IIIT Sri
> > City, India.
> > I was going through initial setup and I am getting this error message
> when
> > I run the mailman suite server.
> >
> > [image: image.png]
> >
> >
> > Also, when I am trying to open mailman I got this error.
> > [image: image.png]
>
>
> Please copy and paste text. Screen shots don't make it through the
> list's content filtering.
>
> --
> Mark Sapiro <mark@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-leave@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-leave@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

Hey Xiaoxing,
This is what I found in the logs.
*Mar 03 23:12:08 2019 (9578) REST request handler error:Traceback (most recent call last): File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run self.result = application(self.environ, self.start_response) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/mailman-3.2.2-py3.6.egg/mailman/database/transaction.py", line 50, in wrapper rtn = function(*args, **kws) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/mailman-3.2.2-py3.6.egg/mailman/rest/wsgiapp.py", line 217, in __call__ return super().__call__(environ, start_response) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg/falcon/api.py", line 248, in __call__ responder, params, resource, req.uri_template = self._get_responder(req) File "/home/krishna/Desktop/dev/.env/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg/falcon/api.py", line 664, in _get_responder route = self._router_search(path, req=req)TypeError: find() got an unexpected keyword argument 'req'Mar 03 23:12:08 2019 (9578) 127.0.0.1 - - "GET / HTTP/1.1" 500 59*
*---* Also attaching the log file.
On Sun, Mar 3, 2019 at 11:24 PM Ye Xiaoxing <zcxing@gmail.com> wrote:

On 3/3/19 11:10 AM, Krishna Kumar Dey wrote:
Do you have <https://gitlab.com/mailman/mailman/merge_requests/466> in your Mailman core? It is required with falcon-2.0.0a1.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sun, Mar 3, 2019, at 11:29 AM, Krishna Kumar Dey wrote:
I checked my git logs. I have it.
I don't think that error should show up if you have that commit. You either need to stop and start Mailman Core and then retry, or just
pip install falcon==1.4.1
Inside your virtual environment where Mailman Core is installed.
-- thanks, Abhilash Raj (maxking)

Thanks Abhilash, It worked and the problem got solved. I had falcon 2.0.0a1 which was creating issue. I checked the falcon repo and the current version is 1.4.1 but I am curious how I had 2.0.0a1. It will be good if someone can help me in this.
I tried to go through the ui and encountered another error.
FilterError at /hyperkitty/profile/
/bin/sh: 1: sassc: not found
Request Method: GET Request URL: http://localhost:8000/hyperkitty/profile/ Django Version: 2.1.7 Exception Type: FilterError Exception Value:
/bin/sh: 1: sassc: not found
I checked for the django_compressor but it is already installed. Can you help me in this. Thanks in advance.
On Mon, Mar 4, 2019 at 3:21 AM Abhilash Raj <maxking@asynchronous.in> wrote:

On Sun, Mar 3, 2019, at 3:31 PM, Krishna Kumar Dey wrote:
Thanks Abhilash, It worked and the problem got solved. I had falcon 2.0.0a1 which was creating issue. I checked the falcon repo and the current version is 1.4.1 but I am curious how I had 2.0.0a1. It will be good if someone can help me in this.
It was indeed released sometime yesterday1. Something that bit us was a version requirement that is specified in setup.py
falcon>=1.0.0-rc1
This causes pip to install use the pre-releases too, which seems to be pulling in 2.0.0a1.
I tried to go through the ui and encountered another error.
FilterError at /hyperkitty/profile/
You can install sassc
from yum or apt , depending on which operating system you are on.
-- thanks, Abhilash Raj (maxking)

On Sun, Mar 3, 2019, at 8:48 PM, Krishna Kumar Dey wrote:
Thanks for clarifying. For the sassc, i have already installed the ruby-sass.
In that case, you can edit the settings.py and update
COMPRESS_PRECOMPILERS = ( ('text/less', 'lessc {infile} {outfile}'), ('text/x-scss', 'sassc -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'), )
replace sassc with sass.
-- thanks, Abhilash Raj (maxking)

I checked the setup.py. It shows falcon>=1.4.0 . I think it will be better if we keep a upper limit to the version or if we can directly keep 1.4.1. I am not so sure but I think the version 2.0 is not compatible with the product.
-- Thanks Krishna Kumar Dey
On Mon, 4 Mar 2019, 9:40 am Abhilash Raj, <maxking@asynchronous.in> wrote:
participants (4)
-
Abhilash Raj
-
Krishna Kumar Dey
-
Mark Sapiro
-
Ye Xiaoxing