Duplicate entries in LocalSiteProfile table
I recently upgraded to ReviewBoard 1.7.4, and I'm getting the following error: MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- it returned 2! Lookup parameters were {'profile': Profile: $USER, 'user': django.utils.functional.SimpleLazyObject object at 0x7f981fdd09d0, 'local_site': None} In the MySQL database, I found that the user has two identical records in the accounts_localsiteprofile table. Both records have the same values for each column, except that one has an ID of 14 and the other 15. Is it safe to delete one of them through mysql? -- 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 --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Static media still broken in 1.7 after updating Apache configuration
Hi Chris, Can this problem be because of virtual environment, because I gave it a try again using both mod_python and mod_wsgi. Still getiing same error 404 for static media. My Apache 2 configuration using mod_python: VirtualHost *:80 ServerName toolsnb01-06.lab.eng.btc.netapp.in DocumentRoot /var/www/RB175.com/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages Location / PythonPath ['/var/www/RB175.com/conf'] + sys.path SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE /var/www/RB175.com/tmp/egg_cache SetEnv HOME /var/www/RB175.com/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_RB175_com /Location # Serve static media without running it through mod_python # (overrides the above) Location /media SetHandler None /Location Location /static SetHandler None /Location Location /errordocs SetHandler None /Location Directory /var/www/RB175.com/htdocs AllowOverride All Options -Indexes +FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /media /var/www/RB175.com/htdocs/media Alias /static /var/www/RB175.com/htdocs/static Alias /errordocs /var/www/RB175.com/htdocs/errordocs /VirtualHost Please provide some pointers, I did followed all the steps, everything is working, only static media is not getting loaded. Regards, Satish On Friday, 15 March 2013 15:31:19 UTC+5:30, satish singh wrote: Hi Sir, I did created an virtualenv and then I installed Review Board 1.7.5 with easy_install tool. I have not made any change to settings_local.py, just copied it to ReviewBoard directory. Installation directory: (RB1.7.5)bash-3.2$ ls Django-1.4.5-py2.7.eggJinja2-2.6-py2.7.egg pip-1.2.1-py2.7.egg ReviewBoard-1.7.5-py2.7.egg django_evolution-0.6.8-py2.7.egg jsmin-2.0.2_1-py2.7.egg pycrypto-2.6-py2.7-linux-x86_64.egg setuptools-0.6c11-py2.7.egg django_pipeline-1.2.24-py2.7.egg Markdown-2.2.1-py2.7.egg Pygments-1.6-py2.7.egg setuptools-0.6c12dev_r88846-py2.7.egg Djblets-0.7.11-py2.7.egg mimeparse-0.1.3-py2.7.egg python_dateutil-1.5-py2.7.eggsetuptools.pth docutils-0.10-py2.7.egg nose-1.2.1-py2.7.egg python_memcached-1.48-py2.7.egg Sphinx-1.1.3-py2.7.egg easy-install.pth paramiko-1.9.0-py2.7.egg pytz-2012j-py2.7.egg feedparser-5.1.3-py2.7.eggPIL-1.1.7-py2.7-linux-x86_64.egg recaptcha_client-1.0.6-py2.7.egg (RB1.7.5)bash-3.2$ pwd /u/satish3/envs/RB1.7.5/lib/python2.7/site-packages/ReviewBoard-1.7.5-py2.7.egg (RB1.7.5)bash-3.2$ ls conf data EGG-INFO htdocs logs reviewboard settings_local.py settings_local.pyc tmp webtests content of settings_local.py : # Site-specific configuration settings for Review Board # Definitions of these settings can be found at # http://docs.djangoproject.com/en/dev/ref/settings/ # Database configuration DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/var/www/ReviewBoard175.com/data/reviewboard.db', }, } # Unique secret key. Don't share this with anybody. SECRET_KEY = '=ck@h)-ns9=xmzt3i^lkkc(^4fp3@gw=h@wy(p)g8bpa3@ys)*' # Cache backend settings. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'localhost:11211', }, } # Extra site information. SITE_ID = 1 SITE_ROOT = '/' FORCE_SCRIPT_NAME = '' DEBUG = False Thanks, Satish On Friday, 15 March 2013 15:09:53 UTC+5:30, Christian Hammond wrote: I feel like I asked this, but I can't find where.. How did you install Review Board? It looks like you have a virtualenv set up. Did you install from source, or our egg? Did you make any modifications to your settings_local.py file? Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mar 15, 2013, at 2:36 AM, satish singh triv...@gmail.com wrote: Hi Team, Please provide any pointers on this, how can i debug ? thanks , satish On Thursday, 14 March 2013 18:38:04 UTC+5:30, satish singh wrote: Hi Sir, I have added mod_wsgi configuration, still facing the same issue: The Review Board 1.7.5 is up but images, CSS and JS files are not getting loaded.
Re: Duplicate entries in LocalSiteProfile table
Yes, it is safe to delete one of them. -David On Thu, Mar 14, 2013 at 8:47 AM, Chris Guevara 50x.ch...@gmail.com wrote: I recently upgraded to ReviewBoard 1.7.4, and I'm getting the following error: MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- it returned 2! Lookup parameters were {'profile': Profile: $USER, 'user': django.utils.functional.SimpleLazyObject object at 0x7f981fdd09d0, 'local_site': None} In the MySQL database, I found that the user has two identical records in the accounts_localsiteprofile table. Both records have the same values for each column, except that one has an ID of 14 and the other 15. Is it safe to delete one of them through mysql? -- 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 --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Static media still broken in 1.7 after updating Apache configuration
Hi Satish, It may be due to the virtualenv. I really don't know. We don't officially provide support for using a virtualenv, so I'd suggest just installing it as per the installation instructions on our site. I'm curious why you're not just using your company's existing installation? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Mon, Mar 18, 2013 at 7:34 AM, satish singh trivi...@gmail.com wrote: Hi Chris, Can this problem be because of virtual environment, because I gave it a try again using both mod_python and mod_wsgi. Still getiing same error 404 for static media. My Apache 2 configuration using mod_python: VirtualHost *:80 ServerName toolsnb01-06.lab.eng.btc.netapp.in DocumentRoot /var/www/RB175.com/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages Location / PythonPath ['/var/www/RB175.com/conf'] + sys.path SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE /var/www/RB175.com/tmp/egg_cache SetEnv HOME /var/www/RB175.com/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_RB175_com /Location # Serve static media without running it through mod_python # (overrides the above) Location /media SetHandler None /Location Location /static SetHandler None /Location Location /errordocs SetHandler None /Location Directory /var/www/RB175.com/htdocs AllowOverride All Options -Indexes +FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /media /var/www/RB175.com/htdocs/media Alias /static /var/www/RB175.com/htdocs/static Alias /errordocs /var/www/RB175.com/htdocs/errordocs /VirtualHost Please provide some pointers, I did followed all the steps, everything is working, only static media is not getting loaded. Regards, Satish On Friday, 15 March 2013 15:31:19 UTC+5:30, satish singh wrote: Hi Sir, I did created an virtualenv and then I installed Review Board 1.7.5 with easy_install tool. I have not made any change to settings_local.py, just copied it to ReviewBoard directory. Installation directory: (RB1.7.5)bash-3.2$ ls Django-1.4.5-py2.7.eggJinja2-2.6-py2.7.egg pip-1.2.1-py2.7.egg ReviewBoard-1.7.5-py2.7.egg django_evolution-0.6.8-py2.7.**egg jsmin-2.0.2_1-py2.7.egg pycrypto-2.6-py2.7-linux-x86_**64.egg setuptools-0.6c11-py2.7.egg django_pipeline-1.2.24-py2.7.**egg Markdown-2.2.1-py2.7.egg Pygments-1.6-py2.7.egg setuptools-0.6c12dev_r88846-** py2.7.egg Djblets-0.7.11-py2.7.egg mimeparse-0.1.3-py2.7.egg python_dateutil-1.5-py2.7.eggsetuptools.pth docutils-0.10-py2.7.egg nose-1.2.1-py2.7.egg python_memcached-1.48-py2.7.**egg Sphinx-1.1.3-py2.7.egg easy-install.pth paramiko-1.9.0-py2.7.egg pytz-2012j-py2.7.egg feedparser-5.1.3-py2.7.eggPIL-1.1.7-py2.7-linux-x86_64.**egg recaptcha_client-1.0.6-py2.7.**egg (RB1.7.5)bash-3.2$ pwd /u/satish3/envs/RB1.7.5/lib/**python2.7/site-packages/** ReviewBoard-1.7.5-py2.7.egg (RB1.7.5)bash-3.2$ ls conf data EGG-INFO htdocs logs reviewboard settings_local.py settings_local.pyc tmp webtests content of settings_local.py : # Site-specific configuration settings for Review Board # Definitions of these settings can be found at # http://docs.djangoproject.com/**en/dev/ref/settings/http://docs.djangoproject.com/en/dev/ref/settings/ # Database configuration DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/var/www/ReviewBoard175.com/**data/reviewboard.db', }, } # Unique secret key. Don't share this with anybody. SECRET_KEY = '=ck@h)-ns9=xmzt3i^lkkc(^4fp3@**gw=h@wy(p)g8bpa3@ys)*' # Cache backend settings. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.** memcached.MemcachedCache', 'LOCATION': 'localhost:11211', }, } # Extra site information. SITE_ID = 1 SITE_ROOT = '/' FORCE_SCRIPT_NAME = '' DEBUG = False Thanks, Satish On Friday, 15 March 2013 15:09:53 UTC+5:30, Christian Hammond wrote: I feel like I asked this, but I can't find where.. How did you install Review Board? It looks like you have a virtualenv set up. Did you install from source, or our egg? Did you make any modifications to your
Re: Issue 2916 in reviewboard: Review Board does not respect line endings
Comment #6 on issue 2916 by kanoni...@gmail.com: Review Board does not respect line endings http://code.google.com/p/reviewboard/issues/detail?id=2916 How we can apply this patch? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Issue 2932 in reviewboard: Login to SCM server failed - But where to specify SVN credentials in review board?
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2932 by hetal.ag...@gmail.com: Login to SCM server failed - But where to specify SVN credentials in review board? http://code.google.com/p/reviewboard/issues/detail?id=2932 *** For customer support, please post to reviewbo...@googlegroups.com *** If you have a patch, please submit it to http://reviews.reviewboard.org/ *** *** Do not post confidential information in this bug report! What version are you running? 1.4.3 What's the URL of the page containing the problem? create new review request What steps will reproduce the problem? 1. Browse to the created svn patch. 2. give appropriate base branch path. 3. Click on Create New Review Request - At this time it shows the error, Login to SCM server failed. But I can not figure out where to specify SVN credentials in review board? What is the expected output? What do you see instead? What operating system are you using? What browser? Please provide any additional information below. Attachments: rbError.png 15.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2932 in reviewboard: Login to SCM server failed - But where to specify SVN credentials in review board?
Comment #1 on issue 2932 by rajas...@gmail.com: Login to SCM server failed - But where to specify SVN credentials in review board? http://code.google.com/p/reviewboard/issues/detail?id=2932 Hi, You will need to talk to your reviewboard administrator who has the ability to configure repositories. If you are a staff or admin user, you will have an admin link in the top navbar, through which you can configure repositories along with their credentials. HTH Raja -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2932 in reviewboard: Login to SCM server failed - But where to specify SVN credentials in review board?
Updates: Status: SetupIssue Comment #2 on issue 2932 by trowb...@gmail.com: Login to SCM server failed - But where to specify SVN credentials in review board? http://code.google.com/p/reviewboard/issues/detail?id=2932 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.