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


Re: Perforce proxy servers

2011-07-20 Thread chrisn
Thanks for the suggestion, David, but it doesn't work either. I've now
tried it both ways around (Path == proxy, Mirror == info and Path ==
info, Mirror =proxy) but the result is the same in either case. post-
review successfully creates the request, but the server is unable to
display diffs. Here's an example error (with depot path information
sanitized):

The patch to '//X/clear.cpp' didn't apply cleanly. The temporary
files have been left in '/tmp/reviewboard.UVgy2H' for debugging
purposes. `patch` returned: patching file /tmp/reviewboard.UVgy2H/
tmpB2EamP Hunk #1 FAILED at 171. 1 out of 1 hunk FAILED -- saving
rejects to file /tmp/reviewboard.UVgy2H/tmpB2EamP-new.rej

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/views.py", line 153, in view_diff
interdiffset, highlighting, True)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/diffutils.py", line 1066, in get_diff_files
large_data=True)
  File "/usr/lib/python2.5/site-packages/Djblets-0.6.7-py2.5.egg/
djblets/util/misc.py", line 166, in cache_memoize
data = lookup_callable()
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/diffutils.py", line 1065, in 
enable_syntax_highlighting)),
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/diffutils.py", line 552, in get_chunks
new = get_patched_file(old, filediff)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/diffutils.py", line 374, in get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
reviewboard/diffviewer/diffutils.py", line 242, in patch
(filename, tempdir, patch_output))
Exception: The patch to '//X/clear.cpp' didn't apply cleanly. The
temporary files have been left in '/tmp/reviewboard.UVgy2H' for
debugging purposes.
`patch` returned: patching file /tmp/reviewboard.UVgy2H/tmpB2EamP
Hunk #1 FAILED at 171.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/
reviewboard.UVgy2H/tmpB2EamP-new.rej

When I go and look in the temporary directory, I find a perfectly
valid-looking patch plus empty source and destination files. So the
server is clearly failing to retrieve the contents of the files, but
since there's no useful logging, I really don't have any further
information about what is going wrong. We stumbled into the proxy
issue by looking at Perforce server logs...

-Chris


On Jul 20, 3:31 pm, David Trowbridge  wrote:
> This configuration is supported with the following:
>
> Set the repository path to the results of "p4 info"
> Set the mirror path to the proxy geographically closest to the reviewboard 
> server.
>
> - David
>
> On Jul 20, 2011, at 8:29 AM, chrisn  wrote:
>
>
>
>
>
>
>
> > I just filedhttp://code.google.com/p/reviewboard/issues/detail?id=2182
> > to describe an issue with ReviewBoard and Perforce proxy servers that
> > is effectively blocking us from using ReviewBoard.
>
> > I'd appreciate any thoughts or BTDT advice about how I might be able
> > to work around the problem.
>
> > Thanks.
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to 
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en

-- 
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


Re: Perforce proxy servers

2011-07-20 Thread David Trowbridge
This configuration is supported with the following:

Set the repository path to the results of "p4 info"
Set the mirror path to the proxy geographically closest to the reviewboard 
server.

- David

On Jul 20, 2011, at 8:29 AM, chrisn  wrote:

> I just filed http://code.google.com/p/reviewboard/issues/detail?id=2182
> to describe an issue with ReviewBoard and Perforce proxy servers that
> is effectively blocking us from using ReviewBoard.
> 
> I'd appreciate any thoughts or BTDT advice about how I might be able
> to work around the problem.
> 
> Thanks.
> 
> -- 
> 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? 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


Re: Perforce proxy servers

2011-07-20 Thread chrisn
No joy. With Path set to the proxy and Mirror Path to the output of
'p4 info', post-review successfully creates a new review request, but
the server still fails to display diffs. The failure mode is that
patch fails because the files to patch are zero-length due to the
failure to communicate with the server.

