Re: post-reviews: The requested URL could not be retrieved

2011-06-20 Thread Leonel Togniolli
Hi ptrchen,

I worked around this issue by adding two lines to .reviewboardrc

import os
os.environ[no_proxy] = *

On Fri, Jun 17, 2011 at 7:48 PM, ptrchen ptrc...@gmail.com wrote:
 Hi Christian,

 I think this page suggestions that should address my issues, correct?
 http://groups.google.com/group/reviewboard/browse_thread/thread/69e334db357f183e/955e8ebd634d0a94?lnk=gstq=proxy+post-review#955e8ebd634d0a94



 On Jun 10, 4:54 pm, ptrchen ptrc...@gmail.com wrote:
 Sorry Chrisitan, never mind, I misread your post. I'll do some more
 digging for overriding the proxy configuration

 On Jun 10, 4:51 pm,ptrchenptrc...@gmail.com wrote:

  Ah, so would setting the environment variable in the command prompt
  window do the trick?

  On Jun 10, 4:32 pm, Christian Hammond chip...@chipx86.com wrote:

   We've seen people run into this sort of error with proxy servers. 
   Regardless
   of your client-side proxy server configuration (say, in your Internet
   settings, on Windows), it may still use the proxy server on post-review.

   The error output looks very much like it came from a proxy server, 
   meaning
   that the request is going out to the proxy, and the proxy can't find the
   domain. You'll need to blacklist it. I don't recall if it will at all
   respect this black list with Python running on Windows. If it's Linux, 
   then
   you want to be sure your http_proxy environment variable isn't set.

   This has come up a couple of times, and it's clear we need a setting in
   post-review itself to just override the proxy configuration.

   If you search on this mailing list, you'll probably find a couple other
   solutions.

   Christian

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

   On Fri, Jun 10, 2011 at 3:55 PM,ptrchenptrc...@gmail.com wrote:
Sorry for not listing all the output, but company policy prohibits me
from doing that.

Yes, the error lists the hostname and FQDN

Also, we do give it the FQDN following the --server option

On Jun 10, 2:56 pm, Tucker j...@gmail.com wrote:
 Does the error actually only list the hostname and not the fully
 qualified name?  If so, that may be part of your problem (throwing 
 out
 guesses).  Have you tried using the fully qualified name?

 On Fri, Jun 10, 2011 at 11:22 AM,ptrchenptrc...@gmail.com wrote:
  Hi Tucker,

  Thanks for the reply.

  I ran nslookup server_name from both server_name (XP server) 
  and
  from a sparc-solaris2.10 machine.

  Both return

  Name:   server_name.domain
  Address: ip_address

  On Jun 10, 11:15 am, Tucker j...@gmail.com wrote:
  You appear to have a DNS problem:

  Unable to determine IP address from host name for server_name.

  What does nslookup server_name say?

  On Thu, Jun 9, 2011 at 7:12 PM,ptrchenptrc...@gmail.com wrote:
   Hi,

   We've been trying to run post-review but have been running into 
   a
   requested URL could not be retrieved error

   We're running:

   ReviewBoard 1.5.5 on Windows XP
   Python 2.5.x
   Apache 2.2.x

   Subversion 1.6.16, running on a sparc-solaris2.10

   Here is the output after adding the --debug option:

--
   post-review --server=server_name/rb_site --username= --
   password= --revision-range=8325 --debug
   RBTools 0.3.2
   Home = C:\Documents and Settings\\Application Data
   svn info
   diff --version
   repository info: Path: svn-server/ParentPath/RepoName, 
   Base
pa
   th: /trunk, Supports changesets: False
   HTTP GETting api/
   Got HTTP error: 503: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 
   4.01
