On 3/8/19 9:12 PM, ARPIT sharma wrote:
Same problem anyone found fix for this?
On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA < f20170636@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'
For all of you who *think* you have the same problem, you may all be having different issues. This KeyError is a secondary error that occurs in Django's processing of the original exception. When you look at the full traceback, you'll see in it something similar to the following:
...
/home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py in _get_choosable_domains
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
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
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
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:
...
The line above and the traceback above that are the relevant things for your issue. Everything that follows is not relevant.