memcached not showing as option in rb-site install
Hi, I'm trying to figure out why memcached is not showing as option in 'rb-site install' during the cache mechanism step. I'm running Fedora 11, and the repos memcached is installed (memcached 1.2.8) and running. $ ps ax |grep memcache 15438 ?Ssl0:00 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid $ rb-site install /var/www/reviews.example.com ... * What cache mechanism should be used? memcached is strongly recommended. Use it unless you have a good reason not to. You can type either the name or the number from the list below. (1) file Cache Type: I wonder what I'm missing... Thanks for reading. Eric P --~--~-~--~~~---~--~~ 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: memcached not showing as option in rb-site install
It is. $ python -V Python 2.6 Eric On Thu, Jun 25, 2009 at 1:22 AM, Christian Hammondchip...@chipx86.com wrote: The thing to make sure then is that the version of Python that's being used for Review Board is 2.6. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Jun 24, 2009 at 11:17 PM, Eric P eric.maill...@gmail.com wrote: Is that cmemcache? I see this on starting 'rb-site install'. Server Cache (optional): * memcached (cmemcache, memcache) But I think I already installed both of those (libmemcache as well). $ yum install memcached ... Package memcached-1.2.8-1.fc11.i586 already installed and latest version And cmemcache (are these the Python bindings for memcached?). $ ls -1 /usr/lib/python2.6/site-packages/cmemcache* /usr/lib/python2.6/site-packages/cmemcache-0.95-py2.6.egg-info /usr/lib/python2.6/site-packages/cmemcache.py /usr/lib/python2.6/site-packages/cmemcache.pyc Eric P Christian Hammond wrote: You're probably missing the python bindings. The first or second page of rb-site install should tell you exactly what was missing. Christian -- Christian Hammond - chip...@chipx86.com mailto:chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Jun 24, 2009 at 9:34 PM, Eric P eric.maill...@gmail.com mailto:eric.maill...@gmail.com wrote: Hi, I'm trying to figure out why memcached is not showing as option in 'rb-site install' during the cache mechanism step. I'm running Fedora 11, and the repos memcached is installed (memcached 1.2.8) and running. $ ps ax |grep memcache 15438 ? Ssl 0:00 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid $ rb-site install /var/www/reviews.example.com http://reviews.example.com ... * What cache mechanism should be used? memcached is strongly recommended. Use it unless you have a good reason not to. You can type either the name or the number from the list below. (1) file Cache Type: I wonder what I'm missing... Thanks for reading. Eric P --~--~-~--~~~---~--~~ 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: memcached not showing as option in rb-site install
In addition to verifying a Python 2.6 install, I went through and reinstalled Memcached, libmemcache and cmemcache, but memcached is still grayed out in rb-site install. I noticed there's a patch for libmemcache on the cmemcache site. Here: http://gijsbert.org/downloads/cmemcache/libmemcache-1.4.0.rc2.patch Is that in any way related to my issue (note: I didn't apply it when I built libmemcache). Thanks, Eric On Thu, Jun 25, 2009 at 8:48 AM, Eric Peric.maill...@gmail.com wrote: It is. $ python -V Python 2.6 Eric On Thu, Jun 25, 2009 at 1:22 AM, Christian Hammondchip...@chipx86.com wrote: The thing to make sure then is that the version of Python that's being used for Review Board is 2.6. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Jun 24, 2009 at 11:17 PM, Eric P eric.maill...@gmail.com wrote: Is that cmemcache? I see this on starting 'rb-site install'. Server Cache (optional): * memcached (cmemcache, memcache) But I think I already installed both of those (libmemcache as well). $ yum install memcached ... Package memcached-1.2.8-1.fc11.i586 already installed and latest version And cmemcache (are these the Python bindings for memcached?). $ ls -1 /usr/lib/python2.6/site-packages/cmemcache* /usr/lib/python2.6/site-packages/cmemcache-0.95-py2.6.egg-info /usr/lib/python2.6/site-packages/cmemcache.py /usr/lib/python2.6/site-packages/cmemcache.pyc Eric P Christian Hammond wrote: You're probably missing the python bindings. The first or second page of rb-site install should tell you exactly what was missing. Christian -- Christian Hammond - chip...@chipx86.com mailto:chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Jun 24, 2009 at 9:34 PM, Eric P eric.maill...@gmail.com mailto:eric.maill...@gmail.com wrote: Hi, I'm trying to figure out why memcached is not showing as option in 'rb-site install' during the cache mechanism step. I'm running Fedora 11, and the repos memcached is installed (memcached 1.2.8) and running. $ ps ax |grep memcache 15438 ? Ssl 0:00 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid $ rb-site install /var/www/reviews.example.com http://reviews.example.com ... * What cache mechanism should be used? memcached is strongly recommended. Use it unless you have a good reason not to. You can type either the name or the number from the list below. (1) file Cache Type: I wonder what I'm missing... Thanks for reading. Eric P --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
rb-site install - Review Board is taking a nap
Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\ndefault=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
I actually ran rb-site w/o those params. I just wanted to convey that info (should've done it another way). I gave web server ownership to the 'db' directory (running sqlite3) and its content, and that did the trick. Thanks! That step should probably be added to the docs for those who use sqlite. Somewhere here: http://www.review-board.org/docs/manual/dev/admin/sites/creating-sites/#changing-permissions Thanks again for everyone's help. My ulterior motive here is to convince the boss to use Review Board over Crucible. The path looks clear now (yay!) Eric P On Thu, Jun 25, 2009 at 12:45 PM, Jeff Androsj...@bigredtj.com wrote: I've yet to do an install like that, and someone else may correct me, but normally that message means that the apache user does not have write access to bothr the sqlite file and the folder that contains it. Try tracking that down and changing the permissions/owner. --Jeff 2009/6/25 Eric P eric.maill...@gmail.com Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P -- Jeff O|||O --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
Yep, I did that as well while I was trying to get this all working. Thanks, Eric On Thu, Jun 25, 2009 at 1:18 PM, grimbeavertbrez...@gmail.com wrote: Not sure about what you are seeing in the logs because I did not look at my logs. But I was getting that error when SELinux was enabled. Try turning off SELinux. On Jun 25, 12:34 pm, Eric P eric.maill...@gmail.com wrote: Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
diff generated from Trac not accepted
Kind of a strange issue here. I created a diff file via Trac (OSS project mgmt software), but Review Board won't accept it. Here's the error I receive: No valid separator after the filename was found in the diff header The exact same diff if procured via the Subversion client works fine. Upon examining both diffs (attached) the only different I see is in the following two lines: --- /root/branches/someBranch/the_file.cfm (revision 8375) +++ /root/branches/someBranch/the_file.cfm (revision 8376) The space between .cfm (revision is a space in the Trac diff (0x20) but in the Subversion diff it's a tab (0x09). Is the Trac diff truly an invalid diff, or is Review Board just being picky? Thanks, Eric P. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~--- Index: /root/branches/someBranch/the_file.cfm === --- /root/branches/someBranch/the_file.cfm (revision 8375) +++ /root/branches/someBranch/the_file.cfm (revision 8376) @@ -2,6 +2,7 @@ cfsilent cfparam name=URL.abcID type=numeric default=-1 cfparam name=URL.defID default=-1 + cfparam name=URL.ooIDtype=numeric default=-1 !--- oo = ID --- cfparam name=URL.rotype=boolean default=0 !--- ro = ro --- cfinclude template=inc.cfm @@ -64,6 +65,7 @@ UserID=#query.UserID# ProfileID=#query.ProfileID# LocationID=#query.LocationID# +ooID=#URL.ooID# Reload=#URL.ro# /div Index: /root/branches/someBranch/the_file.cfm === --- /root/branches/someBranch/the_file.cfm (revision 8375) +++ /root/branches/someBranch/the_file.cfm (revision 8376) @@ -2,6 +2,7 @@ cfsilent cfparam name=URL.abcID type=numeric default=-1 cfparam name=URL.defID default=-1 + cfparam name=URL.ooIDtype=numeric default=-1 !--- oo = ID --- cfparam name=URL.rotype=boolean default=0 !--- ro = ro --- cfinclude template=inc.cfm @@ -64,6 +65,7 @@ UserID=#query.UserID# ProfileID=#query.ProfileID# LocationID=#query.LocationID# +ooID=#URL.ooID# Reload=#URL.ro# /div
Re: cmemcache instructions
I had problems installing cmemcache on Fedora 11. I can't remember now if the python install failed or what it was. However, I had luck instead installing the 'python-memcached' package (in Fedora 11 anyway). Ref: http://notes.tela-web.com/install_review_board_on_fedorahttp://notes.tela-web.com/install_review_board_on_fedora Eric P. On Wed, Jul 1, 2009 at 8:13 AM, grimbeavertbrez...@gmail.com wrote: I noticed this as well. I've opened a documentation bug for it: http://code.google.com/p/reviewboard/issues/detail?id=1199 On Jun 30, 8:05 am, Jim Priest thecr...@gmail.com wrote: I'm running through the Linux install instructions and got hung up on cmemcache. The instructions mention running make/make install, etc. This no longer appears to be the case. You now run 'python setup.py install' I found this to be a useful site:http://leavingcorporate.com/2008/05/04/installing-cmemcache-on-ubuntu/ Jim --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
What functionality does the Subversion repo connection provide in RB?
Ok, this probably sounds like a stupid question, but I'm curious what functionality the connection to the repository brings to RB (Subversion in my example). When I create a diff for a review (on the command line via 'svn diff'), and then upload the diff, RB appears to make a check against the repo for some kind of validation. But beyond that I don't see what the repo connection provides in terms of actual functionality; the diff already provides all the info necessary for the review (minus the base path which we manually enter anyway). I bet if I was a more seasoned user I wouldn't be asking this. Thanks for reading, Eric P. --~--~-~--~~~---~--~~ 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: What functionality does the Subversion repo connection provide in RB?
Ah... right. I figured it was a simple oversight on my part. I see the 'Expand' links now too that brings in all the preceding code. Thanks, Jeff! Eric P. On Wed, Jul 1, 2009 at 12:14 PM, Jeff Androsj...@bigredtj.com wrote: Reviewboard displays the files in a two column view. It pulls the base file from the repo, displays that on the left column, applies the diff, then displays the results on the right column. This way you've got the entire file to look over as you're reviewing it, not just the parts that have changed. 2009/7/1 Eric P eric.maill...@gmail.com Ok, this probably sounds like a stupid question, but I'm curious what functionality the connection to the repository brings to RB (Subversion in my example). When I create a diff for a review (on the command line via 'svn diff'), and then upload the diff, RB appears to make a check against the repo for some kind of validation. But beyond that I don't see what the repo connection provides in terms of actual functionality; the diff already provides all the info necessary for the review (minus the base path which we manually enter anyway). I bet if I was a more seasoned user I wouldn't be asking this. Thanks for reading, Eric P. -- Jeff O|||O --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---