Re: Internal Server Error: /admin/feed/news/

2011-07-25 Thread Leonel Togniolli
I ended up logging Issue 2189 for the unhandled error and Issue 2190
for the feature request.

On Thu, Jul 21, 2011 at 12:41 PM, Leonel Togniolli  wrote:
> Sure. Should I log a request for proxy support or a bug for the error I get?
>
> I don't care that much for getting the news loaded, but I'd prefer if
> it would handle a problem fetching them more gracefully.
>
> On Wed, Jul 20, 2011 at 8:25 PM, Christian Hammond  
> wrote:
>> Hi Leonel,
>>
>> This is a known issue. While it won't make 1.6.0, I'd like to get
>> proxy support in for 1.6.x. I'm not sure we have a bug filed for it,
>> though. Would you mind filing one?
>>
>> Christian
>>
>>
>> On Wednesday, July 20, 2011, Leonel Togniolli  wrote:
>>> Hi !
>>>
>>> I'm in the process of upgrading my 1.5.1 install to 1.6 RC1. First
>>> thing I noticed is that when visiting the admin interface the news in
>>> do not load and I get the error below in the mail. There's a proxy
>>> server with authentication so ReviewBoard won't be able to get online
>>> to retrieve news anyway.
>>>
>>> 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
>>>
>>>
>>> >> path:/admin/feed/news/,
>>> GET:,
>>> POST:,
>>> 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'}>
>>>
>>> --
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~--~~~~--~~--~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard+unsubscr...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>
>> --
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>> --
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~

Re: Internal Server Error: /admin/feed/news/

2011-07-21 Thread Leonel Togniolli
Sure. Should I log a request for proxy support or a bug for the error I get?

I don't care that much for getting the news loaded, but I'd prefer if
it would handle a problem fetching them more gracefully.

On Wed, Jul 20, 2011 at 8:25 PM, Christian Hammond  wrote:
> Hi Leonel,
>
> This is a known issue. While it won't make 1.6.0, I'd like to get
> proxy support in for 1.6.x. I'm not sure we have a bug filed for it,
> though. Would you mind filing one?
>
> Christian
>
>
> On Wednesday, July 20, 2011, Leonel Togniolli  wrote:
>> Hi !
>>
>> I'm in the process of upgrading my 1.5.1 install to 1.6 RC1. First
>> thing I noticed is that when visiting the admin interface the news in
>> do not load and I get the error below in the mail. There's a proxy
>> server with authentication so ReviewBoard won't be able to get online
>> to retrieve news anyway.
>>
>> 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
>>
>>
>> > path:/admin/feed/news/,
>> GET:,
>> POST:,
>> 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'}>
>>
>> --
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>
> --
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Le

Re: Internal Server Error: /admin/feed/news/

2011-07-20 Thread Christian Hammond
Hi Leonel,

This is a known issue. While it won't make 1.6.0, I'd like to get
proxy support in for 1.6.x. I'm not sure we have a bug filed for it,
though. Would you mind filing one?

Christian


On Wednesday, July 20, 2011, Leonel Togniolli  wrote:
> Hi !
>
> I'm in the process of upgrading my 1.5.1 install to 1.6 RC1. First
> thing I noticed is that when visiting the admin interface the news in
> do not load and I get the error below in the mail. There's a proxy
> server with authentication so ReviewBoard won't be able to get online
> to retrieve news anyway.
>
> 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
>
>
>  path:/admin/feed/news/,
> GET:,
> POST:,
> 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'}>
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Internal Server Error: /admin/feed/news/

2011-07-20 Thread Leonel Togniolli
Hi !

I'm in the process of upgrading my 1.5.1 install to 1.6 RC1. First
thing I noticed is that when visiting the admin interface the news in
do not load and I get the error below in the mail. There's a proxy
server with authentication so ReviewBoard won't be able to get online
to retrieve news anyway.

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


,
POST:,
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'}>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en