Re: Error (with rather opaque Python diagnostic output) installing P4 integration

2010-10-21 Thread Thor Simon


On Oct 20, 3:02 pm, Christian Hammond chip...@chipx86.com wrote:
 The one we use is a custom installer we wrote to do the installation of
 Perforce's Python library. It's really just a wrapper.

I am not Python savvy and really have no idea how to manually install
the library so that Reviewboard can use it.  We're trying to migrate
an existing Reviewboard from one machine to another and are stuck at
this point.  Sigh.

 I noticed this EOF error myself. It just started a couple days ago. I'm
 trying to figure it out.

Is there any simple  way to even tell what it's trying to fetch, short
of taking a packet capture?  Maybe Perforce moved a file on their FTP
server.

Thor

-- 
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: Review Board with Perforce proxy servers

2010-10-21 Thread Dana Lacoste
I can't give a full response to everything here, but if you're using
post-review (likely) then the P4PORT env variable is effectively
ignored.

Instead, post-review runs p4 info and pulls the port information from
the Server address: server.domain.com:1666 line.

It then calls gethostbyaddr() on the result and compares the results
to the values on the reviewboard server's repository list.

The reviewboard server contacts the perforce server using the locations
defined in the reviewboard server's repository list and dynamically
generates the diff content every time the diff is viewed.

So, how to optimize this for your users?  I don't know, but I thought
I could shed some light on how it's working to help figure that out :)

Dana Lacoste

-Original Message-
From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
On Behalf Of Jason Alday
Sent: Wednesday, October 20, 2010 4:16 PM
To: reviewboard
Subject: Review Board with Perforce proxy servers

Hi,

We've recently starting using Review Board for our team but we are
spread out across several sites in the US.  Each site has it's own P4
proxy server that people on that site use for their P4 activity.
Behind the scenes I understand these proxies phone home to master P4
server (which is actually outside the US).  The Review Board server is
actually located in one of these remote sites inside the US, far from
the master P4 server.

From what we can tell, when the user is using post-review the p4Info
that comes back appears to be the master server that is outside the US
(even though their P4PORT env variable is set to their local proxy)
The repositories for Review Board are also set to the server outside
the US.

It would be ideal if the post-review diff was generated based on the
users local P4 proxy as that would be the fastest.  Then it would be
ideal if the Review Board server used the local proxy for it's
location.  Is this possible?

It's not clear to me how much P4 server contacting the Review Board
server does.  When the user clicks on View Diff in Review Board,
does that result in the server contacting the P4 server for any info
or is all of this info stored locally in the Review Board's database
from the submission time?


Thanks,
Jason.

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


post-review for p4 changelist

2010-10-21 Thread Dolphin
Hi All,

I am getting this error while executing the command. [post-review -d
p4changelist-num].

 diff -urNp c:\docume~1\srinivar\locals~1\temp\tmpj5gzff 
 c:\docume~1\srinivar\locals~1\temp\tmpripliy
 Looking for ' 0/' cookie in C:\Documents and Settings\srinivar\Application 
 Data\.post-review-cookies.txt
 Couldn't load cookie file: [Errno 2] No such file or directory: 
 'C:\\Documents and Settings\\srinivar\\Application Da
ta\\.post-review-cookies.txt'
== Review Board Login Required
Enter username and password for Review Board at 0/
Username: srini
Password:
 Logging in with username srini
 HTTP POSTing to http://0/0/api/json/accounts/login/: {'username': 'srini', 
 'password': '**'}
Unable to access http://0/0/api/json/accounts/login/. The host path
may be invalid
urlopen error (11001, 'getaddrinfo failed')

Any idea what is the solution:

Other info:
Review board is setup correctly.. I can create review requests with
Graphics only.

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


log level

2010-10-21 Thread Chris van Es
Is there a way to reduce the log level in reiewboard to something
other than the default debug? Had a look through some of the settings
scripts but I don't see anything obvious and it isn't available in the
GUI either.

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


A few questions about ereviewboard.

2010-10-21 Thread Stefan Brandt
Hi,

i have a few questions regarding the ereviewboard plugin for Eclipse.
Maybe someone who´s using it can help me out.

1.) Is there any kind of end user documentation available? I know how
to install the plugin via the update site but what i´m missing is
something like How to configure the task repository and How to
create a review request.

2.) What are the main features of the plugin. Is it possible to create
pre- and post-commit reviews as well or are there any restrictions?

3.) Is there still active development? The last commit on
http://github.com/mknittig/ereviewboard is more than five month ago.

Thanks a lot.

Regards
Stefan

