Reviewboard installation error Solution

Source: Internet
Author: User
Tags control characters

After installing reviewboard recently, you have encountered many problems. Remember the solution.

1. memcached reports an error of memcachedkeycharactererror: control characters not allowed or something due to multiple site creation. It is also invalid to restart memcached. When you create a site, select the file method, creation passed (I am so lazy that I really don't understand memcached ......).

2. when a site is created, an error such as database access denied and access denied for user: *** @ localhost '(using password: Yes) is reported, the reason is that the user account and password of the previously entered database are incorrect, or the corresponding user has been bound to a database (or reviewboard, because I have created it multiple times ). Create a new one.

3. After the reviewboard site is created successfully, an error occurred while opening the site. If you view the log, importerror is reported:
Cocould not import settings is it on SYS. Path? Errors, such as the solution to the URL.

Http://stackoverflow.com/questions/962533/django-mod-python-error-importerror-could-not-import-settings

Try the following methods:

A) add the path of the settings file to SYS. Path (this is invalid for my errors)

B) replace OS. Environ ['django _ settings_module '] = "reviewboard. Settings" in the. wsgi file

OS. Environ ['django _ settings_module '] = "Settings", remove reviewboard (). This is indeed valid, but it should be combined with Step 3

C) Change the settings_local.py automatically generated by RB-site install under conf to settings. py !!!!

Then, my question is OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.