Transition
   al//EN http://www.w3.org/TR/html4/loose.dtd;
   HTMLHEADMETA HTTP-EQUIV=Content-Type CONTENT=text/html;
   charset=iso-8859
   -1
   TITLEERROR: The requested URL could not be retrieved/TITLE
   STYLE type=text/css!--BODY{background-color:#ff;font-
   family:verdana,san
   s-serif}PRE{font-family:sans-serif}--/STYLE
   /HEADBODY
   H2The requested URL could not be retrieved/H2
   HR noshade size=1px
   P
   While trying to retrieve the URL:
   A
HREF=server_name/rb_site/api/server_name/rb_site/api//
   A
   P
   The following error was encountered:
   BLOCKQUOTE
   Unable to determine IP address from host name for
   Iserver_name/I
   /BLOCKQUOTE

   P
   The dnsserver returned:
   BLOCKQUOTE
   Name Error: The domain name does not exist.
   /BLOCKQUOTE

   P
   This means that:
   PRE
   The cache was not able to resolve the hostname presented in the 
   URL.
   Check if the address is correct.


Password recovery

2011-06-20 Thread rfs
I'm running ReviewBoard 1.5.5 and recently discovered that the
Recover Password feature is not working.  After entering the email
address and submitting the form, I get Something Broke! (Error
500).  Looking at the apache error log shows:

ERROR:root:Exception thrown for user AnonymousUser at
http://reviewboard.rossvideo.com/account/recover/

(504, 'Need Fully Qualified Address', u'webmaster@localhost')
Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
core/handlers/base.py, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
utils/decorators.py, line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
contrib/auth/views.py, line 123, in password_reset
form.save(**opts)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
contrib/auth/forms.py, line 143, in save
t.render(Context(c)), None, [user.email])
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
core/mail/__init__.py, line 61, in send_mail
connection=connection).send()
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
core/mail/message.py, line 175, in send
return self.get_connection(fail_silently).send_messages([self])
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
core/mail/backends/smtp.py, line 85, in send_messages
sent = self._send(message)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
core/mail/backends/smtp.py, line 101, in _send
email_message.message().as_string())
  File /usr/lib64/python2.6/smtplib.py, line 698, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (504, 'Need Fully Qualified Address',
u'webmaster@localhost')


Reviewboard is able to send mail normally (eg. when reviews are
posted), so it is not the mail server configuration.  It looks like
the webmaster@localhost is the problem.  I tried to solve this,
chasing it back down to DEFAULT_FROM_EMAIL in global_settings.py.

However making changes to that file (and rebuilding the .pyc files)
does not seem to change the error... Reviewboard continues to use
webmaster@localhost

Any suggestions would be appreciated!

-- 
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: Password recovery

2011-06-20 Thread Christian Hammond
That setting needs to be set in your site's conf/settings_local.py, and the
web server restarted. If you modified global_settings.py, you should
probably change it back.

If that still doesn't work, let me know, and we'll dig deeper.

Christian

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


On Mon, Jun 20, 2011 at 3:14 PM, rfs rfs...@gmail.com wrote:

 I'm running ReviewBoard 1.5.5 and recently discovered that the
 Recover Password feature is not working.  After entering the email
 address and submitting the form, I get Something Broke! (Error
 500).  Looking at the apache error log shows:

 ERROR:root:Exception thrown for user AnonymousUser at
 http://reviewboard.rossvideo.com/account/recover/

 (504, 'Need Fully Qualified Address', u'webmaster@localhost')
 Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 core/handlers/base.py, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 utils/decorators.py, line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 contrib/auth/views.py, line 123, in password_reset
form.save(**opts)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 contrib/auth/forms.py, line 143, in save
t.render(Context(c)), None, [user.email])
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 core/mail/__init__.py, line 61, in send_mail
connection=connection).send()
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 core/mail/message.py, line 175, in send
return self.get_connection(fail_silently).send_messages([self])
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 core/mail/backends/smtp.py, line 85, in send_messages
sent = self._send(message)
  File /usr/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/
 core/mail/backends/smtp.py, line 101, in _send
