Re: Liinux noob: Trouble with python-docutils dependency while installing ReviewBoard

2013-09-23 Thread Stephen Gallagher
On 09/11/2013 01:31 PM, Matthew Woehlke wrote:
 On 2013-09-11 11:23, Mark Addleman wrote:
 I'm trying to install ReviewBoard on RHEL.  I have installed the EPEL
 repository but yum install ReviewBoard returns
 Error: Package: ReviewBoard-1.7.13-2.el6.noarch (epel)
 Requires: python-docutils
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest

 I'm a little loathe to install the python-docutils rpm directly since
 I'm a
 total Linux noob and I can't find one that's specific to RHEL.

 Any help would be appreciated.
 
 Huh. According to
 http://koji.fedoraproject.org/koji/packageinfo?packageID=3581, it never
 got built for EL6, even though it is built for every current version of
 Fedora and for EL5.
 
 If you're stuck, you could try directly installing the EL5 version... or
 if you're *really* desparate, build your own from either the EL5 spec or
 whichever Fedora spec most closely matches EL6 (I forget offhand what
 that is).
 
 I would definitely file a bug per Stephen's recommendation.
 

Sorry it took so long to get back to this. It turns out that the reason
python-docutils isn't in EPEL is because it's actually included in the
standard RHEL subscription (though not in the standard repository). You
need to enable the Optional repository as described here:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1.0/html/Subscription_Management_Guide/entitlements-and-yum.html

Once that's available, ReviewBoard should install fine.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Getting this error while installing RB kindly help

2013-09-23 Thread Harihar Pai
Any help on this please. I am having hard time with it please help.

Thanks and regards,
Harihar Pai

On Friday, 20 September 2013 15:24:23 UTC+5:30, Harihar Pai wrote:

 Hello Christian,

 Thanks for the reply . But still the problem is not solved. I did what you 
 suggested copied the entire from /var/www/Reviewboard  form production to 
 my current location. I even took the mysql dump and put it in to test.

 Next while upgrading I get this.
 easy_install -U ReviewBoard  (this runs fine)

 rb-site upgrade /var/www/reviewboard this runs with problem. Kindly help.


 

 Traceback (most recent call last):
   File /usr/local/bin/rb-site, line 9, in module
 load_entry_point('ReviewBoard==1.7.14', 'console_scripts', 'rb-site')()
   File 
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/cmdline/rbsite.py,
  
 line 2027, in main
 command.run()
   File 
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/cmdline/rbsite.py,
  
 line 1837, in run
 static_media_upgrade_needed = site.get_static_media_upgrade_needed()
   File 
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/cmdline/rbsite.py,
  
 line 385, in get_static_media_upgrade_needed
 siteconfig = SiteConfiguration.objects.get_current()
   File 
 /usr/local/lib/python2.6/dist-packages/Djblets-0.7.18-py2.6.egg/djblets/siteconfig/managers.py,
  
 line 47, in get_current
 site = Site.objects.get_current()
   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.8-py2.6.egg/django/contrib/sites/models.py,
  
 line 25, in get_current
 current_site = self.get(pk=sid)
   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.8-py2.6.egg/django/db/models/manager.py,
  
 line 131, in get
 return self.get_query_set().get(*args, **kwargs)
   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.8-py2.6.egg/django/db/models/query.py,
  
 line 366, in get
 % self.model._meta.object_name)
 django.contrib.sites.models.DoesNotExist: Site matching query does not 
 exist.

 =

 I don't understand what is this. Kindly help.

 On Wednesday, 14 August 2013 00:23:26 UTC+5:30, Christian Hammond wrote:

 Hi,

 If you're planning on using the production DB on a new system, you'll 
 need to treat it like an upgrade. You should copy over the database, copy 
 over the old site directory, and do an 'rb-site upgrade'. This assumes the 
 paths haven't changed. If they have, you'll need to copy over the old site 
 directory and then update $sitedir/conf/settings_local.py and 
 $siteconfig/htdocs/reviewboard.wsgi to point to the correct paths.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Aug 13, 2013 at 3:03 AM, Harihar Pai hariha...@gmail.com wrote:

  Hello Christian,

 Well what I am doing is . 

 This is a fresh new test machine I am installing. We have production RB 
 in some other machine. But I want all the DB dump of review board in this 
 machine.
 So I did take the mysql dump of out production RB database and undumped 
 in into new fresh machine I am working on. Secondly On the new machine I am 
 installing the fresh latest RB.

 Thanks and regards,
 Hari

 On Tuesday, 13 August 2013 14:43:42 UTC+5:30, Christian Hammond wrote:

 Is this intended to be a brand new install, or an upgrade? If an 
 upgrade, or if moving from one server to another, do not use 'rb-site 
 install'. Copy over the site directory (if moving), and do 'rb-site 
 upgrade'.

 The traceback says you're doing a new install, whereas you mentioned 
 that you had 1.6.3, so I suspect a new install is not what you want.

 Christian
  
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Aug 13, 2013 at 1:48 AM, Harihar Pai hariha...@gmail.comwrote:

  

 On Monday, 12 August 2013 23:17:49 UTC+5:30, Christian Hammond wrote:

 Hi,

 What version are you upgrading from?

 Ill need to see your settings_local.py file (with SECRET_KEY and any 
 other sensitive information masked).

 Christian


 On Monday, August 12, 2013, Harihar Pai wrote:

 I have using latest RB version . While installing I am getting this 
 error 

 Traceback (most recent call last):
   File /usr/local/bin/rb-site, line 9, in module
 load_entry_point('ReviewBoard==1.7.12', 'console_scripts', 
 'rb-site')()
   File /usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.*
 *12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py, line 1937, in 
 main
 command.run()
   File /usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.*
 *12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py, line 1405, in 
 run
 

