Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-22 Thread Zhiqiang Liu
Hi Chris, I did installed sqlite through brew install sqlite, the error still happens. On Friday, September 22, 2017 at 7:52:53 AM UTC-4, Chris Foresman wrote: > > The problem is the version of SQLite included in recent versions of macOS. > The easiest fix we saw was installing Homebrew and the

Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-22 Thread Chris Foresman
The problem is the version of SQLite included in recent versions of macOS. The easiest fix we saw was installing Homebrew and then doing a `brew install sqlite`. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-21 Thread Zhiqiang Liu
To follow up, I set up a new macbook pro today with python3.6 and OXS10.12, and I got the same error. On Wednesday, September 20, 2017 at 8:39:23 PM UTC-4, Zhiqiang Liu wrote: > > Yeah I believe it is a new test, so I can't test if it is working for 1.11. >> > > I did get it to pass after adding

Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-20 Thread Zhiqiang Liu
> > Yeah I believe it is a new test, so I can't test if it is working for 1.11. > I did get it to pass after adding except like this try: conn.request('GET', '/example_view/', headers={'Connection': 'keep-alive'}) response = conn.getresponse().read()

Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-20 Thread Tom Forbes
I added this test for the keep-alive release blocker. It's possible that the exceptions raised in that test vary by OS at least on 3.4, the docs suggest that it should throw BadStatusLine instead. ConnectionResetError is also a correct exception to raise in that specific case, we should just add t

Re: ConnectionResetError in test_closes_connection_without_content_length

2017-09-20 Thread Adam Johnson
Hi Zhiqiang It's hard to tell what the problem is with more details. From your traceback it looks like you're running Python3.4 on MacOS but there's no indication of your database or other settings. If you run the tests on the 1.11 branch, does it pass? If so, you can bisect to find the regressio

ConnectionResetError in test_closes_connection_without_content_length

2017-09-19 Thread Zhiqiang Liu
I run the test suits for master and get the following error. Traceback (most recent call last): File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/unittest/case.py", line 58, in testPartExecutor yield File "/usr/local/Cellar/python3/3.4.3/Frame