On Jul 20, 1:57 pm, Christian Hammond  wrote:
> Hi Chris,
>
> The Path field should probably point to the proxy, and Mirror Path should
> point to 'p4 info'. It's a bit confusing (the Mirror Path name exists for
> legacy reasons) and I want to clean that up, but start with that. Basically,
> we'll always communicate through Path, but we check both Path and Mirror
> Path when using post-review.
>
> We can't log the commands because, with the exception of one case, we're not
> calling out to p4. We're instead using the Python bindings for the library
> that is talking directly to the server.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Wed, Jul 20, 2011 at 8:29 AM, chrisn  wrote:
> > I just filedhttp://code.google.com/p/reviewboard/issues/detail?id=2182
> > to describe an issue with ReviewBoard and Perforce proxy servers that
> > is effectively blocking us from using ReviewBoard.
>
> > I'd appreciate any thoughts or BTDT advice about how I might be able
> > to work around the problem.
>
> > Thanks.
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://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? 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


Re: Perforce proxy servers

2011-07-20 Thread Christian Hammond
Hi Chris,

The Path field should probably point to the proxy, and Mirror Path should
point to 'p4 info'. It's a bit confusing (the Mirror Path name exists for
legacy reasons) and I want to clean that up, but start with that. Basically,
we'll always communicate through Path, but we check both Path and Mirror
Path when using post-review.

We can't log the commands because, with the exception of one case, we're not
calling out to p4. We're instead using the Python bindings for the library
that is talking directly to the server.

Christian

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


On Wed, Jul 20, 2011 at 8:29 AM, chrisn  wrote:

> I just filed http://code.google.com/p/reviewboard/issues/detail?id=2182
> to describe an issue with ReviewBoard and Perforce proxy servers that
> is effectively blocking us from using ReviewBoard.
>
> I'd appreciate any thoughts or BTDT advice about how I might be able
> to work around the problem.
>
> Thanks.
>
> --
> 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? 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

Re: new to RB, Review board is taking a nap.

2011-07-20 Thread Christian Hammond
It sounds like you have a busted Python setup. If it's unable to import os,
which is a fundamental Python module, you have problems.

Do you have any extra restrictive security on there that could prevent an
Apache process from accessing Python?

Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
 File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
3, in 
   import os, sys
ImportError: No module named os

Christian

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


On Wed, Jul 20, 2011 at 9:47 AM, valiant <81.sal...@googlemail.com> wrote:

> Hi,
> I am pretty new to RB, I've managed to install, mysql, apache web
> server + fastcgi and review board as per instructions given or RB
> website.
>
> When I try to access the RB site, i get message : Review board is
> taking a nap.
>
> The log file is here : (I enabled debug = true in my site's conf
> directory )
>
>
> [Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] (4)Interrupted
> system call: FastCGI: comm with server "/var/www/reviews.example.com3/
> htdocs/reviewboard.fcgi" aborted: select() failed, referer:
> http://mfirldtu-sghaff/
> [Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi", referer:
> http://mfirldtu-sghaff/
> [Wed Jul 20 16:12:26 2011] [notice] caught SIGTERM, shutting down
>
>
> [Wed Jul 20 16:12:26 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
> running for 30 seconds given 3 attempts, its restart interval has been
> backed off to 600 seconds
> [Wed Jul 20 16:12:42 2011] [notice] Apache/2.2.12 (Ubuntu) mod_fastcgi/
> 2.4.6 configured -- resuming normal operations
> [Wed Jul 20 16:12:42 2011] [notice] FastCGI: process manager
> initialized (pid 32599)
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> [Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" started (pid 32604)
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> 3, in 
>import os, sys
> ImportError: No module named os
> [Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32604) terminated
> by calling exit with status '1'
> [Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32659)
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> 3, in 
>import os, sys
> ImportError: No module named os
> [Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32659) terminated
> by calling exit with status '1'
> [Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32660)
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> 3, in 
>import os, sys
> ImportError: No module named os
> [Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32660) terminated
> by calling exit with status '1'
> [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32661)
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
> 3, in 
>import os, sys
> ImportError: No module named os
> [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32661) terminated
> by calling exit with status '1'
> [Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
> reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
> running for 30 seconds given 3 attempts, its restart interval has been
> backed off to 600 seconds
> [Wed Jul 20 16:14:16 2011] [error] [client 127.0.0.1] FastCGI: comm
> with server "/var/

new to RB, Review board is taking a nap.

2011-07-20 Thread valiant
Hi,
I am pretty new to RB, I've managed to install, mysql, apache web
server + fastcgi and review board as per instructions given or RB
website.

When I try to access the RB site, i get message : Review board is
taking a nap.

The log file is here : (I enabled debug = true in my site's conf
directory )


[Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] (4)Interrupted
system call: FastCGI: comm with server "/var/www/reviews.example.com3/
htdocs/reviewboard.fcgi" aborted: select() failed, referer:
http://mfirldtu-sghaff/
[Wed Jul 20 16:12:26 2011] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi", referer: http://mfirldtu-sghaff/
[Wed Jul 20 16:12:26 2011] [notice] caught SIGTERM, shutting down


[Wed Jul 20 16:12:26 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds
[Wed Jul 20 16:12:42 2011] [notice] Apache/2.2.12 (Ubuntu) mod_fastcgi/
2.4.6 configured -- resuming normal operations
[Wed Jul 20 16:12:42 2011] [notice] FastCGI: process manager
initialized (pid 32599)
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
[Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" started (pid 32604)
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
3, in 
import os, sys
ImportError: No module named os
[Wed Jul 20 16:12:42 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32604) terminated
by calling exit with status '1'
[Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32659)
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
3, in 
import os, sys
ImportError: No module named os
[Wed Jul 20 16:12:47 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32659) terminated
by calling exit with status '1'
[Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32660)
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
3, in 
import os, sys
ImportError: No module named os
[Wed Jul 20 16:12:52 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32660) terminated
by calling exit with status '1'
[Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" restarted (pid 32661)
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi", line
3, in 
import os, sys
ImportError: No module named os
[Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" (pid 32661) terminated
by calling exit with status '1'
[Wed Jul 20 16:12:57 2011] [warn] FastCGI: server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi" has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds
[Wed Jul 20 16:14:16 2011] [error] [client 127.0.0.1] FastCGI: comm
with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
aborted: idle timeout (30 sec)
[Wed Jul 20 16:14:16 2011] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi"
[Wed Jul 20 16:14:46 2011] [error] [client 127.0.0.1] FastCGI: comm
with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
aborted: idle timeout (30 sec)
[Wed Jul 20 16:14:46 2011] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi"
[Wed Jul 20 16:15:46 2011] [error] [client 127.0.0.1] FastCGI: comm
with server "/var/www/reviews.example.com3/htdocs/reviewboard.fcgi"
aborted: idle timeout (30 sec), referer: http://mfirldtu-sghaff/
[Wed Jul 20 16:15:46 2011] [error] [client 127.0.0.1] FastCGI:
incomplete headers (0 bytes) received from server "/var/www/
reviews.example.com3/htdocs/reviewboard.fcgi", ref

Perforce proxy servers

2011-07-20 Thread chrisn
I just filed http://code.google.com/p/reviewboard/issues/detail?id=2182
to describe an issue with ReviewBoard and Perforce proxy servers that
is effectively blocking us from using ReviewBoard.

I'd appreciate any thoughts or BTDT advice about how I might be able
to work around the problem.

Thanks.

-- 
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


Re: Mercurial support for post-review

2011-07-20 Thread Gilles Moris
On Friday 15 July 2011 07:45:22 pm Chris Toomey wrote:
> Are there any plans / rough ETA to add mercurial support to post-
> review?  We've been using
> http://mercurial.selenic.com/wiki/ReviewboardExtension which is pretty good
> but doesn't support some of the features of post- review like passing in a
> diff file.  Plus it'd be better in general for folks to be able to use
> post-review versus having to find external workarounds like that.
>
> I'm not sure what the reasons are for the developers creating that
> external extension versus updating post-review, was / is there any
> reason they don't want to update post-review?
>
> thanks,
> Chris

I am using the RB mercurial extension as I am much more familiar with the 
mercurial source code and that I currently don't need any extra features.
It also makes my users only use hg subcommands, wether this is for pure 
mercurial or reviewboard, which kind simplify the training.

I was planning to contribute to RBTools at some point, but I never had the 
time to allocate for that.

Regards.
Gilles.

-- 
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