Re: Review Board 1.7.14 is released

2013-09-23 Thread Stephen Gallagher
On 09/15/2013 04:01 PM, Christian Hammond wrote:
 Hi everyone,
 
 Review Board 1.7.14 is out. As promised, it updates to the latest
 security release for Django, and has a handful of other bug fixes,
 including a small security fix affecting some users using private groups
 and repositories in the API.
 
 Along with this, we've added Team support for Bitbucket.
 
 More info at
 http://www.reviewboard.org/news/2013/09/15/review-board-1-7-14-released/
 
 Christian
 

Fedora and EPEL 6 packages for ReviewBoard have now been built. They
should appear in the updates-testing repo within 48 hours, or you can
acquire them manually at
https://admin.fedoraproject.org/updates/search/ReviewBoard

Sorry for the uncharacteristically long delay on this. I was out on PTO
for the last two weeks.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RBTools 5.x API: Can it be used to modify database?

2013-09-23 Thread Steve
I've written a script using the RBTools 5.x API which lists RB groups 
containing users who have left the company.  I have 2 questions:

1. Can the API be used to actually remove the users from the groups?

2. What's the best source of complete documentation on all the 
classes/methods available via the API?  The online docs don't appear to be 
complete, but I may be missing something.

Thanks

Steve

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


problem with post-review and clearcase

2013-09-23 Thread Gabriela J
 

Hey, 

I'm trying to run ReviewBoard with clearcase, and I'm having trouble 
uploading a diff to the website. I'm running reviewboard 1.7.14 and RBtools 
0.5.2. Here is the message I'm getting when running post-review in debug 
mode (pathnames and addresses replaced by Zs and hostname):

--- 
DEBUG:root:Running: cleartool describe -fmt %On 
/view/my_view/Zs/Zs/Zs/src/Zs/Zs/FilenameZ@@/main/my_stream/3 
DEBUG:root:Running: cleartool describe -fmt %On 
/view/my_view/Zs/Zs/Zs/src/Zs/Zs/FilenameZ 
DEBUG:root:Running: cleartool lsvob -long /Zs/Zs/Zs 
DEBUG:root:Repository's /Zs/Zs/Zs uuid is 
'c59494a2.4fc211db.8468.00:0d:60:14:bb:cc' 
Error uploading diff 

 RBTools 0.5.2 
 Python 2.6.6 (r266:84292, May 1 2012, 13:52:17) 
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] 
 Running on Linux-2.6.32-279.el6.x86_64-x86_64-with-redhat-6.3-Santiago 
 Home = /myhomedir/ 
 Current Directory = /view/my_view/Zs/Zs/Zs 
 Checking the repository type. Errors shown below are mostly harmless. 
 Finished checking the repository type. 
 HTTP GETting api/info/ 
 HTTP GETting api/ 
 HTTP GETting http://hostname.com/api/info/ 
 Using the new web API 
 HTTP GETting http://hostname.com/api/repositories/ 
 HTTP GETting http://hostname.com/api/repositories/3/ 
 HTTP GETting http://hostname.com/api/repositories/3/info/ 
 Got API Error 210 (HTTP code 500): There was an error fetching extended 
