Hey NAYAN, Please use flacon 1.4.1. pip install falcon==1.4.1
If you will check I think the falcon version will be 2.0. On Thu, Mar 7, 2019 at 12:26 AM NAYAN KHANNA < f20170...@pilani.bits-pilani.ac.in> wrote: > I am also facing the same issue as KeyError 'file'. > The complete traceback is shown below. > Can someone please help me on this? > KeyError at /postorius/lists/ > > 'file' > > Request Method: GET > Request URL: http://127.0.0.1:8000/postorius/lists/ > Django Version: 2.1.7 > Exception Type: KeyError > Exception Value: > > 'file' > > Exception Location: > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py > in __getattr__, line 616 > Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3 > Python Version: 3.6.5 > Python Path: > > ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project', > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip', > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6', > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload', > '/usr/lib/python3.6', > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages', > '/home/nayankhanna/Code/GSoC19/mailman/mailman/src', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/six-1.12.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.proxy-4.3.1-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/MarkupSafe-1.1.1-py3.6-linux-x86_64.egg', > '/home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src', > '/home/nayankhanna/Code/GSoC19/mailman/django-mailman3', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_compressor-2.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/pytz-2018.9-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_gravatar2-1.4.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_allauth-0.39.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/rjsmin-1.0.12-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/rcssmin-1.0.6-py3.6-linux-x86_64.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_appconf-1.0.3-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests_oauthlib-1.2.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python3_openid-3.1.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/oauthlib-3.0.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/defusedxml-0.5.0-py3.6.egg', > '/home/nayankhanna/Code/GSoC19/mailman/postorius/src', > '/home/nayankhanna/Code/GSoC19/mailman/hyperkitty', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_q-1.0.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lockfile-0.12.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_extensions-2.1.6-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_haystack-2.8.1-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/networkx-2.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/robot_detection-0.4-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/djangorestframework-3.9.2-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_picklefield-2.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/blessed-1.15.0-py3.6.egg', > > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/arrow-0.13.1-py3.6.egg', > '/home/nayankhanna/Code/GSoC19/mailman/mailman-hyperkitty', > '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages'] > > Server time: Wed, 6 Mar 2019 18:54:10 +0000 > Traceback Switch to copy-and-paste view > <http://127.0.0.1:8000/postorius/lists/#> > > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py > in inner > 1. > > response = get_response(request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py > in _get_response > 1. > > response = self.process_exception_by_middleware(e, > request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/base.py > in _get_response > 1. > > response = wrapped_callback(request, *callback_args, > **callback_kwargs) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py > in list_index > 1. > > return list_index_authenticated(request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/contrib/auth/decorators.py > in _wrapped_view > 1. > > return view_func(request, *args, **kwargs) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py > in list_index_authenticated > 1. > > choosable_domains = _get_choosable_domains(request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py > in _get_choosable_domains > 1. > > domains = Domain.objects.all() > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/models.py > in all > 1. > > return getattr(get_mailman_client(), > self.resource_name_plural) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/client.py > in domains > 1. > > response, content = self._connection.call('domains') > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/restbase/connection.py > in call > 1. > > response.content, response, None) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - During handling of the above exception (HTTP Error 500: b'A server > error occurred. Please contact the administrator.'), another exception > occurred: > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py > in inner > 1. > > response = get_response(request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/middleware.py > in __call__ > 1. > > return self.get_response(request) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py > in inner > 1. > > response = response_for_exception(request, exc) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py > in response_for_exception > 1. > > response = handle_uncaught_exception(request, > get_resolver(get_urlconf()), sys.exc_info()) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/handlers/exception.py > in handle_uncaught_exception > 1. > > return debug.technical_500_response(request, *exc_info) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py > in technical_500_response > 1. > > reporter = ExceptionReporter(request, exc_type, exc_value, tb) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - > > /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/views/debug.py > in __init__ > 1. > > self.template_info = getattr(self.exc_value, 'template_debug', > None) > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > - /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py > in __getattr__ > 1. > > file = self.__dict__['file'] > > ... > ▶ Local vars <http://127.0.0.1:8000/postorius/lists/#> > > > On Thu, Mar 7, 2019 at 12:12 AM aaryan bhagat <aaryanbhagat...@gmail.com> > wrote: > >> Ok, I will check. Thanks Dinesh Xiaoxing >> >> On Thu, 7 Mar 2019, 00:08 Krishna Kumar Dey, < >> krishnakumardey....@gmail.com> >> wrote: >> >> > There is already an issue created for the same. Xiaoxing mention about >> > in the threads. You can check the issue here >> > https://gitlab.com/mailman/hyperkitty/issues/72 >> > >> > On Thu, Mar 7, 2019 at 12:04 AM aaryan bhagat < >> aaryanbhagat...@gmail.com> >> > wrote: >> > >> >> Like should we create a issue for this. >> >> (I am asking to everyone who has replied to this thread atleast and to >> >> the administrators also) >> >> >> >> On Thu, 7 Mar 2019, 00:02 Krishna Kumar Dey, < >> >> krishnakumardey....@gmail.com> wrote: >> >> >> >>> Yes I also faced this issue and did the same thing as Xiaoxing >> >>> mentioned. Removing the paintstore from Installed apps works for now. >> >>> @aaryan It's not yet updated . We need to find an alternative for it. >> >>> >> >>> On Wed, Mar 6, 2019 at 11:43 PM aaryan bhagat < >> aaryanbhagat...@gmail.com> >> >>> wrote: >> >>> >> >>>> Hi Xiaoxing, >> >>>> If you are saying 'painstore' >> >>>> is not required as of feb 22 canbot we just update the repo to latest >> >>>> version with paintstore not there? >> >>>> Is it done? >> >>>> >> >>>> On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye, <y...@xiaoxing.us> wrote: >> >>>> >> >>>> > Hi Dinesh, >> >>>> > >> >>>> > Your error message is not completed. I am guessing there are two >> >>>> > possibilities, >> >>>> > >> >>>> > 1. You have no sassc installed. In this case, please install using >> >>>> apt. >> >>>> > 2. It is asking for paintstore. As of the release on Feb 22, >> >>>> ``paintstore`` >> >>>> > is no longer a dependency of Hyperkitty. This change requires that >> >>>> people >> >>>> > change their ``settings.py`` and remove ``paintstore`` from >> >>>> > ``INSTALLED_APPS``. (See #72). Please try it >> >>>> > 3. If none of them hits your problem, please reply with the >> complete >> >>>> error >> >>>> > traceback. >> >>>> > >> >>>> > >> >>>> > On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat < >> >>>> db.dineshbhaga...@gmail.com> >> >>>> > wrote: >> >>>> > >> >>>> > > On running command .....: "python manage.py migrate" after >> >>>> mailman-suite >> >>>> > > installation. >> >>>> > > >> >>>> > > This is showing the below Given error. >> >>>> > > Please help me out. >> >>>> > > >> >>>> > > Traceback (most recent call last): >> >>>> > > File "manage.py", line 10, in <module> >> >>>> > > execute_from_command_line(sys.argv) >> >>>> > > File >> >>>> > > >> >>>> > >> >>>> >> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py", >> >>>> > > line 381, in execute_from_command_line >> >>>> > > utility.execute() >> >>>> > > File >> >>>> > > >> >>>> > >> >>>> >> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py", >> >>>> > > line 357, in execute >> >>>> > > django.setup() >> >>>> > > File >> >>>> > > >> >>>> > >> >>>> >> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py", >> >>>> > > line 24, in setup >> >>>> > > apps.populate(settings.INSTALLED_APPS) >> >>>> > > File >> >>>> > > >> >>>> > >> >>>> >> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py", >> >>>> > > line 89, in populate >> >>>> > > app_config = AppConfig.create(entry) >> >>>> > > File >> >>>> > > >> >>>> > >> >>>> >> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py", >> >>>> > > line 90, in create >> >>>> > > module = import_module(entry) >> >>>> > > File "/usr/lib/python3.6/importlib/__init__.py", line 126, in >> >>>> > > import_module >> >>>> > > return _bootstrap._gcd_import(name[level:], package, level) >> >>>> > > File "<frozen importlib._bootstrap>", line 994, in _gcd_import >> >>>> > > _______________________________________________ >> >>>> > > 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 >> >>>> > >> >>>> _______________________________________________ >> >>>> 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 >> > _______________________________________________ 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