Re: windows post-review errors while using on server

2009-06-08 Thread mmorgan

All the svn repository stuff was installed and managed from VisualSVN
Server, that shouldnt really have anything to do with it thinking it
is a clearcase repository though should it?
We have been using it fine as an svn repository from multiple
applications without any problems...

Mark

On Jun 5, 1:48 pm, Raghu raghu...@gmail.com wrote:
 It looks as if  post-review connected to the server and the server
 indicated you have a clearcase repo. Is the repositories configured
 correctly at the server?

 -Raghu

 On Jun 2, 6:34 pm, mmorgan mmor...@buzanonline.com wrote:

  Hi,

  I pretty new to review board, but want to say firstly it is a great
  tool so keep up the good work!
  Ive managed to set up review board on my windows server, which also
  hosts my svn repository.
  Ive decided to try to get post-review set up so that we can
  automatically create reviews from the svn hooks, but im having a bit
  of trouble getting it to work.
  I apologise in advance if someone has answered the same question, ive
  search everywhere in the discussion groups but haven't had any luck
  finding an answer!

  Currently I have python and difftools all installed, and installed
  post-review as per the instructions using easy_install -U RBTools,
  which seems to work. I have created a .bat file just to see if i can
  get post-review working before trying to get it working with the svn
  hooks. When i run the following from my .bat file:

  C:\Python25\ScriptsC:\Python25\python.exe C:\Python25\Scripts\post-
  review --repository-url==https://REPO_IP/svn/prototype--revision-
  range=r533:r534 --server=http://127.0.0.1:8080--username=admin--
  password=rbAdminPass --debug

  I get the following error dump:

   svn info =https://REPO_IP/svn/prototype
   cleartool pwv -short

  Traceback (most recent call last):
    File C:\Python25\Scripts\post-review, line 5, in module
      pkg_resources.run_script('rbtools==0.2beta1', 'post-review')
    File C:\Python25\Lib\site-packages\pkg_resources.py, line 448, in
  run_script
      self.require(requires)[0].run_script(script_name, ns)
    File C:\Python25\Lib\site-packages\pkg_resources.py, line 1173, in
  run_script
      exec script_code in namespace, namespace
    File C:\Python25\Scripts\post-review, line 2313, in module
    File C:\Python25\Scripts\post-review, line 2254, in main
    File C:\Python25\Scripts\post-review, line 2206, in
  determine_client
    File C:\Python25\Scripts\post-review, line 744, in
  get_repository_info
    File C:\Python25\Scripts\post-review, line 1889, in execute
    File C:\Python25\Lib\subprocess.py, line 594, in __init__
      errread, errwrite)
    File C:\Python25\Lib\subprocess.py, line 822, in _execute_child
      startupinfo)
  WindowsError: [Error 2] The system cannot find the file specified

  Any help would be much appreciated!

  Thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: windows post-review errors while using on server

2009-06-08 Thread Raghu

Before using review board, you should set up a repository as specified
in 
http://www.review-board.org/docs/manual/dev/admin/management/repositories/#repositories

I strongly recommend you read the entire user/administration manual.
That'll help you to get started quickly.

-Raghu

On Jun 8, 2:16 pm, mmorgan mmor...@buzanonline.com wrote:
 All the svn repository stuff was installed and managed from VisualSVN
 Server, that shouldnt really have anything to do with it thinking it
 is a clearcase repository though should it?
 We have been using it fine as an svn repository from multiple
 applications without any problems...

 Mark

 On Jun 5, 1:48 pm, Raghu raghu...@gmail.com wrote:



  It looks as if  post-review connected to the server and the server
  indicated you have a clearcase repo. Is the repositories configured
  correctly at the server?

  -Raghu

  On Jun 2, 6:34 pm, mmorgan mmor...@buzanonline.com wrote:

   Hi,

   I pretty new to review board, but want to say firstly it is a great
   tool so keep up the good work!
   Ive managed to set up review board on my windows server, which also
   hosts my svn repository.
   Ive decided to try to get post-review set up so that we can
   automatically create reviews from the svn hooks, but im having a bit
   of trouble getting it to work.
   I apologise in advance if someone has answered the same question, ive
   search everywhere in the discussion groups but haven't had any luck
   finding an answer!

   Currently I have python and difftools all installed, and installed
   post-review as per the instructions using easy_install -U RBTools,
   which seems to work. I have created a .bat file just to see if i can
   get post-review working before trying to get it working with the svn
   hooks. When i run the following from my .bat file:

   C:\Python25\ScriptsC:\Python25\python.exe C:\Python25\Scripts\post-
   review --repository-url==https://REPO_IP/svn/prototype--revision-
   range=r533:r534 --server=http://127.0.0.1:8080--username=admin--
   password=rbAdminPass --debug

   I get the following error dump:

