Re: {Disarmed} Re: Regarding Sending messages/posts to the list
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 'maillist2@example.com' If it sends a request to http://localhost:8001/3.0/lists/maillist2@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 < f20170636@pilani.bits-pilani.ac.in> wrote:
Is maillist2@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 <mark@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 maillist2@example.com as a component of the output. Also, localhost:8001/3.0/lists/maillist2@example.com/ shows full JSON details about mailllist2@example.com. { "display_name": "Maillist2", "fqdn_listname": "maillist2@example.com <mailto:maillist2@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/...
, 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 maillist2@example.com the listname part of the URL of the HyperKitty page from which you are trying to send.
-- 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
Mark, I got the reason of error, and realise how dumb the question was. Anyways, I have now made the necessary changes and the functionality is working now. Also, now I have understood why you say the KeyError 'file' could be due to different issues for all of us.
Thanks a lot for the clarification Nayan Khanna
participants (2)
-
f20170636@pilani.bits-pilani.ac.in
-
NAYAN KHANNA