Re: negative outgoing review
Thanks a lot David, it worked. -Satish On Monday, 17 December 2012 11:07:57 UTC+5:30, David Trowbridge wrote: Satish, If you'd like to backport it, https://github.com/reviewboard/reviewboard/commit/84c42014dafd8be04a2dc34bc0fea56663777176was my change to fix the last issue. That said, I think there are other related issues in 1.6.3. We highly recommend just upgrading to the new 1.6.15, which has this fix and others. -David -David On Sun, Dec 16, 2012 at 10:34 PM, satish singh triv...@gmail.comjavascript: wrote: Hi David, I have seen the module 'reviewboard.reviews.models' , I put some debug statements and found that the save method is not called with update_counts=True, when we discarded a unpublished review and again publish a review with same change no. It calls the save method but the update_counts is false. def save(self, update_counts=False, **kwargs): self.bugs_closed = self.bugs_closed.strip() self.summary = truncate(self.summary, MAX_SUMMARY_LENGTH) if update_counts or self.id is None: self._update_counts() if self.status != self.PENDING_REVIEW: # If this is not a pending review request now, delete any # and all ReviewRequestVisit objects. self.visits.all().delete() super(ReviewRequest, self).save(**kwargs) Please give me some pointer on how to fix this issue. On Thursday, 13 December 2012 11:03:38 UTC+5:30, David Trowbridge wrote: I think we still have a lingering bug when reopening existing review requests. I'll look into it. In the meantime, you can run the fixreviewcounts management command to fix these. -David -David On Wed, Dec 12, 2012 at 9:30 PM, satish singh triv...@gmail.com wrote: can any one give me a pointer on this pls. On Wednesday, 12 December 2012 15:49:51 UTC+5:30, satish singh wrote: I am running on Review Board 1.6.3. Say the outgoing review count is 10. When i post a review through GUI with a change no, the outgoing review count is increased by 1 that is 11, and then i discard it before publishing. The outgoing review count is decreased by 1, that is 10. Now again publish a review with same change no. the outgoing review count is not increased this time. and remain 10. if i repeat this 10 more time, the outgoing review count becomes negative. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://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...@googlegroups.com javascript: 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: 500 while adding repository
On Tuesday, 18 December 2012 00:42:39 UTC+5:30, Christian Hammond wrote: Ah, from the original traceback it looked like the kind of issue caused by missing SCMTools, but it's actually a lack of an SSH key. I'll get a hotfix out that you can upgrade to, but a workaround for now is to first create an SSH key. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 8:38 AM, kvr kvr...@gmail.com javascript:wrote: Same error we are also facing .. On Monday, December 17, 2012 10:06:34 PM UTC+5:30, Shib S wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 Kindly help ! 2012-12-17 16:30:44,007 - ERROR - Exception thrown for user admin at http://reviewb.example.com/**admin/db/scmtools/repository/**add/http://reviewb.example.com/admin/db/scmtools/repository/add/ 'NoneType' object has no attribute 'get_name' Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**core/handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**contrib/admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**view)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**views/decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**contrib/admin/sites.py, line 196, in inner return view(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 25, in _wrapper return bound_func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 21, in bound_func return func(self, *args2, **kwargs2) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**db/transaction.py, line 209, in inner return func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**contrib/admin/options.py, line 970, in add_view form = ModelForm(initial=initial) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** ReviewBoard-1.7-py2.7.egg/**reviewboard/scmtools/forms.py**, line 250, in __init__ ssh_key.get_name(), AttributeError: 'NoneType' object has no attribute 'get_name' 2012-12-17 16:30:44,344 - ERROR - Internal Server Error: /admin/db/scmtools/repository/**add/ Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**core/handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**contrib/admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**view)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**views/decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**contrib/admin/sites.py, line 196, in inner return view(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 25, in _wrapper return bound_func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**utils/decorators.py, line 21, in bound_func return func(self, *args2, **kwargs2) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/** Django-1.4.3-py2.7.egg/django/**db/transaction.py, line 209, in
Re: 500 while adding repository
You should also be able to upgrade to 1.7.0.1, which fixes this problem. We'll put out a few patch releases for 1.7 before the next 1.7.1, as we discover things. I expect we'll have a few of these, since it's such a big release and, well, unforeseen problems appear in the wild :) Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:18 AM, Shib S shi...@gmail.com wrote: On Tuesday, 18 December 2012 00:42:39 UTC+5:30, Christian Hammond wrote: Ah, from the original traceback it looked like the kind of issue caused by missing SCMTools, but it's actually a lack of an SSH key. I'll get a hotfix out that you can upgrade to, but a workaround for now is to first create an SSH key. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 8:38 AM, kvr kvr...@gmail.com wrote: Same error we are also facing .. On Monday, December 17, 2012 10:06:34 PM UTC+5:30, Shib S wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 Kindly help ! 2012-12-17 16:30:44,007 - ERROR - Exception thrown for user admin at http://reviewb.example.com/**adm**in/db/scmtools/repository/**add/http://reviewb.example.com/admin/db/scmtools/repository/add/ 'NoneType' object has no attribute 'get_name' Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**core/**handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**vie**w)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**views/**decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/sites.py, line 196, in inner return view(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 25, in _wrapper return bound_func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 21, in bound_func return func(self, *args2, **kwargs2) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**db/**transaction.py, line 209, in inner return func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 970, in add_view form = ModelForm(initial=initial) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** ReviewBoa**rd-1.7-py2.7.egg/**reviewboard/**scmtools/forms.py**, line 250, in __init__ ssh_key.get_name(), AttributeError: 'NoneType' object has no attribute 'get_name' 2012-12-17 16:30:44,344 - ERROR - Internal Server Error: /admin/db/scmtools/repository/add/ Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**core/**handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**vie**w)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**views/**decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/sites.py, line 196, in inner return view(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 25, in
Re: Not able to add git repository
On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.comjavascript: wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.sejavascript:'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.sejavascript:'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com javascript:', 'hmac-ripemd160', 'hmac-ri...@openssh.com javascript:', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', ' uma...@openssh.com javascript:', 'hmac-ripemd160', ' hmac-ri...@openssh.com javascript:', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com javascript:'] server compress:['none', 'zl...@openssh.com javascript:'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread [image: Inline image 1] -- 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...@googlegroups.com javascript: 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: Not able to add git repository
Hmm, that's a bit hard to read. Can you take a screenshot of the browser window, console and all? It's almost 4AM here, so I'll be sleeping momentarily, but can look into it more in the morning. Christian On Dec 18, 2012, at 3:45 AM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread -- 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...@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 -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~---
Re: 500 while adding repository
Thanks Christian. Appreciated. Upgraded to 1.7.0.1. On Tuesday, 18 December 2012 16:49:38 UTC+5:30, Christian Hammond wrote: You should also be able to upgrade to 1.7.0.1, which fixes this problem. We'll put out a few patch releases for 1.7 before the next 1.7.1, as we discover things. I expect we'll have a few of these, since it's such a big release and, well, unforeseen problems appear in the wild :) Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:18 AM, Shib S shi...@gmail.com javascript:wrote: On Tuesday, 18 December 2012 00:42:39 UTC+5:30, Christian Hammond wrote: Ah, from the original traceback it looked like the kind of issue caused by missing SCMTools, but it's actually a lack of an SSH key. I'll get a hotfix out that you can upgrade to, but a workaround for now is to first create an SSH key. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 8:38 AM, kvr kvr...@gmail.com wrote: Same error we are also facing .. On Monday, December 17, 2012 10:06:34 PM UTC+5:30, Shib S wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 Kindly help ! 2012-12-17 16:30:44,007 - ERROR - Exception thrown for user admin at http://reviewb.example.com/**adm**in/db/scmtools/repository/**add/http://reviewb.example.com/admin/db/scmtools/repository/add/ 'NoneType' object has no attribute 'get_name' Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**core/**handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**vie**w)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**views/**decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/sites.py, line 196, in inner return view(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 25, in _wrapper return bound_func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 21, in bound_func return func(self, *args2, **kwargs2) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**db/**transaction.py, line 209, in inner return func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 970, in add_view form = ModelForm(initial=initial) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** ReviewBoa**rd-1.7-py2.7.egg/**reviewboard/**scmtools/forms.py**, line 250, in __init__ ssh_key.get_name(), AttributeError: 'NoneType' object has no attribute 'get_name' 2012-12-17 16:30:44,344 - ERROR - Internal Server Error: /admin/db/scmtools/repository/add/ Traceback (most recent call last): File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**core/**handlers/base.py, line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/options.py, line 366, in wrapper return self.admin_site.admin_view(**vie**w)(*args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**utils/**decorators.py, line 91, in _wrapped_view response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**views/**decorators/cache.py, line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File /opt/ActivePython-2.7/lib/**pyt**hon2.7/site-packages/** Django-1.**4.3-py2.7.egg/django/**contrib/**admin/sites.py, line 196, in inner
Re: Not able to add git repository
Okay, I'll try to reproduce this tomorrow and see if I can fix it. What you can try for now is to take the Firebug inspector, click on the I trust this host button, and remove the disabled attribute. See if that works as a workaround. Christian On Dec 18, 2012, at 3:47 AM, Shibashish shi...@gmail.com wrote: Screen Shot 2012-12-18 at 5.11.18 PM.png ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:15 PM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread -- 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...@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: Not able to add git repository
This does enable the buttons, but on clicking them, nothing happens. Should i downgrade and use 1.6 instead? ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:20 PM, Christian Hammond chip...@chipx86.comwrote: Okay, I'll try to reproduce this tomorrow and see if I can fix it. What you can try for now is to take the Firebug inspector, click on the I trust this host button, and remove the disabled attribute. See if that works as a workaround. Christian On Dec 18, 2012, at 3:47 AM, Shibashish shi...@gmail.com wrote: Screen Shot 2012-12-18 at 5.11.18 PM.png ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:15 PM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-**exchange-sha256', 'diffie-hellman-group-**exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread [image: Inline image 1] -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at
Re: Not able to add git repository
You can work around this by replacing your $SITEDIR/data/.ssh/known_hosts file with one that already authorizes github.com. If you downgrade, you'll have to use a backup of your database from before the upgrade, or a fresh install. You will run into problems if you try to use your 1.7 database. Christian On Dec 18, 2012, at 4:00 AM, Shibashish shi...@gmail.com wrote: This does enable the buttons, but on clicking them, nothing happens. Should i downgrade and use 1.6 instead? ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:20 PM, Christian Hammond chip...@chipx86.com wrote: Okay, I'll try to reproduce this tomorrow and see if I can fix it. What you can try for now is to take the Firebug inspector, click on the I trust this host button, and remove the disabled attribute. See if that works as a workaround. Christian On Dec 18, 2012, at 3:47 AM, Shibashish shi...@gmail.com wrote: Screen Shot 2012-12-18 at 5.11.18 PM.png ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:15 PM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/
Re: Not able to add git repository
Actually, hold on. How are you configuring GitHub? Are you using the GitHub hosting service support in the form, or adding paths manually? Christian On Dec 18, 2012, at 3:47 AM, Christian Hammond chip...@chipx86.com wrote: Hmm, that's a bit hard to read. Can you take a screenshot of the browser window, console and all? It's almost 4AM here, so I'll be sleeping momentarily, but can look into it more in the morning. Christian On Dec 18, 2012, at 3:45 AM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread -- 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...@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
Re: Not able to add git repository
Yes, using Github. I am adding the service details in the form. ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:38 PM, Christian Hammond chip...@chipx86.comwrote: Actually, hold on. How are you configuring GitHub? Are you using the GitHub hosting service support in the form, or adding paths manually? Christian On Dec 18, 2012, at 3:47 AM, Christian Hammond chip...@chipx86.com wrote: Hmm, that's a bit hard to read. Can you take a screenshot of the browser window, console and all? It's almost 4AM here, so I'll be sleeping momentarily, but can look into it more in the morning. Christian On Dec 18, 2012, at 3:45 AM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-**exchange-sha256', 'diffie-hellman-group-**exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread [image: Inline image 1] -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at
Re: Not able to add git repository
Was able to submit the form after a web-developer helped me. Saw that $SITEDIR/data/.ssh/known_hosts was updated. This seems to be working now, thanks Chris ! ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:39 PM, Shibashish shi...@gmail.com wrote: Yes, using Github. I am adding the service details in the form. ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:38 PM, Christian Hammond chip...@chipx86.comwrote: Actually, hold on. How are you configuring GitHub? Are you using the GitHub hosting service support in the form, or adding paths manually? Christian On Dec 18, 2012, at 3:47 AM, Christian Hammond chip...@chipx86.com wrote: Hmm, that's a bit hard to read. Can you take a screenshot of the browser window, console and all? It's almost 4AM here, so I'll be sleeping momentarily, but can look into it more in the morning. Christian On Dec 18, 2012, at 3:45 AM, Shib S shi...@gmail.com wrote: On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28873 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28881 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 28884 28868 0 06:26 ?00:00:00 /usr/sbin/httpd prod 29102 28868 0 06:27 ?00:00:01 /usr/sbin/httpd prod 30026 29884 0 06:35 pts/000:00:00 grep httpd [prod@myserver ~]$ ssh -T g...@github.com Hi shibashishs! You've successfully authenticated, but GitHub does not provide shell access. In browser... Use of attributes' specified attribute is deprecated. It always returns true. [Break On This Error] ...,h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.er... jquery...c0b0.js (line 2) http://reviewb.example.com/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Use of attributes' specified attribute is deprecated. It always returns true. http://reviewb.glam.colo/static/lib/js/jquery-1.8.2.min.cfa9051cc0b0.js Line 2 On Tuesday, 18 December 2012 16:47:19 UTC+5:30, Christian Hammond wrote: Can you open your browser's JavaScript debug log, reload the page, try again, and see if any errors show up? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:15 AM, Shibashish shi...@gmail.com wrote: ActivePython-2.7 CentOS 5.8 ReviewBoard 1.7 After adding all the details of the github repository, I am not able to click on any button, ie buttons are disabled as shown in the screenshot below. 2012-12-18 11:09:42,489 - DEBUG - EOF in transport thread 2012-12-18 11:11:10,670 - DEBUG - GitTool: Attempting ssh connection with host: github.com, username: git 2012-12-18 11:11:10,914 - DEBUG - starting thread (client mode): 0xab5e7b90L 2012-12-18 11:11:10,925 - INFO - Connected (version 2.0, client OpenSSH_5.5p1) 2012-12-18 11:11:11,003 - DEBUG - kex algos:['diffie-hellman-group-**exchange-sha256', 'diffie-hellman-group-**exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 11:11:11,003 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 11:11:11,004 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 11:11:11,195 - DEBUG - Switch to new keys ... 2012-12-18 11:11:11,296 - DEBUG - EOF in transport thread [image: Inline image 1] -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send
Re: Static media still broken in 1.7 after updating Apache configuration
Same problem here, but Location helped! On Tuesday, 18 December 2012 06:35:26 UTC, Christian Hammond wrote: Excellent! Glad it works. I'll update the instructions to be clear about that. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 10:34 PM, Joe Attardi jatt...@gmail.comjavascript: wrote: Adding a Location /static section fixed the problem! Thanks, Christian! On Tuesday, December 18, 2012 1:02:53 AM UTC-5, Christian Hammond wrote: Hi Joe, Sorry for the late response. Looks like gmail flagged this as spam. Odd. You may need to add a Location /static that works just like the media one. The static files are probably going through Review Board, which won't know how to serve them. As for the Couldn't find manual update check error, we just have a bug where a second resolve-check prints that. I assume it worked the first time. If the Location doesn't fix things, we'll do some debugging with your setup and see what we can find. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 8:15 PM, Joe Attardi jatt...@gmail.com wrote: I updated my site to 1.7.0.1-py2.7 and I'm still getting 404 errors for anything under /static I added the alias for /static and restarted Apache 2, but it seems to have no effect. Am I missing something obvious? My Apache 2 configuration: VirtualHost *:80 ServerName uxworks-reviewboard.mysite.com DocumentRoot /var/www/uxworks-reviewboard/**htdocs # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages Location / PythonPath ['/var/www/uxworks-**reviewboard/conf'] + sys.path SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE /var/www/uxworks-reviewboard/* *tmp/egg_cache SetEnv HOME /var/www/uxworks-reviewboard/**data SetHandler mod_python PythonHandler django.core.handlers.modpython PythonAutoReload Off PythonDebug Off # Used to run multiple mod_python sites in the same apache PythonInterpreter reviewboard_uxworks-**reviewboard /Location # Serve static media without running it through mod_python # (overrides the above) Location /media SetHandler None /Location Location /errordocs SetHandler None /Location Directory /var/www/uxworks-reviewboard/**htdocs AllowOverride All /Directory # Alias static media requests to filesystem Alias /media /var/www/uxworks-reviewboard/**htdocs/media Alias /errordocs /var/www/uxworks-reviewboard/** htdocs/erordocs Alias /static /var/www/uxworks-reviewboard/**htdocs/static /VirtualHost I tried running rb-site manage /var/www/uxworks-reviewboard resolve-check static-media but it gave me an error: Couldn't find manual update check 'static-media' Any help would be appreciated. Thanks! -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://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...@googlegroups.com javascript: 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: New comment moderation in effect
Hi... how long does it typically take to get moderated? I'm pretty stuck. -- 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: New comment moderation in effect
It requires that one of us is awake and available to moderate it. Just give it time. We'll need to be awake/available to respond anyway. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 10:18 AM, Liam Reimers liam.reim...@gmail.comwrote: Hi... how long does it typically take to get moderated? I'm pretty stuck. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)
Hi, thanks for the response. This is a fresh installation, there was no previously working version. $ svn --version svn, version 1.6.18 (r1303927) compiled Aug 4 2012, 19:46:53 $ python --version Python 2.7.1 $ cd src $ ls mod_wsgi-3.4 mod_wsgi-3.4.tar.gz pysvn-1.7.6 pysvn-1.7.6.tar.gz $ ssh -V OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 $ system_profiler SPSoftwareDataType Software: System Software Overview: System Version: Mac OS X Server 10.7.5 (11G56) Server Configuration: Advanced Kernel Version: Darwin 11.4.2 Boot Volume: Server HD Boot Mode: Normal Computer Name: computer name User Name: user name Secure Virtual Memory: Enabled 64-bit Kernel and Extensions: Yes Time since boot: 5 days 3:09 $ This as as much as I can give you of the SVN path, but it's very straightforward (no spaces or special characters or high ASCII or anything of that nature): svn+ssh://fqhn/svn/devtech That represents the actual structure of the path, where fqhn is in the form server.domain.com. I will add the envvars to the wsgi and see if I can get additional logging. Thanks! On Tuesday, December 18, 2012 12:37:35 PM UTC-8, Christian Hammond wrote: Hi, What version were you using before that worked? Nothing has changed with SSH in a few releases. Did anything else change? Subversion version? This sounds more like the server dropped the connection during our access. I wouldn't be able to tell you why. You'll probably need to add the environment variables to your reviewboard.wsgi file in your site's htdocs folder. Otherwise, it won't carry over. Being able to see the SVN path you're trying to use would help a lot. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Static media still broken in 1.7 after updating Apache configuration
Hi Jeff, I'm really sorry about that and I wish it could have been smoother. The static media change was forced on us by Django. The upgrade script couldn't make the necessary changes, due to both not knowing the right details during upgrade and the variety of server configurations. I tried to make sure it explained the changes needed, and have it make sure you had to acknowledge before using the site again on order to be sure changes were made. I guess the Location stuff was missing. Sorry about that, and we'll get it into the next release. I'll also document it today. We perform database config upgrading, but my guess is maybe the old settings file didn't have something in an upgradable format that we'd recognize. I can work to make this smoother too, though I'd need to know more about when your settings_local.py file was created. I know it wasn't the smoothest upgrade, and I wish it worked better. We really fought to make Django's mandatory changes less of a pain, but there are things that just require manual intervention, and there are clearly corner cases. Believe me when I say, it could have been worse. All I can say is, we'll try to make this smoother for new users, write up some docs, and that the hard part is over. Future upgrades should work a lot better. Christian On Dec 18, 2012, at 13:02, Jeff jflamb...@newtrax.com wrote: Christian, Love ReviewBoard but upgrading to 1.7 was a real pain. First I had to modify the database backend to django.db.backends.postgresql_psycopg2 http://stackoverflow.com/questions/1965/problems-with-psycopg2-installation-python-path I'm far from a power python user so it took quite a bit of time to get this right. Then rb-site upgrade went through but with many red error messages that I unfortunately couldn't copy. No clear text instructions on the new media structure. I got the same broken look as Joe Attardi, and the extra Location+Alias solved the issue. I was just following the regular update steps I've been doing for a year, last I checked they didn't change. As of now I'm up and running, but it took about an hour. On Tuesday, December 18, 2012 1:02:53 AM UTC-5, Christian Hammond wrote: Hi Joe, Sorry for the late response. Looks like gmail flagged this as spam. Odd. You may need to add a Location /static that works just like the media one. The static files are probably going through Review Board, which won't know how to serve them. As for the Couldn't find manual update check error, we just have a bug where a second resolve-check prints that. I assume it worked the first time. If the Location doesn't fix things, we'll do some debugging with your setup and see what we can find. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 8:15 PM, Joe Attardi jatt...@gmail.com wrote: I updated my site to 1.7.0.1-py2.7 and I'm still getting 404 errors for anything under /static I added the alias for /static and restarted Apache 2, but it seems to have no effect. Am I missing something obvious? My Apache 2 configuration: VirtualHost *:80 ServerName uxworks-reviewboard.mysite.com DocumentRoot /var/www/uxworks-reviewboard/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages Location / PythonPath ['/var/www/uxworks-reviewboard/conf'] + sys.path SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE /var/www/uxworks-reviewboard/tmp/egg_cache SetEnv HOME /var/www/uxworks-reviewboard/data SetHandler mod_python PythonHandler django.core.handlers.modpython PythonAutoReload Off PythonDebug Off # Used to run multiple mod_python sites in the same apache PythonInterpreter reviewboard_uxworks-reviewboard /Location # Serve static media without running it through mod_python # (overrides the above) Location /media SetHandler None /Location Location /errordocs SetHandler None /Location Directory /var/www/uxworks-reviewboard/htdocs AllowOverride All /Directory # Alias static media requests to filesystem Alias /media /var/www/uxworks-reviewboard/htdocs/media Alias /errordocs /var/www/uxworks-reviewboard/htdocs/erordocs Alias /static /var/www/uxworks-reviewboard/htdocs/static /VirtualHost I tried running rb-site manage /var/www/uxworks-reviewboard resolve-check static-media but it gave me an error: Couldn't find manual update check 'static-media' Any help would be appreciated. Thanks! -- Want to help the Review
Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)
Hmm... did that, and it seems like it should work but it got the same error in the reviewboard.log and this in the rbssh log: 12-18 14:16 root DEBUG['/usr/bin/rbssh', 'username@hostname', 'svnserve', '-t'] 12-18 14:16 root DEBUGPID 61223 12-18 14:16 root DEBUG!!! hostname, username, ['svnserve', '-t'] Username was the one I provided via the path change you suggested above. Any other thoughts? On Tuesday, December 18, 2012 2:15:09 PM UTC-8, Christian Hammond wrote: That looks like the culprit. We're telling SVN of the username, but that's not being passed to rbssh. What you can do is change the path to be svn+ssh://username@blah, and then set Mirror Path to be the one without the username@ (in order to be able to look it up properly). See if that works. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 1:59 PM, Liam Reimers liam.r...@gmail.comjavascript: wrote: Well, this is interesting... $ cat /var/log/reviewboard/rbssh-61048.log 12-18 13:56 root DEBUG['/usr/bin/rbssh', 'svn hostname', 'svnserve', '-t'] 12-18 13:56 root DEBUGPID 61048 12-18 13:56 root DEBUG!!! svn hostname, _www, ['svnserve', '-t'] Does this mean it's trying to run a command as _www? This is the user that the web server runs as, but it's not the user that I configured the repository to use! On Tuesday, December 18, 2012 12:37:35 PM UTC-8, Christian Hammond wrote: Hi, What version were you using before that worked? Nothing has changed with SSH in a few releases. Did anything else change? Subversion version? This sounds more like the server dropped the connection during our access. I wouldn't be able to tell you why. You'll probably need to add the environment variables to your reviewboard.wsgi file in your site's htdocs folder. Otherwise, it won't carry over. Being able to see the SVN path you're trying to use would help a lot. Christian -- 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...@googlegroups.com javascript: 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: Cannot add a remote SVN repo on 1.6.15 (Regression?)
Is there anything else in those logs? I'd like to see the entire thing to get more of a complete picture. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 2:49 PM, Liam Reimers liam.reim...@gmail.comwrote: Hmm... did that, and it seems like it should work but it got the same error in the reviewboard.log and this in the rbssh log: 12-18 14:16 root DEBUG['/usr/bin/rbssh', 'username@hostname', 'svnserve', '-t'] 12-18 14:16 root DEBUGPID 61223 12-18 14:16 root DEBUG!!! hostname, username, ['svnserve', '-t'] Username was the one I provided via the path change you suggested above. Any other thoughts? On Tuesday, December 18, 2012 2:15:09 PM UTC-8, Christian Hammond wrote: That looks like the culprit. We're telling SVN of the username, but that's not being passed to rbssh. What you can do is change the path to be svn+ssh://username@blah, and then set Mirror Path to be the one without the username@ (in order to be able to look it up properly). See if that works. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 1:59 PM, Liam Reimers liam.r...@gmail.comwrote: Well, this is interesting... $ cat /var/log/reviewboard/rbssh-**61048.log 12-18 13:56 root DEBUG['/usr/bin/rbssh', 'svn hostname', 'svnserve', '-t'] 12-18 13:56 root DEBUGPID 61048 12-18 13:56 root DEBUG!!! svn hostname, _www, ['svnserve', '-t'] Does this mean it's trying to run a command as _www? This is the user that the web server runs as, but it's not the user that I configured the repository to use! On Tuesday, December 18, 2012 12:37:35 PM UTC-8, Christian Hammond wrote: Hi, What version were you using before that worked? Nothing has changed with SSH in a few releases. Did anything else change? Subversion version? This sounds more like the server dropped the connection during our access. I wouldn't be able to tell you why. You'll probably need to add the environment variables to your reviewboard.wsgi file in your site's htdocs folder. Otherwise, it won't carry over. Being able to see the SVN path you're trying to use would help a lot. Christian -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**users/http://www.reviewboard.org/users/ -~--~~~~--**~~--~--~--- To unsubscribe from this group, send email to reviewboard...@** googlegroups.com For more options, visit this group at http://groups.google.com/** group/reviewboard?hl=enhttp://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: Cannot add a remote SVN repo on 1.6.15 (Regression?)
I'm not really sure off-hand. One thing I want to check is that the root of your entire SVN repo is /svn/devtech, and not /svn. We need the root of the repo, rather than a subdir inside of it. Though, I haven't seen that break in this particular way. Can you also try running: HOME=/path/to/sitedir/data SVN_SSH=rbssh svn info svn+ssh:// And see what that does. (You may need to be your www user first.) Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:25 PM, Liam Reimers liam.reim...@gmail.comwrote: That is the entirety of the rbssh log, here is the relevant section of the reviewboard.log: 2012-12-18 14:16:28,154 - DEBUG - SVNTool: Attempting ssh connection with host: hostname, username: username 2012-12-18 14:16:28,159 - DEBUG - starting thread (client mode): 0xcbde990L 2012-12-18 14:16:28,170 - INFO - Connected (version 2.0, client OpenSSH_5.2) 2012-12-18 14:16:28,172 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'z...@openssh.com'] server compress:['none', 'z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 14:16:28,172 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 14:16:28,172 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 14:16:28,192 - DEBUG - Switch to new keys ... 2012-12-18 14:16:28,196 - DEBUG - Trying SSH key 011fe7608290ff77642a0f43f6e3cfae 2012-12-18 14:16:28,199 - DEBUG - userauth is OK 2012-12-18 14:16:29,078 - INFO - Authentication (publickey) successful! 2012-12-18 14:16:29,180 - DEBUG - EOF in transport thread 2012-12-18 14:16:29,472 - ERROR - SVN: Failed to get repository information for svn+ssh://username@hostname/svn/devtech: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. Network connection closed unexpectedly On Tuesday, December 18, 2012 2:53:03 PM UTC-8, Christian Hammond wrote: Is there anything else in those logs? I'd like to see the entire thing to get more of a complete picture. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 2:49 PM, Liam Reimers liam.r...@gmail.comwrote: Hmm... did that, and it seems like it should work but it got the same error in the reviewboard.log and this in the rbssh log: 12-18 14:16 root DEBUG['/usr/bin/rbssh', 'username@hostname', 'svnserve', '-t'] 12-18 14:16 root DEBUGPID 61223 12-18 14:16 root DEBUG!!! hostname, username, ['svnserve', '-t'] Username was the one I provided via the path change you suggested above. Any other thoughts? On Tuesday, December 18, 2012 2:15:09 PM UTC-8, Christian Hammond wrote: That looks like the culprit. We're telling SVN of the username, but that's not being passed to rbssh. What you can do is change the path to be svn+ssh://username@blah, and then set Mirror Path to be the one without the username@ (in order to be able to look it up properly). See if that works. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 1:59 PM, Liam Reimers liam.r...@gmail.comwrote: Well, this is interesting... $ cat /var/log/reviewboard/rbssh-**610**48.log 12-18 13:56 root DEBUG['/usr/bin/rbssh', 'svn hostname', 'svnserve', '-t'] 12-18 13:56 root DEBUGPID 61048 12-18 13:56 root DEBUG!!! svn hostname, _www, ['svnserve', '-t'] Does this mean it's trying to run a command as _www? This is the user that the web server runs as, but it's not the user that I configured the repository to use! On Tuesday, December 18, 2012 12:37:35 PM UTC-8,
Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)
Hi Liam, I'm really not sure what to say. It's strange that it works in the case of running it locally, but not when run inside Apache. We haven't tested any production installs running on MacOS X (we recommend Linux for hosting), so maybe it's related to something there, or maybe it's just some odd setup/configuration issue. Without having access to the machine or having a repro case I can use, I can't really test it. If I think of any other things to check, I'll e-mail you, but for the time-being, I'm just not sure what to suggest. Christian On Dec 18, 2012, at 3:43 PM, Liam Reimers liam.reim...@gmail.com wrote: Yes, /svn is the folder where all the repo roots live on this server. /svn/devtech is the root of this particular repository. $ sudo HOME=/Library/Server/Web/Data/Sites/site/data SVN_SSH=rbssh svn info svn+ssh://username@server/svn/devtech Path: devtech URL: svn+ssh://username@server/svn/devtech Repository Root: svn+ssh://username@server/svn/devtech Repository UUID: uuid Revision: 262170 Node Kind: directory Last Changed Author: other-user Last Changed Rev: 262170 Last Changed Date: 2012-12-18 15:40:28 -0800 (Tue, 18 Dec 2012) $ On Tuesday, December 18, 2012 3:35:24 PM UTC-8, Christian Hammond wrote: I'm not really sure off-hand. One thing I want to check is that the root of your entire SVN repo is /svn/devtech, and not /svn. We need the root of the repo, rather than a subdir inside of it. Though, I haven't seen that break in this particular way. Can you also try running: HOME=/path/to/sitedir/data SVN_SSH=rbssh svn info svn+ssh:// And see what that does. (You may need to be your www user first.) Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 3:25 PM, Liam Reimers liam.r...@gmail.com wrote: That is the entirety of the rbssh log, here is the relevant section of the reviewboard.log: 2012-12-18 14:16:28,154 - DEBUG - SVNTool: Attempting ssh connection with host: hostname, username: username 2012-12-18 14:16:28,159 - DEBUG - starting thread (client mode): 0xcbde990L 2012-12-18 14:16:28,170 - INFO - Connected (version 2.0, client OpenSSH_5.2) 2012-12-18 14:16:28,172 - DEBUG - kex algos:['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijnda...@lysator.liu.se'] client mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'uma...@openssh.com', 'hmac-ripemd160', 'hmac-ri...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zl...@openssh.com'] server compress:['none', 'zl...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2012-12-18 14:16:28,172 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-18 14:16:28,172 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2012-12-18 14:16:28,192 - DEBUG - Switch to new keys ... 2012-12-18 14:16:28,196 - DEBUG - Trying SSH key 011fe7608290ff77642a0f43f6e3cfae 2012-12-18 14:16:28,199 - DEBUG - userauth is OK 2012-12-18 14:16:29,078 - INFO - Authentication (publickey) successful! 2012-12-18 14:16:29,180 - DEBUG - EOF in transport thread 2012-12-18 14:16:29,472 - ERROR - SVN: Failed to get repository information for svn+ssh://username@hostname/svn/devtech: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. Network connection closed unexpectedly On Tuesday, December 18, 2012 2:53:03 PM UTC-8, Christian Hammond wrote: Is there anything else in those logs? I'd like to see the entire thing to get more of a complete picture. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 2:49 PM, Liam Reimers liam.r...@gmail.com wrote: Hmm... did that, and it seems like it should work but it got the same error in the reviewboard.log and this in the rbssh log: 12-18 14:16 root DEBUG['/usr/bin/rbssh', 'username@hostname', 'svnserve', '-t'] 12-18 14:16 root DEBUGPID 61223 12-18
Re: Delete users from sql, auth_user
Hi Ben, I've resorted to a similar approach to automatically updating the database with users. However, unlike you,it appears, I take a more conservative approach, and never *delete* users. Rather, I mark them as inactive. That way, you don't have to worry about foreign key constraints. Eric On 12/18/12 3:07 AM, Ben Copeland wrote: Hello, I import users from active directory using ldap. I do this because users are not populated in reviewboard from AD. We add and remove many users from our system, so it is easier if this process was linked via a sync method. So if users are deleted, added or have a name change reviewboard can replicate this. Currently users are added into reviewboard but we manually delete them. I am able to SET FOREIGN_KEY_CHECKS=0 and then delete, then set it back to 1, however this is a shortcut? I'm not familiar with django management commands. Can you control users through it? Regards On Thursday, 25 October 2012 21:28:40 UTC+1, David Trowbridge wrote: Can you clarify why you want to do this? As you've noted, review board really isn't designed to have users be deleted entirely. As an aside, it's going to be much, much easier to write these sorts of scripts as django management commands than to try to do it operating directly on the database. -David On Thu, Oct 25, 2012 at 2:41 AM, Ben Copeland ben.co...@gmail.com javascript: wrote: Hello all, I am writing a custom script so users can be added and deleted from reviewboard. However how can I delete a user from auth_user, because I got problems with the foreign key constraint. I am writing the script in php/mysql. Cannot delete or update a parent row: a foreign key constraint fails (`reviewboard`.`accounts_profile`, CONSTRAINT `user_id_refs_id_46e869e2` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)) What sql code would I need to delete, or make sure the user and history are deleted properly? -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en 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 -- 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