Mark, I just realised the cause behind it giving me a Http404.
The reason is it is trying to access http://localhost:8001/3.0/lists/2
where 2 is the List id of 'mailli...@example.com'
If it sends a request to
http://localhost:8001/3.0/lists/mailli...@example.com, then it would work
fine.
What could be the possible reason behind this?
(It sending a request to http://localhost:8001/3.0/lists/<list_id> and not
http://localhost:8001/3.0/lists/<LISTNAME>)


Regards,

*Nayan Khanna*
*Second Year,*
*MSc Mathematics + **BE Computer Science*
*BITS Pilani*
*▄▄▄▄▄▄▄▄▄▄▄▄**▄▄▄▄▄▄▄▄▄▄▄**▄▄▄▄▄▄▄▄▄▄▄▄*

*Birla Institute of Technology & Science,* *Pilani*

Pilani Campus, Vidhya Vihar, Pilani, Rajasthan - 333 031, INDIA.


On Sat, Mar 9, 2019 at 10:35 PM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

>  Is mailli...@example.com the listname part of the URL
> of the HyperKitty page from which you are trying to send.
>
> Yes it is, See the page in the attachment below.
>
>
> Regards,
>
> *Nayan Khanna*
> *Second Year,*
> *MSc Mathematics + **BE Computer Science*
> *BITS Pilani*
> *▄▄▄▄▄▄▄▄▄▄▄▄**▄▄▄▄▄▄▄▄▄▄▄**▄▄▄▄▄▄▄▄▄▄▄▄*
>
> *Birla Institute of Technology & Science,* *Pilani*
>
> Pilani Campus, Vidhya Vihar, Pilani, Rajasthan - 333 031, INDIA.
>
>
> On Sat, Mar 9, 2019 at 10:31 PM Mark Sapiro <m...@msapiro.net> wrote:
>
>> On 3/9/19 12:06 AM, NAYAN KHANNA wrote:
>> > Sorry for the late reply, Mark.
>> > I just checked it.
>> > `mailman lists` shows mailli...@example.com
>> > as a component of the output.
>> > Also, localhost:8001/3.0/lists/mailli...@example.com/
>> > shows full JSON details about
>> > maillli...@example.com.
>> > {
>> >   "display_name": "Maillist2",
>> >   "fqdn_listname": "mailli...@example.com <mailto:mailli...@example.com
>> >",
>> >   "list_id": "maillist2.example.com <http://maillist2.example.com>",
>> >   "list_name": "maillist2",
>> >   "mail_host": "example.com <http://example.com>",
>> >   "member_count": 3,
>> >   "volume": 1,
>> >   "description": "NA",
>> >   "self_link": "http://localhost:8001/3.0/lists/maillist2.example.com";,
>> >   "http_etag": "\"d4966cd892c82a3dbbe663fe41e321ff166a4c5b\""
>> > }
>> >
>> > But the hyperkitty send button is still showing the KeyError named
>> > 'file'. Its traceback being the one I sent before.
>>
>>
>> As I have tried to say a few times and explicitly said at
>> <
>> https://mail.python.org/archives/list/mailman-developers@python.org/message/4HTSGNRHVM6K2MPXUMTNGRJA2I2ZZMIX/
>> >,
>> KeyError named 'file' is not the issue.
>>
>> The issue is the part of the traceback leading up to and including (in
>> your case)
>>
>> During handling of the above exception (HTTP Error 404: b'404 Not
>> Found'), another exception occurred:
>>
>> which appears to say that localhost:8001/3.0/lists/some_list_name/ is
>> returning a 404. Is mailli...@example.com the listname part of the URL
>> of the HyperKitty page from which you are trying to send.
>>
>> --
>> 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
>>
>
_______________________________________________
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

Reply via email to