Re: Apache Setup/Configuration

2012-02-17 Thread Anton Cohen
On Thu, Feb 16, 2012 at 8:03 AM, Britt doubl...@gmail.com wrote:

 That's when Apache crashed - when I attempted
 to restart it, I get the error: Syntax error on line 8 of /etc/
 apache2/sites-enabled/reviewBoard: Invalid command
 'WSGIPassAuthorization', perhaps misspelled or defined by a module not
 included in the server configuration.


sudo apt-get install libapache2-mod-wsgi
sudo a2enmod wsgi
sudo service apache2 restart
# The last two might be done by the package post install scripts.

-Anton

-- 
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: Apache Setup/Configuration

2012-02-17 Thread Britt Pearsall
Sridhar -- I'm sorry I missed your email yesterday, but I apparently did
not have that mod installed. Anton -- Thanks for the commands! Worked like
a charm. Now I've just got to rearrange these config files so that
nothing's using the default.

On Fri, Feb 17, 2012 at 4:34 PM, Anton Cohen an...@antoncohen.com wrote:

 On Thu, Feb 16, 2012 at 8:03 AM, Britt doubl...@gmail.com wrote:

 That's when Apache crashed - when I attempted
 to restart it, I get the error: Syntax error on line 8 of /etc/
 apache2/sites-enabled/reviewBoard: Invalid command
 'WSGIPassAuthorization', perhaps misspelled or defined by a module not
 included in the server configuration.


 sudo apt-get install libapache2-mod-wsgi
 sudo a2enmod wsgi
 sudo service apache2 restart
 # The last two might be done by the package post install scripts.

 -Anton

 --
 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: Issue 2488 in reviewboard: Occured 500 error when some Web API invoke Anonymous user.

2012-02-17 Thread reviewboard


Comment #2 on issue 2488 by fuyu...@gmail.com: Occured 500 error when some  
Web API invoke Anonymous user.

http://code.google.com/p/reviewboard/issues/detail?id=2488

Thank you for reply.
I'm sorry the late.
Please see the attach log.


Attachments:
Traceback.log  5.3 KB

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Issue 2492 in reviewboard: HgWebClient.cat_file is broken: it returns valid data for missing files

2012-02-17 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 2492 by dshpekto...@gmail.com: HgWebClient.cat_file is broken: it  
returns valid data for missing files

http://code.google.com/p/reviewboard/issues/detail?id=2492

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?

1.6.3

What's the URL of the page containing the problem?

http://[host]/r/[id]/diff/#index_

What steps will reproduce the problem?

1. clone upstream mercurial repository
2. add a commit, but don't push it
3. do 'hg postreview tip'
4. try to 'View Diff' on the draft review page

What is the expected output? What do you see instead?

Expected to see API reject the patch mentioning non-existent commit (it's  
not in upstream, remember?) and, thus, expected postreview to fail.
But instead postreview is successful, but diff page shows a trace saying it  
can't apply the patch


What operating system are you using? What browser?

Debian Linux, Iceweasel (a.k.a Firefox)

Please provide any additional information below.

Basically, the that newly created commit isn't present in upstream and thus  
reviewboard cannot properly fetch 'raw-file/NEW_REVISION/path/to/file'.  
That's OK, given the fact that it's _my_ error to post a review for a  
commit not present in upstream. But here's the glitch: somewhere under the  
hood an arbitrary file is actually fetched, but it's not the expected file  
and patching fails.


I've traced the source to HgWebClient.cat_file('path/to/file',  
rev='NEW_REVISION'), which succeeds and instead of the requested file or  
HTTP404 returns a summary page, which is wrong.


The loop

for rawpath in [raw-file, raw]:
full_url = ''

returns proper HTTP404 for raw-file iteration, but for raw it succeeds  
and return contents of a summary web-page.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2492 in reviewboard: HgWebClient.cat_file is broken: it returns valid data for missing files

2012-02-17 Thread reviewboard


Comment #1 on issue 2492 by dshpekto...@gmail.com: HgWebClient.cat_file is  
broken: it returns valid data for missing files

http://code.google.com/p/reviewboard/issues/detail?id=2492

A minor followup here:

I've taken the freedom to remove raw from that loop and now 'hg  
postreview' fails with


HTTP Error 400: BAD REQUEST

So, an additional request here is to see if a meaningful API error may be  
returned in such situations.


PS. On second thought, mercurial-postreview may be guilty in this  
situation. My apologies, if that's the case.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2411 in reviewboard: duplicated email addresses after updating a patch.

2012-02-17 Thread reviewboard

Updates:
Status: Fixed
Owner: chip...@gmail.com
Labels: Component-EMail Milestone-Release1.6.x

Comment #2 on issue 2411 by chip...@gmail.com: duplicated email addresses  
after updating a patch.

http://code.google.com/p/reviewboard/issues/detail?id=2411

I believe this is fixed. Sounds like the dup CC thing. It'll be fixed in  
the soon-to-be-released 1.6.4.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.