Re: Reviewboard 1.7 broke my site
Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labor...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- 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: Reviewboard 1.7 broke my site
Here is my apache config: VirtualHost *:80 ServerName mobile-dev DocumentRoot /var/www/mobile.reviews/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /reviews /var/www/mobile.reviews/htdocs/reviewboard.wsgi/reviews Directory /var/www/mobile.reviews/htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /reviews/media /var/www/mobile.reviews/htdocs/media Alias /reviews/errordocs /var/www/mobile.reviews/htdocs/errordocs Alias /reviews/favicon.ico /var/www/mobile.reviews/htdocs/media/rbcommons/images/favicon.png Alias /static /var/www/mobile.reviews/htdocs/static /VirtualHost ~ On Monday, December 17, 2012 11:58:35 AM UTC+1, Lee Laborczfalvi wrote: Hi Christian thanks for your reply - regarding the /static directive where can I read about that? thanks Lee On Monday, December 17, 2012 11:35:13 AM UTC+1, Christian Hammond wrote: Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labo...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- 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: Reviewboard 1.7 broke my site
rb-site explained it during upgrade, and the Manual Updates page should have told you what to do as well. It would have required that you run an rb-site manage command to mark it as fixed, but that should only be done after you make the change. Basically, go in your Apache config for the site, find the references to the media directory, and add copies that change media to static. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:58 AM, Lee Laborczfalvi labor...@gmail.comwrote: Hi Christian thanks for your reply - regarding the /static directive where can I read about that? thanks Lee On Monday, December 17, 2012 11:35:13 AM UTC+1, Christian Hammond wrote: Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labo...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- 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 -- 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: Reviewboard 1.7 broke my site
Okay, there's your problem. The Alias /static should, in your case, be Alias /reviews/static. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 3:07 AM, Lee Laborczfalvi labor...@gmail.comwrote: Here is my apache config: VirtualHost *:80 ServerName mobile-dev DocumentRoot /var/www/mobile.reviews/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /reviews /var/www/mobile.reviews/htdocs/reviewboard.wsgi/reviews Directory /var/www/mobile.reviews/htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /reviews/media /var/www/mobile.reviews/htdocs/media Alias /reviews/errordocs /var/www/mobile.reviews/htdocs/errordocs Alias /reviews/favicon.ico /var/www/mobile.reviews/htdocs/media/rbcommons/images/favicon.png Alias /static /var/www/mobile.reviews/htdocs/static /VirtualHost ~ On Monday, December 17, 2012 11:58:35 AM UTC+1, Lee Laborczfalvi wrote: Hi Christian thanks for your reply - regarding the /static directive where can I read about that? thanks Lee On Monday, December 17, 2012 11:35:13 AM UTC+1, Christian Hammond wrote: Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labo...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- 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 -- 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: Reviewboard 1.7 broke my site
Ah thanks that did it. Thank you so much for your help. Reviewboard is an awesome product and my team has benefited enormously from your hard work. Lee On Monday, December 17, 2012 12:08:07 PM UTC+1, Christian Hammond wrote: Okay, there's your problem. The Alias /static should, in your case, be Alias /reviews/static. 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 3:07 AM, Lee Laborczfalvi labo...@gmail.comjavascript: wrote: Here is my apache config: VirtualHost *:80 ServerName mobile-dev DocumentRoot /var/www/mobile.reviews/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /reviews /var/www/mobile.reviews/htdocs/reviewboard.wsgi/reviews Directory /var/www/mobile.reviews/htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /reviews/media /var/www/mobile.reviews/htdocs/media Alias /reviews/errordocs /var/www/mobile.reviews/htdocs/errordocs Alias /reviews/favicon.ico /var/www/mobile.reviews/htdocs/media/rbcommons/images/favicon.png Alias /static /var/www/mobile.reviews/htdocs/static /VirtualHost ~ On Monday, December 17, 2012 11:58:35 AM UTC+1, Lee Laborczfalvi wrote: Hi Christian thanks for your reply - regarding the /static directive where can I read about that? thanks Lee On Monday, December 17, 2012 11:35:13 AM UTC+1, Christian Hammond wrote: Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labo...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- 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: Reviewboard 1.7 broke my site
Thanks Lee! I'm glad it's working for you :) Please let me know if you run into any other issues. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 3:15 AM, Lee Laborczfalvi labor...@gmail.comwrote: Ah thanks that did it. Thank you so much for your help. Reviewboard is an awesome product and my team has benefited enormously from your hard work. Lee On Monday, December 17, 2012 12:08:07 PM UTC+1, Christian Hammond wrote: Okay, there's your problem. The Alias /static should, in your case, be Alias /reviews/static. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 3:07 AM, Lee Laborczfalvi labo...@gmail.comwrote: Here is my apache config: VirtualHost *:80 ServerName mobile-dev DocumentRoot /var/www/mobile.reviews/**htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /reviews /var/www/mobile.reviews/** htdocs/reviewboard.wsgi/**reviews Directory /var/www/mobile.reviews/**htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /reviews/media /var/www/mobile.reviews/**htdocs/media Alias /reviews/errordocs /var/www/mobile.reviews/** htdocs/errordocs Alias /reviews/favicon.ico /var/www/mobile.reviews/** htdocs/media/rbcommons/images/**favicon.png Alias /static /var/www/mobile.reviews/**htdocs/static /VirtualHost ~ On Monday, December 17, 2012 11:58:35 AM UTC+1, Lee Laborczfalvi wrote: Hi Christian thanks for your reply - regarding the /static directive where can I read about that? thanks Lee On Monday, December 17, 2012 11:35:13 AM UTC+1, Christian Hammond wrote: Hi Lee, Did you follow the steps to include the directive for /static/ on your site? Can you show me your Apache configuration for the site, and also one of the URLs it's trying to access in the page? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 2:33 AM, Lee Laborczfalvi labo...@gmail.comwrote: I just did an upgrade from 1.6.14 to 1.7 and no styles are present. Only text is being shown and none of the styles are being applied. I followed the steps on upgrading the reviewboard installation and then upgrading the site, restarted apache2, mysql and memcached yet the styles are not being applied - any tips? -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/**don**ate/http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/**use**rs/http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard...@googlegroups.**co**m 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/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 -- 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
ReviewBoard 1.7 getting the error
Hi, We install 1.7 stable version in linux. When we are add the Repository we got the error below. kindly help us to resolve the issue... AttributeError at /admin/db/scmtools/repository/1/ 'NoneType' object has no attribute 'get_name' Request Method: GET Request URL: http://localhost/admin/db/scmtools/repository/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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: ReviewBoard 1.7 getting the error
How did you do the upgrade? It looks like you're missing the definitions for all the SCMTools (used to talk to repositories). Did you use pip? If so, pip doesn't support everything we need. Use easy_install. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 4:01 AM, maris 02c...@gmail.com wrote: Hi, We install 1.7 stable version in linux. When we are add the Repository we got the error below. kindly help us to resolve the issue... AttributeError at /admin/db/scmtools/repository/1/ 'NoneType' object has no attribute 'get_name' Request Method: GET Request URL: http://localhost/admin/db/scmtools/repository/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+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: ReviewBoard 1.7 getting the error
Hi, We used easy_install -U ReviewBoard-1.7-py2.7.egg and then upgraded the site using rb-site upgrade. On Monday, 17 December 2012 04:03:26 UTC-8, Christian Hammond wrote: How did you do the upgrade? It looks like you're missing the definitions for all the SCMTools (used to talk to repositories). Did you use pip? If so, pip doesn't support everything we need. Use easy_install. 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 4:01 AM, maris 02c...@gmail.com javascript:wrote: Hi, We install 1.7 stable version in linux. When we are add the Repository we got the error below. kindly help us to resolve the issue... AttributeError at /admin/db/scmtools/repository/1/ 'NoneType' object has no attribute 'get_name' Request Method: GET Request URL: http://localhost/admin/db/scmtools/repository/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: ReviewBoard 1.7 getting the error
This is the full trace AttributeError at /admin/db/scmtools/repository/1/ 'NoneType' object has no attribute 'get_name' Request Method: GET Request URL: http://localhost/admin/db/scmtools/repository/1/ Django Version: 1.4.3 Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute 'get_name' Exception Location: /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7-py2.7.egg/reviewboard/scmtools/forms.py in __init__, line 250 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/var/www/reviews.example.com/conf', '/usr/local/lib/python2.7/dist-packages/pytz-2012h-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/feedparser-5.1.3-py2.7.egg', '/usr/lib/python2.7/dist-packages/PIL', '/usr/local/lib/python2.7/dist-packages/recaptcha_client-1.0.6-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/python_memcached-1.48-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/paramiko-1.9.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mimeparse-0.1.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_evolution-0.6.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/RBTools-0.4.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Pygments-1.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/docutils-0.9.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_pipeline-1.2.22-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Djblets-0.7.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol'] On Monday, 17 December 2012 04:01:59 UTC-8, maris wrote: Hi, We install 1.7 stable version in linux. When we are add the Repository we got the error below. kindly help us to resolve the issue... AttributeError at /admin/db/scmtools/repository/1/ 'NoneType' object has no attribute 'get_name' Request Method: GET Request URL: http://localhost/admin/db/scmtools/repository/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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
500 while adding repository
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/ '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 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' -- 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
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/ '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 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' -- 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,
Re: 500 while adding repository
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 - chip...@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/**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 inner return func(*args, **kwargs) File /opt/ActivePython-2.7/lib/**python2.7/site-packages/**
Review Board 1.7.0.1 released
There was a bug during repository creation/editing where things failed if an SSH key wasn't already set in Review Board. This release fixes this problem. Sorry for the troubles. Christian -- Christian Hammond - chip...@chipx86.com 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: Review Board 1.7.0.1 released
The homepage points to 1.7.1 (resulting in a 404), not 1.7.0.1. -- Bruce Cran -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Review Board 1.7.0.1 released
Thanks. Looks like we had a bug in how we computed version strings (the 0 in 1.7.0.1 threw off something). It's fixed now. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 11:42 AM, Bruce Cran bruce.c...@gmail.com wrote: The homepage points to 1.7.1 (resulting in a 404), not 1.7.0.1. -- Bruce Cran -- 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
Cannot add a remote SVN repo on 1.6.15 (Regression?)
Seeing the same issue reported at the last post on: https://groups.google.com/d/msg/reviewboard-issues/TDF0cWON4TI/LNNh_RM_K50J This is reviewboard 1.6.15 on OS X. To get this far, I did have to: ln -s /usr/local/bin/rbssh /usr/bin/rbssh When I try to add a repo I get this in the GUI: A repository was not found at the specified path. The log shows: 2012-12-17 17:38:08,773 - DEBUG - SVNTool: Attempting ssh connection with host: host, username: username 2012-12-17 17:38:08,778 - DEBUG - starting thread (client mode): 0xd213590L 2012-12-17 17:38:08,788 - INFO - Connected (version 2.0, client OpenSSH_5.2) 2012-12-17 17:38:08,791 - 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-17 17:38:08,791 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-12-17 17:38:08,791 - 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-17 17:38:08,812 - DEBUG - Switch to new keys ... 2012-12-17 17:38:08,814 - DEBUG - Trying SSH key key id 2012-12-17 17:38:08,817 - DEBUG - userauth is OK 2012-12-17 17:38:09,693 - INFO - Authentication (publickey) successful! 2012-12-17 17:38:09,794 - DEBUG - EOF in transport thread 2012-12-17 17:38:10,285 - ERROR - SVN: Failed to get repository information for svn url: 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 When trying rbssh from the command line: $ sudo -s bash-3.2# sudo -u _www -s bash-3.2$ export HOME=/Library/Server/Web/Data/Sites/site/data bash-3.2$ export DEBUG_RBSSH=1 bash-3.2$ rbssh svn+ssh://username@server/path/to/repo Welcome to server. server:~ $ logout bash-3.2$ In other words, it appeared to work fine. Incidentally, I added the rbssh environment vars to my apache config and no logs are showing up. SetEnv DEBUG_RBSSH 1 SetEnv RBSSH_LOG_DIR /var/log/reviewboard Any help or advice would be greatly appreciated. -- 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
Static media still broken in 1.7 after updating Apache configuration
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/ 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 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 - chip...@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 jatta...@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/ 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: Static media still broken in 1.7 after updating Apache configuration
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 javascript: 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.comjavascript: 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/ 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: Static media still broken in 1.7 after updating Apache configuration
Excellent! Glad it works. I'll update the instructions to be clear about that. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Dec 17, 2012 at 10:34 PM, Joe Attardi jatta...@gmail.com 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+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