information for this repository 
 Error data: {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 my_view for None 
 HTTP POSTing to http://hostname.com/api/review-requests/: 
{'repository': 'my_view'} 
 Review request created 
 Uploading diff, size: 2387 
 HTTP POSTing to http://hostname.com/api/review-requests/35/diffs/: 
{'basedir': '/view/my_view/Zs/Zs/Zs'} 
 Got API Error 105 (HTTP code 400): One or more fields had errors 
 Error data: {u'fields': {u'path': [u'cleartool: Error: Unable to 
determine VOB for pathname ..\n']}, u'stat': u'fail', u'err': {u'msg': 
u'One or more fields had errors', u'code': 105}} 

Your review request still exists, but the diff is not attached. 

=

The server logs the following error: 

2013-09-23 15:51:31,534 - DEBUG - - DiffParser.parse: Beginning parse of 
diff, size = 2387 
2013-09-23 15:51:31,620 - ERROR - None - my_user_name - 
/api/review-requests/35/diffs/ - Error uploading new diff: cleartool: 
Error: Unable to determine VOB for pathname .. 
Traceback (most recent call last): 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/webapi/resources.py,
 
line 2056, in create 
request.FILES.get('parent_diff_path')) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/reviews/forms.py,
 
line 309, in create 
history) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/forms.py,
 
line 67, in create 
request=self.request) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py,
 
line 82, in create_from_upload 
save=save) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py,
 
line 103, in create_from_data 
check_existence=(not parent_diff_file_contents))) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/managers.py,
 
line 190, in _process_files 
for f in parser.parse(): 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/parser.py,
 
line 51, in parse 
next_linenum, new_file = self.parse_change_header(i) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/diffviewer/parser.py,
 
line 83, in parse_change_header 
linenum = self.parse_diff_header(linenum, info) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/scmtools/clearcase.py,
 
line 311, in parse_diff_header 
info['origFile'] = self._oid2filename(m.group(1)) 
File 
/usr/lib/python2.6/site-packages/ReviewBoard-1.7.14-py2.6.egg/reviewboard/scmtools/clearcase.py,
 
line 345, in _oid2filename 
raise SCMError(error) 
SCMError: cleartool: Error: Unable to determine VOB for pathname ..

Any help is appreciated. 

Thanks,
Gabriela

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 5.x API: Can it be used to modify database?

2013-09-23 Thread David Trowbridge
1. Yes. You can remove a user from a group by issuing a DELETE operation on
the review group user resource. See
http://www.reviewboard.org/docs/manual/1.7/webapi/2.0/resources/review-group-user/for
more details.

2. The online docs are generated by introspecting the code, and they are
complete.

-David


On Mon, Sep 23, 2013 at 11:36 AM, Steve seide.al...@gmail.com wrote:

 I've written a script using the RBTools 5.x API which lists RB groups
 containing users who have left the company.  I have 2 questions:

 1. Can the API be used to actually remove the users from the groups?

 2. What's the best source of complete documentation on all the
 classes/methods available via the API?  The online docs don't appear to be
 complete, but I may be missing something.

 Thanks

 Steve

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 3088 in reviewboard: The z-order of filter is above the drop-down account menu

2013-09-23 Thread reviewboard

Updates:
Status: Fixed

Comment #4 on issue 3088 by trowb...@gmail.com: The z-order of filter is  
above the drop-down account menu

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

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 3084 in reviewboard: Import Error of django.core.handlers.wsgi

2013-09-23 Thread reviewboard


Comment #2 on issue 3084 by trowb...@gmail.com: Import Error of  
django.core.handlers.wsgi

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

Was django installed by yourself or using a package provided by your  
distribution? Some distro packages put the wsgi handlers in a separate  
package.



--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.