What version are you running?
1.6RC1.
What's the URL of the page containing the problem?
/admin/feed/news/
What steps will reproduce the problem?
1. Remove internet access on the server
2. Visit the admin interface on your browser
3. Wait for the error email as the news feed fails to load
What is the expected output? What do you see instead?
exp: A graceful error message on the news feed control, or just no feeds.
act: Loading progress graphics stays there, admin receives several error emails.
What operating system are you using? What browser?
Windows 2003 Server, Chrome (latest)
Please provide any additional information below.
Traceback (most recent call last):
File "c:\python25\lib\site-packages\django-1.3-py2.5.egg\django\core\handlers\base.py",
line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "c:\python25\lib\site-packages\Djblets-0.6.8-py2.5.egg\djblets\feedview\views.py",
line 38, in view_feed
force_overwrite=request.GET.has_key("reload")))
File "c:\python25\lib\site-packages\Djblets-0.6.8-py2.5.egg\djblets\util\misc.py",
line 173, in cache_memoize
data = lookup_callable()
File "c:\python25\lib\site-packages\Djblets-0.6.8-py2.5.egg\djblets\feedview\views.py",
line 23, in fetch_feed
data = urllib2.urlopen(url).read()
File "C:\Python25\lib\urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "C:\Python25\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 399, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1107, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python25\lib\urllib2.py", line 1080, in do_open
r = h.getresponse()
File "C:\Python25\lib\httplib.py", line 928, in getresponse
response.begin()
File "C:\Python25\lib\httplib.py", line 385, in begin
version, status, reason = self._read_status()
File "C:\Python25\lib\httplib.py", line 349, in _read_status
raise BadStatusLine(line)
BadStatusLine
<ModPythonRequest
path:/admin/feed/news/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'JSESSIONID': 'c89210830acfce364e3bd8bb55c921c2',
'rbsessionid': '808f6ddd7ecd1710a507fcfe05c29688',
'screenResolution': '1366x768'},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0,
'CONTENT_TYPE': None,
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, */*',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,pt-BR;q=0.6,pt;q=0.4',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'JSESSIONID=c89210830acfce364e3bd8bb55c921c2;
screenResolution=1366x768;
rbsessionid=808f6ddd7ecd1710a507fcfe05c29688',
'HTTP_HOST': 'xxxbuild',
'HTTP_REFERER': 'http://xxxbuild/admin/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122
Safari/534.30',
'HTTP_X_FCCKV2': 'g2HP6vytWCGacqhIqnHAyiobwZw4nPryglP/jQ==',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'PATH_INFO': u'/admin/feed/news/',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '172.16.44.61',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'xxx2-xxx',
'SERVER_PORT': 80,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}>