svn info =https://REPO_IP/svn/prototype
cleartool pwv -short

   Traceback (most recent call last):
     File C:\Python25\Scripts\post-review, line 5, in module
       pkg_resources.run_script('rbtools==0.2beta1', 'post-review')
     File C:\Python25\Lib\site-packages\pkg_resources.py, line 448, in
   run_script
       self.require(requires)[0].run_script(script_name, ns)
     File C:\Python25\Lib\site-packages\pkg_resources.py, line 1173, in
   run_script
       exec script_code in namespace, namespace
     File C:\Python25\Scripts\post-review, line 2313, in module
     File C:\Python25\Scripts\post-review, line 2254, in main
     File C:\Python25\Scripts\post-review, line 2206, in
   determine_client
     File C:\Python25\Scripts\post-review, line 744, in
   get_repository_info
     File C:\Python25\Scripts\post-review, line 1889, in execute
     File C:\Python25\Lib\subprocess.py, line 594, in __init__
       errread, errwrite)
     File C:\Python25\Lib\subprocess.py, line 822, in _execute_child
       startupinfo)
   WindowsError: [Error 2] The system cannot find the file specified

   Any help would be much appreciated!

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



NameError: global name 'ClientError' is not defined

2009-06-08 Thread Josh Joy

Hi,

I'm receiving the below error when trying to view the diff. Not sure
what is causing the error...

URL - http://host/projectname/r/4/diff/


Python Info

Python 2.6.2 (r262:71600, Jun  2 2009, 13:47:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type help, copyright, credits or license for more information.
 import pysvn
 pysvn.version
(1, 7, 0, 0)




Stacktrace

global name 'ClientError' is not defined

Traceback (most recent call last):
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/views.py,
line 152, in view_diff
interdiffset, highlighting, True)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 620, in get_diff_files
large_data=True)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
data = lookup_callable()
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 619, in lambda
enable_syntax_highlighting),
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 341, in get_chunks
old = get_original_file(filediff)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 248, in get_original_file
large_data=True)[0]
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
data = lookup_callable()
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 247, in lambda
data = cache_memoize(key, lambda: [fetch_file(file, revision)],
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 227, in fetch_file
data = tool.get_file(file, revision)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/scmtools/svn.py,
line 104, in get_file
except ClientError, e:
NameError: global name 'ClientError' is not defined

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



Issue 1153 in reviewboard: 'Ship It' field not shown any more

2009-06-08 Thread codesite-noreply


Comment #2 on issue 1153 by kofemann: 'Ship It' field not shown any more
http://code.google.com/p/reviewboard/issues/detail?id=1153

The problem is fixed with flowing query:

UPDATE reviews_reviewrequest
SET shipit_count = (
SELECT COUNT(*)
   FROM reviews_review
  WHERE reviews_review.ship_it
AND reviews_review.review_request_id =
reviews_reviewrequest.id
  GROUP BY reviews_review.review_request_id)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~-~--~~~---~--~~
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 1154 in reviewboard: View Diff did not work when ^M s are removed from the end of the lines of an XML file

2009-06-08 Thread codesite-noreply

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

New issue 1154 by rahulkdey: View Diff did not work when ^M s are removed  
from the end of the lines of an XML file
http://code.google.com/p/reviewboard/issues/detail?id=1154

Removed ^M from the end of each lines of an XML file. Created the diff,
when clicked on View Diff Tab the following is displayed.

FF 3.0.10 is used.

The diff file is also attached.



The patch to 'settings_paloalto.xml' didn't apply cleanly. The temporary
files have been left in '/tmp/reviewboard.x7BQHG' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.x7BQHG/tmpHXGK8u patch:
 malformed patch at line 34: - repositories

Traceback (most recent call last):
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/views.py,
line 152, in view_diff
 interdiffset, highlighting, True)
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/diffutils.py,
line 620, in get_diff_files
 large_data=True)
   File
/usr/lib/python2.5/site-packages/Djblets-0.5rc1-py2.5.egg/djblets/util/misc.py,
line 143, in cache_memoize
 data = lookup_callable()
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/diffutils.py,
line 619, in lambda
 enable_syntax_highlighting),
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/diffutils.py,
line 342, in get_chunks
 new = get_patched_file(old, filediff)
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/diffutils.py,
line 258, in get_patched_file
 return patch(filediff.diff, buffer, filediff.dest_file)
   File
/usr/lib/python2.5/site-packages/ReviewBoard-1.0rc2-py2.5.egg/reviewboard/diffviewer/diffutils.py,
line 127, in patch
 (filename, tempdir, patch_output))
Exception: The patch to 'settings_paloalto.xml' didn't apply cleanly. The
temporary files have been left in '/tmp/reviewboard.x7BQHG' for debugging
purposes.
`patch` returned: patching file /tmp/reviewboard.x7BQHG/tmpHXGK8u
patch:  malformed patch at line 34: -  repositories






Attachments:
19244  1.6 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~-~--~~~---~--~~
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 1156 in reviewboard: Add new group for qa-esxplatform

2009-06-08 Thread codesite-noreply

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

New issue 1156 by ning.yu: Add new group for qa-esxplatform
http://code.google.com/p/reviewboard/issues/detail?id=1156

Hi,

I want to add new group name for qa-esxplatform to review-board-
qa.eng.vmware.com. How do we do that?

Thanks,
Ning

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~-~--~~~---~--~~
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 1156 in reviewboard: Add new group for qa-esxplatform

2009-06-08 Thread codesite-noreply

Updates:
Status: NotABug

Comment #1 on issue 1156 by trowbrds: Add new group for qa-esxplatform
http://code.google.com/p/reviewboard/issues/detail?id=1156

Please file a bug on the VMware bugzilla asking for this. This tracker is  
for bugs in
the review board software itself.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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