Re: [Mailman-Developers] Facing error while building mailman

Hi Anirudh,
Can you tell us a few other things too?
Which version of Mailman are you using? (From the django output in the trace I am guessing it is 3.0, but just to confirm).
What do you mean by behind a proxy? Is the server behind a proxy and the client/Postorius trying to access the server through proxy?
I *think* Postorius/HK is not Django 1.9+ compatible for some reason, can you try out with django version <=1.8?
On 01/11/2016 03:48 AM, Anirudh Dahiya wrote:
-- thanks, Abhilash Raj

This -- "Python Version: 2.7.9" is also a problem for recent Mailman 3 (since 3.1 IIRC) -- Mailman 3 is only supported on Python 3. I guess this is Postorius and it's still OK for 2.7 (upgrading to the most recent Python 2 version, which I believe is 2.7.11, is probably a good idea, as there were security issues in 2.7.9 and 2.7.10).
I would guess that your proxy simply isn't permitted to access the REST port by the server. Check firewall settings and try a simple client such as wget or curl from the Mailman host. If you get the same result (ie, 403 Forbidden) with those clients, then you're going to need to talk to your local administrators about how to configure the firewall to permit Postorius to talk to Mailman.
Steve

Hello I was building Mailman 3. The server is behind a proxy. I was using Django 1.9.1 . After fixing my /etc/environment file to set the correct proxy thing the 403 Forbidden error was resolved well. Another thing I faced was the unsuported keyword used in django render_to_string(template,context_instance=final_context) method. I manually changed it to replace just the context_instance part with context=final_context(checked django docs for that) and things worked out fine after that. Its finally working now. I hope I can start contributing soon! Thanks for the guidance Anirudh
On Tue, Jan 12, 2016 at 7:36 AM, Stephen J. Turnbull <stephen@xemacs.org> wrote:

This -- "Python Version: 2.7.9" is also a problem for recent Mailman 3 (since 3.1 IIRC) -- Mailman 3 is only supported on Python 3. I guess this is Postorius and it's still OK for 2.7 (upgrading to the most recent Python 2 version, which I believe is 2.7.11, is probably a good idea, as there were security issues in 2.7.9 and 2.7.10).
I would guess that your proxy simply isn't permitted to access the REST port by the server. Check firewall settings and try a simple client such as wget or curl from the Mailman host. If you get the same result (ie, 403 Forbidden) with those clients, then you're going to need to talk to your local administrators about how to configure the firewall to permit Postorius to talk to Mailman.
Steve

Hello I was building Mailman 3. The server is behind a proxy. I was using Django 1.9.1 . After fixing my /etc/environment file to set the correct proxy thing the 403 Forbidden error was resolved well. Another thing I faced was the unsuported keyword used in django render_to_string(template,context_instance=final_context) method. I manually changed it to replace just the context_instance part with context=final_context(checked django docs for that) and things worked out fine after that. Its finally working now. I hope I can start contributing soon! Thanks for the guidance Anirudh
On Tue, Jan 12, 2016 at 7:36 AM, Stephen J. Turnbull <stephen@xemacs.org> wrote:
participants (3)
-
Abhilash Raj
-
Anirudh Dahiya
-
Stephen J. Turnbull