email_message.message().as_string())
  File /usr/lib64/python2.6/smtplib.py, line 698, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
 SMTPSenderRefused: (504, 'Need Fully Qualified Address',
 u'webmaster@localhost')


 Reviewboard is able to send mail normally (eg. when reviews are
 posted), so it is not the mail server configuration.  It looks like
 the webmaster@localhost is the problem.  I tried to solve this,
 chasing it back down to DEFAULT_FROM_EMAIL in global_settings.py.

 However making changes to that file (and rebuilding the .pyc files)
 does not seem to change the error... Reviewboard continues to use
 webmaster@localhost

 Any suggestions would be appreciated!

 --
 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: Password recovery

2011-06-20 Thread rfs
Thanks for the quick response.  I've restored global_settings.py and
have
made the change as you suggested in my site's conf/settings_local.py.
There was no DEFAULT_FROM_EMAIL so I added it there.
Restarted web server and memcached, still getting the same error.
SMTPSenderRefused: (504, 'Need Fully Qualified Address',
u'webmaster@localhost'
Cleared the web browser cache also.

-Ralph

On Jun 20, 6:35 pm, Christian Hammond chip...@chipx86.com wrote:
 That setting needs to be set in your site's conf/settings_local.py, and the
 web server restarted. If you modified global_settings.py, you should
 probably change it back.

 If that still doesn't work, let me know, and we'll dig deeper.

 Christian

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


Re: Enabling Searching on RB 1.5.5

2011-06-20 Thread Christopher Hahn
Hey,

I have yet to find out how to enable to Enable Search checkbox in my
ReviewBoard settings page.

I checked my setting_local.py, and I see (munged):

# Database configuration
DATABASE_ENGINE = 'mysql'
DATABASE_NAME = 'reviewboard'
DATABASE_USER = 'reviewboard'
DATABASE_PASSWORD = ''
DATABASE_HOST = 'localhost'
DATABASE_PORT = ''

# Unique secret key. Don't share this with anybody.
SECRET_KEY = ''

# Cache backend settings.
CACHE_BACKEND = 'memcached://localhost:11211/'

# Extra site information.
SITE_ID = 1
SITE_ROOT = '/reviews/'
FORCE_SCRIPT_NAME = ''
DEBUG = True


Can anyone tell me the parameter that I need to add above to enable the
RB settings checkbox I need to turn on searching?

Thank you,

Christopher

On Tue, Jun 14, 2011 at 4:49 PM, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 Those settings are stored in the database, rather than settings_local.py.

 Christian

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


 On Tue, Jun 14, 2011 at 4:40 PM, Christopher Hahn xrz1...@gmail.com wrote:

 Hey,

 It occurs to me to ask whether there is a variable that corresponds
 to the Enable Search checkbox, one that can be set in settings_local.py

 I will poke about for it, but let me know if this is something obvious...

 Thank you,

 Chris

 On Tue, Jun 14, 2011 at 4:30 PM, Christopher Hahn xrz1...@gmail.com
 wrote:
  Thanks Chris.
 
  Well, I did not have toit was already installed.
 
  (my commands were to show this...I had to confirm, but it was there)
 
  Thanks again!
 
  Chris
 
  On Tue, Jun 14, 2011 at 2:54 PM, Christian Hammond chip...@chipx86.com
  wrote:
  Did you reload your web server after installing pylucene?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board - http://www.reviewboard.org
  VMware, Inc. - http://www.vmware.com
 
 
  On Tue, Jun 14, 2011 at 12:09 PM, XRZ1138 xrz1...@gmail.com wrote:
 
  BTW, I am seeing a pylucene warning on my RB setting page:
  ==
  Enable search
 
  Provides a search field for quickly searching through review requests.
 
  PyLucene (with JCC) is required to enable search. See the
  documentation for instructions.
  ==
 
  Is this to mean that RB thinks that I do not have pylucene installed?
 
  I checked and it sure seems to have landed where python ought to find
  it:
  /usr/lib/python2.5/site-packages/lucene   (!).
 
  TIA!
 
  On Jun 14, 11:35 am, XRZ1138 xrz1...@gmail.com wrote:
   Hello,
  
   I checked my server and pylucene is installed:
   ===
   root@manager:/data2/ReviewBoard/conf# apt-get install pylucene
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   pylucene is already the newest version.
   ===
  
   ...but I only see a suppressed Search section on my General
   Settings
   webpage on the Review Board Administration webpage.
  
   The Enable Search checkbox cannot be selected at all.
  
   Is there some flag that I need to set outside the GUI?
  
   Thank you for the time.
  
   Chris
 
  --
  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
 
 
 
  --
  Realisant mon espoir, je me lance vers la gloire.
  Christopher Hahn == xrz1...@gmail.com
 



 --
 Realisant mon espoir, je me lance vers la gloire.
 Christopher Hahn == xrz1...@gmail.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? Let us know at http://www.reviewboard.org/users/
 

Re: Issue 1502 in reviewboard: Plain-text review request e-mails should use the full name in the signature

2011-06-20 Thread reviewboard

Updates:
Status: Fixed

Comment #5 on issue 1502 by trowb...@gmail.com: Plain-text review request  
e-mails should use the full name in the signature

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

Fixed in change 38c9772. Thanks!

--
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 2142 in reviewboard: Reviewboard is not letting me submit the review comments.

2011-06-20 Thread reviewboard

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

New issue 2142 by pvn...@gmail.com: Reviewboard is not letting me submit  
the review comments.

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

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


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


What steps will reproduce the problem?
1.
2.
3.

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


What operating system are you using? What browser?


Please provide any additional information below.


--
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 2142 in reviewboard: Reviewboard is not letting me submit the review comments.

2011-06-20 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 2142 by trowb...@gmail.com: Reviewboard is not letting  
me submit the review comments.

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

We need you to actually fill out that template with all the information  
requested.


--
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 2142 in reviewboard: Reviewboard is not letting me submit the review comments.

2011-06-20 Thread reviewboard


Comment #2 on issue 2142 by pvn...@gmail.com: Reviewboard is not letting me  
submit the review comments.

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

Sorry, I didn't mean to log this as an issue, you can close this request.  
Sorry for the trouble.


--
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 1722 in reviewboard: UTF-16 file from Perforce not displayed

2011-06-20 Thread reviewboard


Comment #2 on issue 1722 by joshua.m...@gmail.com: UTF-16 file from  
Perforce not displayed

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

For the record, it doesn't look like this is fixed in 1.5.

--
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 2142 in reviewboard: Reviewboard is not letting me submit the review comments.

2011-06-20 Thread reviewboard

Updates:
Status: Invalid

Comment #3 on issue 2142 by trowb...@gmail.com: Reviewboard is not letting  
me submit the review comments.

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

(No comment was entered for this change.)

--
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 2143 in reviewboard: unable to sign into my account on a different computer

2011-06-20 Thread reviewboard

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

New issue 2143 by msmorga...@gmail.com: unable to sign into my account on a  
different computer

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

* 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 beta 2 (dev)

What's the URL of the page containing the problem?
Log In page -- reviews.reviewboard.org/account/login/

What steps will reproduce the problem?
1. n/a
2.
3.

Description:
I just got a new computer.   I can log into reviewboard (username: mitch)  
just fine on my old my computer, but when I try to use my new computer,  
obviously with the same username and password, it will not allow me to log  
in, stating that I have entered the incorrect username or password.  I have  
tried logging on my old computer and retrying, but this does not seem to  
help.


What is the expected output? What do you see instead?
I expect to login.  It tells me I have the wrong username/password even  
though it is definitely correct.


What operating system are you using? What browser?
Chrome

Please provide any additional information below.


--
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 2143 in reviewboard: unable to sign into my account on a different computer

2011-06-20 Thread reviewboard


Comment #2 on issue 2143 by msmorga...@gmail.com: unable to sign into my  
account on a different computer

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

I tried that, and I was able to log back in just fine.

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