PS: I would love to help out with some documentation, but right now
http://github.com/mknittig/ereviewboard/issues#issue/3 prevents me
from installing the plugin! ;-(

-- 
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: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread James
Hi Christian,

Did you get that URL I sent you?  Did it look strange in any way?

I've also been experimenting with git-svn + post-review, hoping that
might work better.  Unfortunately, it doesn't, but at least it's a
different problem:

$ post-review -dn
 svn info
 git rev-parse --git-dir
 git symbolic-ref -q HEAD
 git svn info
 repository info: Path: http://svn.company.net/svn/repositories/company, 
 Base path: /Project/trunk, Supports changesets: False
 git merge-base master refs/heads/reviewboard-test
 git diff --no-color --no-prefix -r -u 
 f58148b4094952c076861bcf4a9714ed7093d9ad..refs/heads/reviewboard-test
 git svn find-rev f58148b4094952c076861bcf4a9714ed7093d9ad
None

The issue is that git svn find-rev returns nothing when passed a git
revision.  It works when passed a subversion revision number, though.
Have you seen that before?  Google didn't turn up anything.

-James


On Oct 20, 8:12 am, James jbaldass...@gmail.com wrote:
 Sure, I'll send you the URL.  Thanks for looking into it.

 -James

 On Oct 19, 8:09 pm, Christian Hammond chip...@chipx86.com wrote:

  Hi James,

  That is indeed strange. Without seeing the URL, it's hard to say. Is this
  indeed a fully-qualified domain?

  Just as a sanity check, would you feel comfortable e-mailing me privately
  the full path?

  Christian

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

  On Tue, Oct 19, 2010 at 4:26 PM, James jbaldass...@gmail.com wrote:
   Hi,

   I seem to be having the same problem as is described in this post:

  http://groups.google.com/group/reviewboard/browse_thread/thread/96cc5...

   On the client (post-review) side I see this:

   ---

   Enter username and password for Please Enter Your [DOMAIN] LDAP
   Credentials at reviewboard.domain.net
   Username: user
   Password:
HTTP GETting /api/json/repositories/1/info/
Got API Error 210 (HTTP code 200): There was an error fetching 
extended
   information for this repository.
Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat': u'fail',
   u'err': {u'msg': u'There was an error fetching extended information for 
   this
   repository.', u'code': 210}}
HTTP GETting /api/json/repositories/4/info/
Got API Error 210 (HTTP code 200): There was an error fetching 
extended
   information for this repository.
Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat': u'fail',
   u'err': {u'msg': u'There was an error fetching extended information for 
   this
   repository.', u'code': 210}}
Attempting to create review request on
  http://svn.domain.net/svn/repositories/repoforNone
HTTP POSTing to
  http://reviewboard.domain.net/api/json/reviewrequests/new/:
   {'repository_path': 'http://svn.domain.net/svn/repositories/repo'}
Review request created
Uploading diff, size: 18990
HTTP POSTing to
  http://reviewboard.domain.net/api/json/reviewrequests/31/diff/new/:
   {'basedir': '/dir1/trunk'}
Got API Error 105 (HTTP code 200): One or more fields had errors
Error data: {u'fields': {u'path': [uURL '
  http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'is
   malformed or the scheme or host or path is missing]}, u'stat': u'fail',
   u'err': {u'msg': u'One or more fields had errors', u'code': 105},
   u'deprecated': {u'in_version': u'1.5'}}

   Error uploading diff

   The generated diff file was empty. This usually means no files were
   modified in this change.

   ---

   On the server side i see this:

   ---

   2010-10-19 19:07:20,764 - DEBUG - DiffParser.parse: Beginning parse of
   diff, size = 18990
   2010-10-19 19:07:20,766 - DEBUG - DiffParser.parse: Finished parsing
   diff.
   2010-10-19 19:07:20,767 - ERROR - Error uploading new diff: URL
   'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'
   is malformed or the scheme or host or path is missing
   Traceback (most recent call last):
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/webapi/json.py, line 1169, in new_diff
      request.FILES.get('parent_diff_path'))
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/reviews/forms.py, line 249, in create
      history)
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/diffviewer/forms.py, line 62, in create
      files = list(self._process_files(
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/diffviewer/forms.py, line 144, in _process_files
      if (revision != PRE_CREATION and
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/scmtools/core.py, line 68, in file_exists
      self.get_file(path, revision)
    File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
   reviewboard/scmtools/svn.py, line 144, in get_file
      raise SCMError(e)
   SCMError: URL 

Re: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread James
Well I figured out one issue.  There was some problem with my git
repository.  I did a fresh git svn clone, and I didn't have that find-
rev problem any more.  However, now I'm back to the original SCMError
saying that the URL is malformed or the scheme or host or path is
missing on the ReviewBoard server.

-James


On Oct 21, 3:00 pm, James jbaldass...@gmail.com wrote:
 Hi Christian,

 Did you get that URL I sent you?  Did it look strange in any way?

 I've also been experimenting with git-svn + post-review, hoping that
 might work better.  Unfortunately, it doesn't, but at least it's a
 different problem:

 $ post-review -dn svn info
  git rev-parse --git-dir
  git symbolic-ref -q HEAD
  git svn info
  repository info: Path:http://svn.company.net/svn/repositories/company, 
  Base path: /Project/trunk, Supports changesets: False
  git merge-base master refs/heads/reviewboard-test
  git diff --no-color --no-prefix -r -u 
  f58148b4094952c076861bcf4a9714ed7093d9ad..refs/heads/reviewboard-test
  git svn find-rev f58148b4094952c076861bcf4a9714ed7093d9ad

 None

 The issue is that git svn find-rev returns nothing when passed a git
 revision.  It works when passed a subversion revision number, though.
 Have you seen that before?  Google didn't turn up anything.

 -James

 On Oct 20, 8:12 am, James jbaldass...@gmail.com wrote:

  Sure, I'll send you the URL.  Thanks for looking into it.

  -James

  On Oct 19, 8:09 pm, Christian Hammond chip...@chipx86.com wrote:

   Hi James,

   That is indeed strange. Without seeing the URL, it's hard to say. Is this
   indeed a fully-qualified domain?

   Just as a sanity check, would you feel comfortable e-mailing me privately
   the full path?

   Christian

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

   On Tue, Oct 19, 2010 at 4:26 PM, James jbaldass...@gmail.com wrote:
Hi,

I seem to be having the same problem as is described in this post:

   http://groups.google.com/group/reviewboard/browse_thread/thread/96cc5...

On the client (post-review) side I see this:

---

Enter username and password for Please Enter Your [DOMAIN] LDAP
Credentials at reviewboard.domain.net
Username: user
Password:
 HTTP GETting /api/json/repositories/1/info/
 Got API Error 210 (HTTP code 200): There was an error fetching 
 extended
information for this repository.
 Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat': 
 u'fail',
u'err': {u'msg': u'There was an error fetching extended information for 
this
repository.', u'code': 210}}
 HTTP GETting /api/json/repositories/4/info/
 Got API Error 210 (HTTP code 200): There was an error fetching 
 extended
information for this repository.
 Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat': 
 u'fail',
u'err': {u'msg': u'There was an error fetching extended information for 
this
repository.', u'code': 210}}
 Attempting to create review request on
   http://svn.domain.net/svn/repositories/repoforNone
 HTTP POSTing to
   http://reviewboard.domain.net/api/json/reviewrequests/new/:
{'repository_path': 'http://svn.domain.net/svn/repositories/repo'}
 Review request created
 Uploading diff, size: 18990
 HTTP POSTing to
   http://reviewboard.domain.net/api/json/reviewrequests/31/diff/new/:
{'basedir': '/dir1/trunk'}
 Got API Error 105 (HTTP code 200): One or more fields had errors
 Error data: {u'fields': {u'path': [uURL '
   http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'is
malformed or the scheme or host or path is missing]}, u'stat': u'fail',
u'err': {u'msg': u'One or more fields had errors', u'code': 105},
u'deprecated': {u'in_version': u'1.5'}}

Error uploading diff

The generated diff file was empty. This usually means no files were
modified in this change.

---

On the server side i see this:

---

2010-10-19 19:07:20,764 - DEBUG - DiffParser.parse: Beginning parse of
diff, size = 18990
2010-10-19 19:07:20,766 - DEBUG - DiffParser.parse: Finished parsing
diff.
2010-10-19 19:07:20,767 - ERROR - Error uploading new diff: URL
'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'
is malformed or the scheme or host or path is missing
Traceback (most recent call last):
 File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/webapi/json.py, line 1169, in new_diff
   request.FILES.get('parent_diff_path'))
 File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/reviews/forms.py, line 249, in create
   history)
 File /usr/lib/python2.4/site-packages/ReviewBoard-1.5-py2.4.egg/
reviewboard/diffviewer/forms.py, line 62, in create
   files = list(self._process_files(
 File 

Moving to a different server

2010-10-21 Thread Charles Gagnon
I have a working reviewboard site that needs to be moved to a
different server. I am trying to figure out the best approach. I just
started maintaining this site so I'm not super familiar with the
product.

I assume I would have to install everything I need on the new box.
Maybe create a test site to check things. Than dump and import all the
related mysql files. Can I just copy over the site directory
structure?

Anybody has notes on this?

Thanks in advance.

-- 
Charles Gagnon
http://unixrealm.com
charlesg at unixrealm.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: Moving to a different server

2010-10-21 Thread Christian Hammond
Hi Charles,

Yeah, I'd start with a test install, but you should be able to just
dump/import the SQL and copy over the entire site directory (make sure to
preserve permissions).

Christian

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


On Thu, Oct 21, 2010 at 1:08 PM, Charles Gagnon charl...@unixrealm.comwrote:

 I have a working reviewboard site that needs to be moved to a
 different server. I am trying to figure out the best approach. I just
 started maintaining this site so I'm not super familiar with the
 product.

 I assume I would have to install everything I need on the new box.
 Maybe create a test site to check things. Than dump and import all the
 related mysql files. Can I just copy over the site directory
 structure?

 Anybody has notes on this?

 Thanks in advance.

 --
 Charles Gagnon
 http://unixrealm.com
 charlesg at unixrealm.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.comreviewboard%2bunsubscr...@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: log level

2010-10-21 Thread Christian Hammond
In conf/settings_local.py, add:

LOGGING_LEVEL = INFO

And then restart the web server.

We probably should have some UI for this. Feel free to file a feature
request.

Christian

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


On Thu, Oct 21, 2010 at 10:07 AM, Chris van Es cva...@gmail.com wrote:

 Is there a way to reduce the log level in reiewboard to something
 other than the default debug? Had a look through some of the settings
 scripts but I don't see anything obvious and it isn't available in the
 GUI either.

 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.comreviewboard%2bunsubscr...@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: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread Christian Hammond
Hi,

Yeah, got the URL, but nothing stands out as being wrong. That's very
strange.

Can you go into the admin UI, click on Repositories - your SVN repository,
and resave it? That should re-check the server for validity. If that fails,
we know something is definitely wrong there with the repository path.

Is the path set to the root of the SVN repository, or some location within
it?

I haven't seen that problem with git svn find-rev. What version of git are
you using? I know other people (ourselves included at one point) were using
git-svn locally, with Review Board hosted in SVN.

Christian

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


On Thu, Oct 21, 2010 at 12:00 PM, James jbaldass...@gmail.com wrote:

 Hi Christian,

 Did you get that URL I sent you?  Did it look strange in any way?

 I've also been experimenting with git-svn + post-review, hoping that
 might work better.  Unfortunately, it doesn't, but at least it's a
 different problem:

 $ post-review -dn
  svn info
  git rev-parse --git-dir
  git symbolic-ref -q HEAD
  git svn info
  repository info: Path: http://svn.company.net/svn/repositories/company,
 Base path: /Project/trunk, Supports changesets: False
  git merge-base master refs/heads/reviewboard-test
  git diff --no-color --no-prefix -r -u
 f58148b4094952c076861bcf4a9714ed7093d9ad..refs/heads/reviewboard-test
  git svn find-rev f58148b4094952c076861bcf4a9714ed7093d9ad
 None

 The issue is that git svn find-rev returns nothing when passed a git
 revision.  It works when passed a subversion revision number, though.
 Have you seen that before?  Google didn't turn up anything.

 -James


 On Oct 20, 8:12 am, James jbaldass...@gmail.com wrote:
  Sure, I'll send you the URL.  Thanks for looking into it.
 
  -James
 
  On Oct 19, 8:09 pm, Christian Hammond chip...@chipx86.com wrote:
 
   Hi James,
 
   That is indeed strange. Without seeing the URL, it's hard to say. Is
 this
   indeed a fully-qualified domain?
 
   Just as a sanity check, would you feel comfortable e-mailing me
 privately
   the full path?
 
   Christian
 
   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.reviewboard.org
   VMware, Inc. -http://www.vmware.com
 
   On Tue, Oct 19, 2010 at 4:26 PM, James jbaldass...@gmail.com wrote:
Hi,
 
I seem to be having the same problem as is described in this post:
 
   
 http://groups.google.com/group/reviewboard/browse_thread/thread/96cc5...
 
On the client (post-review) side I see this:
 
---
 
Enter username and password for Please Enter Your [DOMAIN] LDAP
Credentials at reviewboard.domain.net
Username: user
Password:
 HTTP GETting /api/json/repositories/1/info/
 Got API Error 210 (HTTP code 200): There was an error fetching
 extended
information for this repository.
 Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat':
 u'fail',
u'err': {u'msg': u'There was an error fetching extended information
 for this
repository.', u'code': 210}}
 HTTP GETting /api/json/repositories/4/info/
 Got API Error 210 (HTTP code 200): There was an error fetching
 extended
information for this repository.
 Error data: {u'deprecated': {u'in_version': u'1.5'}, u'stat':
 u'fail',
u'err': {u'msg': u'There was an error fetching extended information
 for this
repository.', u'code': 210}}
 Attempting to create review request on
   http://svn.domain.net/svn/repositories/repoforNone
 HTTP POSTing to
   http://reviewboard.domain.net/api/json/reviewrequests/new/:
{'repository_path': 'http://svn.domain.net/svn/repositories/repo'}
 Review request created
 Uploading diff, size: 18990
 HTTP POSTing to
   http://reviewboard.domain.net/api/json/reviewrequests/31/diff/new/:
{'basedir': '/dir1/trunk'}
 Got API Error 105 (HTTP code 200): One or more fields had errors
 Error data: {u'fields': {u'path': [uURL '
   
 http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'ishttp://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml%27is
malformed or the scheme or host or path is missing]}, u'stat':
 u'fail',
u'err': {u'msg': u'One or more fields had errors', u'code': 105},
u'deprecated': {u'in_version': u'1.5'}}
 
Error uploading diff
 
The generated diff file was empty. This usually means no files were
modified in this change.
 
---
 
On the server side i see this:
 
---
 
2010-10-19 19:07:20,764 - DEBUG - DiffParser.parse: Beginning parse
 of
diff, size = 18990
2010-10-19 19:07:20,766 - DEBUG - DiffParser.parse: Finished parsing
diff.
2010-10-19 19:07:20,767 - ERROR - Error uploading new diff: URL
'
 http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml'
is malformed or the scheme or host or path is missing
Traceback (most recent call last):
 

Re: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread James
I traced the problem to line 287 in svn.py:

try:
info = client.info2(path, recurse=False)
logging.debug('SVN: Got repository information for %s: %s' %
  (path, info))
except ClientError, e:
...
raise RepositoryNotFoundError()

I fired up a python shell and can now reproduce the error:
pysvn._pysvn_2_4.ClientError: URL 'http://svn.company.net/svn/
repositories/company' is malformed or the scheme or host or path is
missing

I guess that's a good first step.  It seems like this must be some
problem with pysvn, the svn client/libraries, the neon library
(LD_LIBRARY_PATH?), or the configuration of our svn server.  I'm not
really sure where to start looking next, though.  Maybe I'll try
installing ReviewBoard on my laptop and have it point to our SVN
server.  That might at least tell me if it's the client or server.

-James


On Oct 21, 7:00 pm, James jbaldass...@gmail.com wrote:
 I went into the admin UI, removed the SVN repository, and then tried
 to add it back in, but it keeps failing.  In the server logs I see:

 ERROR - SVN: Failed to get repository information 
 forhttp://svn.company.net/svn/repositories/company/:URL 'http://
 svn.company.net/svn/repositories/company' is malformed or the scheme
  or host or path is missing

 On the machine where ReviewBoard is running (which also happens to be
 where SVN is running) I did the following to make sure that it can
 talk to SVN, resolve hostnames, etc.:

 svn cohttp://svn.company.net/svn/repositories/company/project/trunk
 project

 This worked fine, so I guess SVN is working ok.  Here's the output of
 svn --version in case that helps:

 --
 svn, version 1.6.11 (r934486)
    compiled Apr 20 2010, 00:24:22

 Copyright (C) 2000-2009 CollabNet.
 Subversion is open source software, seehttp://subversion.tigris.org/
 This product includes software developed by CollabNet 
 (http://www.Collab.Net/).

 The following repository access (RA) modules are available:

 * ra_neon : Module for accessing a repository via WebDAV protocol
 using Neon.
   - handles 'http' scheme
   - handles 'https' scheme
 * ra_svn : Module for accessing a repository using the svn network
 protocol.
   - with Cyrus SASL authentication
   - handles 'svn' scheme
 * ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme
 --

 I wonder if something with the basic auth on the SVN DAV server is
 causing problems?  Does RB/SVN need to do an HTTP PROPFIND or OPTIONS
 without authenticating?

 -James

 On Oct 21, 5:33 pm, Christian Hammond chip...@chipx86.com wrote:

  Hi,

  Yeah, got the URL, but nothing stands out as being wrong. That's very
  strange.

  Can you go into the admin UI, click on Repositories - your SVN repository,
  and resave it? That should re-check the server for validity. If that fails,
  we know something is definitely wrong there with the repository path.

  Is the path set to the root of the SVN repository, or some location within
  it?

  I haven't seen that problem with git svn find-rev. What version of git are
  you using? I know other people (ourselves included at one point) were using
  git-svn locally, with Review Board hosted in SVN.

  Christian

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

  On Thu, Oct 21, 2010 at 12:00 PM, James jbaldass...@gmail.com wrote:
   Hi Christian,

   Did you get that URL I sent you?  Did it look strange in any way?

   I've also been experimenting with git-svn + post-review, hoping that
   might work better.  Unfortunately, it doesn't, but at least it's a
   different problem:

   $ post-review -dn
svn info
git rev-parse --git-dir
git symbolic-ref -q HEAD
git svn info
repository info: Path:http://svn.company.net/svn/repositories/company,
   Base path: /Project/trunk, Supports changesets: False
git merge-base master refs/heads/reviewboard-test
git diff --no-color --no-prefix -r -u
   f58148b4094952c076861bcf4a9714ed7093d9ad..refs/heads/reviewboard-test
git svn find-rev f58148b4094952c076861bcf4a9714ed7093d9ad
   None

   The issue is that git svn find-rev returns nothing when passed a git
   revision.  It works when passed a subversion revision number, though.
   Have you seen that before?  Google didn't turn up anything.

   -James

   On Oct 20, 8:12 am, James jbaldass...@gmail.com wrote:
Sure, I'll send you the URL.  Thanks for looking into it.

-James

On Oct 19, 8:09 pm, Christian Hammond chip...@chipx86.com wrote:

 Hi James,

 That is indeed strange. Without seeing the URL, it's hard to say. Is
   this
 indeed a fully-qualified domain?

 Just as a sanity check, would you feel comfortable e-mailing me
   privately
 the full path?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review 

Re: post-review for p4 changelist

2010-10-21 Thread Christian Hammond
Using 0 as a server name isn't going to work. It should be a full IP
address or fully-qualified domain.

Christian

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


On Thu, Oct 21, 2010 at 3:19 AM, Dolphin srini@gmail.com wrote:

 Hi All,

 I am getting this error while executing the command. [post-review -d
 p4changelist-num].

  diff -urNp c:\docume~1\srinivar\locals~1\temp\tmpj5gzff
 c:\docume~1\srinivar\locals~1\temp\tmpripliy
  Looking for ' 0/' cookie in C:\Documents and
 Settings\srinivar\Application Data\.post-review-cookies.txt
  Couldn't load cookie file: [Errno 2] No such file or directory:
 'C:\\Documents and Settings\\srinivar\\Application Da
 ta\\.post-review-cookies.txt'
 == Review Board Login Required
 Enter username and password for Review Board at 0/
 Username: srini
 Password:
  Logging in with username srini
  HTTP POSTing to http://0/0/api/json/accounts/login/: {'username':
 'srini', 'password': '**'}
 Unable to access http://0/0/api/json/accounts/login/. The host path
 may be invalid
 urlopen error (11001, 'getaddrinfo failed')

 Any idea what is the solution:

 Other info:
 Review board is setup correctly.. I can create review requests with
 Graphics only.

 --
 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.comreviewboard%2bunsubscr...@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: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread James
I installed RB on my laptop, pointed it at the same SVN server, and it
works fine.  There must be something wrong with the SVN client,
libraries, or pysvn on that server.  I'm not sure what the problem is
there, but I'll either try a clean install on that machine or just
install it on a different server.

Thanks,
James


On Oct 21, 7:42 pm, James jbaldass...@gmail.com wrote:
 I traced the problem to line 287 in svn.py:

 try:
     info = client.info2(path, recurse=False)
     logging.debug('SVN: Got repository information for %s: %s' %
                   (path, info))
 except ClientError, e:
 ...
         raise RepositoryNotFoundError()

 I fired up a python shell and can now reproduce the error:
 pysvn._pysvn_2_4.ClientError: URL 'http://svn.company.net/svn/
 repositories/company' is malformed or the scheme or host or path is
 missing

 I guess that's a good first step.  It seems like this must be some
 problem with pysvn, the svn client/libraries, the neon library
 (LD_LIBRARY_PATH?), or the configuration of our svn server.  I'm not
 really sure where to start looking next, though.  Maybe I'll try
 installing ReviewBoard on my laptop and have it point to our SVN
 server.  That might at least tell me if it's the client or server.

 -James

 On Oct 21, 7:00 pm, James jbaldass...@gmail.com wrote:

  I went into the admin UI, removed the SVN repository, and then tried
  to add it back in, but it keeps failing.  In the server logs I see:

  ERROR - SVN: Failed to get repository information 
  forhttp://svn.company.net/svn/repositories/company/:URL'http://
  svn.company.net/svn/repositories/company' is malformed or the scheme
   or host or path is missing

  On the machine where ReviewBoard is running (which also happens to be
  where SVN is running) I did the following to make sure that it can
  talk to SVN, resolve hostnames, etc.:

  svn cohttp://svn.company.net/svn/repositories/company/project/trunk
  project

  This worked fine, so I guess SVN is working ok.  Here's the output of
  svn --version in case that helps:

  --
  svn, version 1.6.11 (r934486)
     compiled Apr 20 2010, 00:24:22

  Copyright (C) 2000-2009 CollabNet.
  Subversion is open source software, seehttp://subversion.tigris.org/
  This product includes software developed by CollabNet 
  (http://www.Collab.Net/).

  The following repository access (RA) modules are available:

  * ra_neon : Module for accessing a repository via WebDAV protocol
  using Neon.
    - handles 'http' scheme
    - handles 'https' scheme
  * ra_svn : Module for accessing a repository using the svn network
  protocol.
    - with Cyrus SASL authentication
    - handles 'svn' scheme
  * ra_local : Module for accessing a repository on local disk.
    - handles 'file' scheme
  --

  I wonder if something with the basic auth on the SVN DAV server is
  causing problems?  Does RB/SVN need to do an HTTP PROPFIND or OPTIONS
  without authenticating?

  -James

  On Oct 21, 5:33 pm, Christian Hammond chip...@chipx86.com wrote:

   Hi,

   Yeah, got the URL, but nothing stands out as being wrong. That's very
   strange.

   Can you go into the admin UI, click on Repositories - your SVN 
   repository,
   and resave it? That should re-check the server for validity. If that 
   fails,
   we know something is definitely wrong there with the repository path.

   Is the path set to the root of the SVN repository, or some location within
   it?

   I haven't seen that problem with git svn find-rev. What version of git are
   you using? I know other people (ourselves included at one point) were 
   using
   git-svn locally, with Review Board hosted in SVN.

   Christian

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

   On Thu, Oct 21, 2010 at 12:00 PM, James jbaldass...@gmail.com wrote:
Hi Christian,

Did you get that URL I sent you?  Did it look strange in any way?

I've also been experimenting with git-svn + post-review, hoping that
might work better.  Unfortunately, it doesn't, but at least it's a
different problem:

$ post-review -dn
 svn info
 git rev-parse --git-dir
 git symbolic-ref -q HEAD
 git svn info
 repository info: 
 Path:http://svn.company.net/svn/repositories/company,
Base path: /Project/trunk, Supports changesets: False
 git merge-base master refs/heads/reviewboard-test
 git diff --no-color --no-prefix -r -u
f58148b4094952c076861bcf4a9714ed7093d9ad..refs/heads/reviewboard-test
 git svn find-rev f58148b4094952c076861bcf4a9714ed7093d9ad
None

The issue is that git svn find-rev returns nothing when passed a git
revision.  It works when passed a subversion revision number, though.
Have you seen that before?  Google didn't turn up anything.

-James

On Oct 20, 8:12 am, James 

problem submitting a diff when directories have been renamed using svn mv

2010-10-21 Thread jon
I renamed a bunch of various directories from 'integ' to 's1' by using
'svn mv' in my working copy as well as edited a bunch of files. I am
trying to post a review and it is failing. Here is the post-review -d
output as well as svn status.

I'm running RB 1.5.

post-review --version
RBTools 0.2

thoughts?

jon


 svn info
 diff --version
 repository info: Path: http://svn.mycompany.com/marin, Base path: 
 /branches/iteration-0004, Supports changesets: False
 svn propget reviewboard:url /Users/jon/checkout/branches/iteration-0004
 svn diff --diff-cmd=diff
 svn info billing/bin/daily.sh
 svn info ftpserver/bin/ftpd.sh
 svn info ftpserver/etc/conf/s1/ftpenv.properties
 svn info ftpserver/etc/conf/integ/ftpenv.properties
 svn info ftpserver/etc/conf/ftp-config.xml
 svn info acdc/bin/acdc.sh
 svn info acdc/bin/bidharness.sh
 svn info acdc/etc/conf/s1/env.properties
 svn info acdc/etc/conf/spring-server-app-config.xml
 svn info acdc/etc/conf/integ/env.properties
 svn info mscm/bin/StartServer
 svn info mscm/bin/JavaBridge.sh
 svn info mscm/bin/play.sh
 svn info mscm/etc/conf.zend/spring-client-config.xml
 svn info mscm/etc/conf.zend/s1/env.properties
 svn info mscm/etc/conf.zend/s1/failoverDB.properties
 svn info mscm/etc/conf.zend/integ/env.properties
 svn info mscm/etc/conf.zend/integ/failoverDB.properties
 svn info mscm/etc/conf/s1/env.properties
 svn info mscm/etc/conf/s1/failoverDB.properties
 svn info mscm/etc/conf/s1/datacloudmap.xml
 svn info mscm/etc/conf/spring-config.xml
 svn info mscm/etc/conf/schema-upgrade-config.xml
 svn info mscm/etc/conf/datacloudmap.xml
 svn info mscm/etc/conf/integ/env.properties
 svn info mscm/etc/conf/integ/failoverDB.properties
 svn info mscm/etc/conf/integ/datacloudmap.xml
 svn info cs/grails-app/conf/spring/resources.xml
 svn info cs/grails-app/conf/DataSource.groovy
 svn info cs/src/java/env/s1/env_sentry.properties
 svn info cs/src/java/env/s1/failoverDB.properties
 svn info cs/src/java/env/s1/env_csr.properties
 svn info cs/src/java/env/integ/env_sentry.properties
 svn info cs/src/java/env/integ/failoverDB.properties
 svn info cs/src/java/env/integ/env_csr.properties
 svn info olap_stitch/etc/conf/s1/env.properties
 svn info olap_stitch/etc/conf/olap_service_config.xml
 svn info olap_stitch/etc/conf/integ/env.properties
 svn info olap_stitch/etc/conf/integ/failoverDB.properties
 svn info billing/bin/daily.sh
 svn info billing/bin/daily.sh
 svn info billing/bin/daily.sh
 svn info ftpserver/bin/ftpd.sh
 svn info ftpserver/bin/ftpd.sh
 svn info ftpserver/bin/ftpd.sh
 svn info ftpserver/etc/conf/s1/ftpenv.properties
 svn info ftpserver/etc/conf/s1/ftpenv.properties
 svn info ftpserver/etc/conf/s1/ftpenv.properties
 svn info ftpserver/etc/conf/integ/ftpenv.properties
 svn info ftpserver/etc/conf/integ/ftpenv.properties
 svn info ftpserver/etc/conf/integ/ftpenv.properties
 svn info ftpserver/etc/conf/ftp-config.xml
 svn info ftpserver/etc/conf/ftp-config.xml
 svn info ftpserver/etc/conf/ftp-config.xml
 svn info acdc/bin/acdc.sh
 svn info acdc/bin/acdc.sh
 svn info acdc/bin/acdc.sh
 svn info acdc/bin/bidharness.sh
 svn info acdc/bin/bidharness.sh
 svn info acdc/bin/bidharness.sh
 svn info acdc/etc/conf/s1/env.properties
 svn info acdc/etc/conf/s1/env.properties
 svn info acdc/etc/conf/s1/env.properties
 svn info acdc/etc/conf/spring-server-app-config.xml
 svn info acdc/etc/conf/spring-server-app-config.xml
 svn info acdc/etc/conf/spring-server-app-config.xml
 svn info acdc/etc/conf/integ/env.properties
 svn info acdc/etc/conf/integ/env.properties
 svn info acdc/etc/conf/integ/env.properties
 svn info mscm/bin/StartServer
 svn info mscm/bin/StartServer
 svn info mscm/bin/StartServer
 svn info mscm/bin/JavaBridge.sh
 svn info mscm/bin/JavaBridge.sh
 svn info mscm/bin/JavaBridge.sh
 svn info mscm/bin/play.sh
 svn info mscm/bin/play.sh
 svn info mscm/bin/play.sh
 svn info mscm/etc/conf.zend/spring-client-config.xml
 svn info mscm/etc/conf.zend/spring-client-config.xml
 svn info mscm/etc/conf.zend/spring-client-config.xml
 svn info mscm/etc/conf.zend/s1/env.properties
 svn info mscm/etc/conf.zend/s1/env.properties
 svn info mscm/etc/conf.zend/s1/env.properties
 svn info mscm/etc/conf.zend/s1/failoverDB.properties
 svn info mscm/etc/conf.zend/s1/failoverDB.properties
 svn info mscm/etc/conf.zend/s1/failoverDB.properties
 svn info mscm/etc/conf.zend/integ/env.properties
 svn info mscm/etc/conf.zend/integ/env.properties
 svn info mscm/etc/conf.zend/integ/env.properties
 svn info mscm/etc/conf.zend/integ/failoverDB.properties
 svn info mscm/etc/conf.zend/integ/failoverDB.properties
 svn info mscm/etc/conf.zend/integ/failoverDB.properties
 svn info mscm/etc/conf/s1/env.properties
 svn info mscm/etc/conf/s1/env.properties
 svn info mscm/etc/conf/s1/env.properties
 svn info mscm/etc/conf/s1/failoverDB.properties
 svn info mscm/etc/conf/s1/failoverDB.properties
 svn info mscm/etc/conf/s1/failoverDB.properties
 svn info mscm/etc/conf/s1/datacloudmap.xml
 svn info 

Re: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread James
Well I finally got it working.  After narrowing down the problem to
pysvn I checked out the pysvn shared library with ldd and noticed that
it was linked against two different versions of libneon.  I removed
the conflicting version of the libneon library, recompiled pysvn, and
now everything is working!

-James


On Oct 21, 8:45 pm, James jbaldass...@gmail.com wrote:
 I installed RB on my laptop, pointed it at the same SVN server, and it
 works fine.  There must be something wrong with the SVN client,
 libraries, or pysvn on that server.  I'm not sure what the problem is
 there, but I'll either try a clean install on that machine or just
 install it on a different server.

 Thanks,
 James

 On Oct 21, 7:42 pm, James jbaldass...@gmail.com wrote:

  I traced the problem to line 287 in svn.py:

  try:
      info = client.info2(path, recurse=False)
      logging.debug('SVN: Got repository information for %s: %s' %
                    (path, info))
  except ClientError, e:
  ...
          raise RepositoryNotFoundError()

  I fired up a python shell and can now reproduce the error:
  pysvn._pysvn_2_4.ClientError: URL 'http://svn.company.net/svn/
  repositories/company' is malformed or the scheme or host or path is
  missing

  I guess that's a good first step.  It seems like this must be some
  problem with pysvn, the svn client/libraries, the neon library
  (LD_LIBRARY_PATH?), or the configuration of our svn server.  I'm not
  really sure where to start looking next, though.  Maybe I'll try
  installing ReviewBoard on my laptop and have it point to our SVN
  server.  That might at least tell me if it's the client or server.

  -James

  On Oct 21, 7:00 pm, James jbaldass...@gmail.com wrote:

   I went into the admin UI, removed the SVN repository, and then tried
   to add it back in, but it keeps failing.  In the server logs I see:

   ERROR - SVN: Failed to get repository information 
   forhttp://svn.company.net/svn/repositories/company/:URL'http://
   svn.company.net/svn/repositories/company' is malformed or the scheme
    or host or path is missing

   On the machine where ReviewBoard is running (which also happens to be
   where SVN is running) I did the following to make sure that it can
   talk to SVN, resolve hostnames, etc.:

   svn cohttp://svn.company.net/svn/repositories/company/project/trunk
   project

   This worked fine, so I guess SVN is working ok.  Here's the output of
   svn --version in case that helps:

   --
   svn, version 1.6.11 (r934486)
      compiled Apr 20 2010, 00:24:22

   Copyright (C) 2000-2009 CollabNet.
   Subversion is open source software, seehttp://subversion.tigris.org/
   This product includes software developed by CollabNet 
   (http://www.Collab.Net/).

   The following repository access (RA) modules are available:

   * ra_neon : Module for accessing a repository via WebDAV protocol
   using Neon.
     - handles 'http' scheme
     - handles 'https' scheme
   * ra_svn : Module for accessing a repository using the svn network
   protocol.
     - with Cyrus SASL authentication
     - handles 'svn' scheme
   * ra_local : Module for accessing a repository on local disk.
     - handles 'file' scheme
   --

   I wonder if something with the basic auth on the SVN DAV server is
   causing problems?  Does RB/SVN need to do an HTTP PROPFIND or OPTIONS
   without authenticating?

   -James

   On Oct 21, 5:33 pm, Christian Hammond chip...@chipx86.com wrote:

Hi,

Yeah, got the URL, but nothing stands out as being wrong. That's very
strange.

Can you go into the admin UI, click on Repositories - your SVN 
repository,
and resave it? That should re-check the server for validity. If that 
fails,
we know something is definitely wrong there with the repository path.

Is the path set to the root of the SVN repository, or some location 
within
it?

I haven't seen that problem with git svn find-rev. What version of git 
are
you using? I know other people (ourselves included at one point) were 
using
git-svn locally, with Review Board hosted in SVN.

Christian

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

On Thu, Oct 21, 2010 at 12:00 PM, James jbaldass...@gmail.com wrote:
 Hi Christian,

 Did you get that URL I sent you?  Did it look strange in any way?

 I've also been experimenting with git-svn + post-review, hoping that
 might work better.  Unfortunately, it doesn't, but at least it's a
 different problem:

 $ post-review -dn
  svn info
  git rev-parse --git-dir
  git symbolic-ref -q HEAD
  git svn info
  repository info: 
  Path:http://svn.company.net/svn/repositories/company,
 Base path: /Project/trunk, Supports changesets: False
  git merge-base 

Re: SCMError: URL 'http://svn.domain.net/svn/repositories/repo/dir1/trunk/dir2/file.xml' is malformed or the scheme or host or path is missing

2010-10-21 Thread Christian Hammond
Excellent! That was sure bound to cause problems :)

Christian

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


On Thu, Oct 21, 2010 at 8:37 PM, James jbaldass...@gmail.com wrote:

 Well I finally got it working.  After narrowing down the problem to
 pysvn I checked out the pysvn shared library with ldd and noticed that
 it was linked against two different versions of libneon.  I removed
 the conflicting version of the libneon library, recompiled pysvn, and
 now everything is working!

 -James


 On Oct 21, 8:45 pm, James jbaldass...@gmail.com wrote:
  I installed RB on my laptop, pointed it at the same SVN server, and it
  works fine.  There must be something wrong with the SVN client,
  libraries, or pysvn on that server.  I'm not sure what the problem is
  there, but I'll either try a clean install on that machine or just
  install it on a different server.
 
  Thanks,
  James
 
  On Oct 21, 7:42 pm, James jbaldass...@gmail.com wrote:
 
   I traced the problem to line 287 in svn.py:
 
   try:
   info = client.info2(path, recurse=False)
   logging.debug('SVN: Got repository information for %s: %s' %
 (path, info))
   except ClientError, e:
   ...
   raise RepositoryNotFoundError()
 
   I fired up a python shell and can now reproduce the error:
   pysvn._pysvn_2_4.ClientError: URL 'http://svn.company.net/svn/
   repositories/company' is malformed or the scheme or host or path is
   missing
 
   I guess that's a good first step.  It seems like this must be some
   problem with pysvn, the svn client/libraries, the neon library
   (LD_LIBRARY_PATH?), or the configuration of our svn server.  I'm not
   really sure where to start looking next, though.  Maybe I'll try
   installing ReviewBoard on my laptop and have it point to our SVN
   server.  That might at least tell me if it's the client or server.
 
   -James
 
   On Oct 21, 7:00 pm, James jbaldass...@gmail.com wrote:
 
I went into the admin UI, removed the SVN repository, and then tried
to add it back in, but it keeps failing.  In the server logs I see:
 
ERROR - SVN: Failed to get repository information forhttp://
 svn.company.net/svn/repositories/company/:URL'http://http://svn.company.net/svn/repositories/company/:URL%27http://
svn.company.net/svn/repositories/company' is malformed or the scheme
 or host or path is missing
 
On the machine where ReviewBoard is running (which also happens to be
where SVN is running) I did the following to make sure that it can
talk to SVN, resolve hostnames, etc.:
 
svn cohttp://svn.company.net/svn/repositories/company/project/trunk
project
 
This worked fine, so I guess SVN is working ok.  Here's the output of
svn --version in case that helps:
 
--
svn, version 1.6.11 (r934486)
   compiled Apr 20 2010, 00:24:22
 
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, seehttp://subversion.tigris.org/
This product includes software developed by CollabNet (
 http://www.Collab.Net/).
 
The following repository access (RA) modules are available:
 
* ra_neon : Module for accessing a repository via WebDAV protocol
using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
--
 
I wonder if something with the basic auth on the SVN DAV server is
causing problems?  Does RB/SVN need to do an HTTP PROPFIND or OPTIONS
without authenticating?
 
-James
 
On Oct 21, 5:33 pm, Christian Hammond chip...@chipx86.com wrote:
 
 Hi,
 
 Yeah, got the URL, but nothing stands out as being wrong. That's
 very
 strange.
 
 Can you go into the admin UI, click on Repositories - your SVN
 repository,
 and resave it? That should re-check the server for validity. If
 that fails,
 we know something is definitely wrong there with the repository
 path.
 
 Is the path set to the root of the SVN repository, or some location
 within
 it?
 
 I haven't seen that problem with git svn find-rev. What version of
 git are
 you using? I know other people (ourselves included at one point)
 were using
 git-svn locally, with Review Board hosted in SVN.
 
 Christian
 
 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com
 
 On Thu, Oct 21, 2010 at 12:00 PM, James jbaldass...@gmail.com
 wrote:
  Hi Christian,
 
  Did you get that URL I sent you?  Did it look strange in any way?
 
  I've also been experimenting with 

Re: Issue 1773 in reviewboard: Perform an existence check when adding a user to a code review

2010-10-21 Thread reviewboard

Updates:
Status: Fixed

Comment #2 on issue 1773 by trowbrds: Perform an existence check when  
adding a user to a code review

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

Fixed on master (for 1.6) as revision cfa2660. 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-iss...@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 1434 in reviewboard: Download applied diff + original for optional external diff utility

2010-10-21 Thread reviewboard


Comment #2 on issue 1434 by Alexander.Minolta: Download applied diff +  
original for optional external diff utility

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

It is absolutely necessary to have an option to get the file that is shown  
on /diff page. Two small buttons that provide original and modified  
versions of file are all that is needed.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@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.