odoo-10.0 CREATE DATABASE failed

Source: Internet
Author: User

Click "CREATE DATABASE" in the interface of initializing the databases.

Create DATABASE failed

The error is as follows

2017-01-05 20:15:18,529 4652 INFO? werkzeug:127.0.0.1--[05/jan/2017 20:15:18] "get/http/1.1" 303-
2017-01-05 20:15:18,835 4652 INFO? werkzeug:127.0.0.1--[05/jan/2017 20:15:18] "Get/web http/1.1" 303-
2017-01-05 20:15:19,243 4652 INFO? werkzeug:127.0.0.1--[05/jan/2017 20:15:19] "Get/web/database/selector http/1.1" 200-
2017-01-05 20:17:34,154 4652 INFO None odoo.service.db:Create database ' Hello '.
2017-01-05 20:17:34,252 4652 INFO None odoo.sql_db:bad query:create DATABASE "Hello" ENCODING ' Unicode ' TEMPLATE "Templa Te1 "
2017-01-05 20:17:34,252 4652 error None odoo.http: Error: Create DATABASE permissions Not enough
Traceback (most recent):
File "C:\odoo-10.0\odoo\http.py", line 118, in Dispatch_rpc
Result = Dispatch (method, params)
File "C:\odoo-10.0\odoo\service\db.py", line 381, in dispatch
return G[exp_method_name] (*params)
File "C:\odoo-10.0\odoo\service\db.py", line Exp_create_database
_create_empty_database (db_name)
File "C:\odoo-10.0\odoo\service\db.py", line _create_empty_database
Cr.execute ("" "CREATE DATABASE"%s "ENCODING ' Unicode ' TEMPLATE '%s" "" "% (name, chosen_template))
File "C:\odoo-10.0\odoo\sql_db.py", line 141, in wrapper
Return F (Self, *args, **kwargs)
File "C:\odoo-10.0\odoo\sql_db.py", line 218, in Execute
res = self._obj.execute (query, params)
Programmingerror: Downloading message: Arrival Riverbank Slow indent version credential Samuel Result Corporation ACI Å switches 澶?
2017-01-05 20:17:34,407 4652 INFO None werkzeug:127.0.0.1--[05/jan/2017 20:17:34] "Post/web/database/create HTTP/1.1" 500-
2017-01-05 20:17:34,440 4652 ERROR None werkzeug:error on request:
Traceback (most recent):
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 193, in Run_wsgi
Execute (SELF.SERVER.APP)
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 181, in Execute
Application_iter = App (environ, start_response)
File "C:\odoo-10.0\odoo\service\server.py", line 246, in app
Return Self.app (E, s)
File "C:\odoo-10.0\odoo\service\wsgi_server.py", line 184, in application
Return application_unproxied (environ, start_response)
File "C:\odoo-10.0\odoo\service\wsgi_server.py", line-up, in application_unproxied
result = Handler (environ, start_response)
File "C:\odoo-10.0\odoo\http.py", line 1306, in __call__
Return Self.dispatch (environ, start_response)
File "C:\odoo-10.0\odoo\http.py", line-up, in __call__
Return Self.app (environ, start_wrapped)
File "C:\Python27\lib\site-packages\werkzeug\wsgi.py", line 599, in __call__
Return Self.app (environ, start_response)
File "C:\odoo-10.0\odoo\http.py", line 1474, in dispatch
result = _dispatch_nodb ()
File "C:\odoo-10.0\odoo\http.py", line 1447, in _dispatch_nodb
result = Request.dispatch ()
File "C:\odoo-10.0\odoo\http.py", line 825, in Dispatch
R = self._call_function (**self.params)
File "C:\odoo-10.0\odoo\http.py", line 332, in _call_function
Return Self.endpoint (*args, **kwargs)
File "C:\odoo-10.0\odoo\http.py", line 933, in __call__
Return Self.method (*args, **kw)
File "C:\odoo-10.0\odoo\http.py", line 504, in Response_wrap
Response = f (*args, **kw)
File "c:\odoo-10.0\addons\web\controllers\main.py", line 640, in Create
Return Self._render_template (Error=error)
File "c:\odoo-10.0\addons\web\controllers\main.py", Line 620, in _render_template
Return Env.get_template ("database_manager.html"). Render (d)
File "C:\Python27\lib\site-packages\jinja2\environment.py", line 989, in render
Return Self.environment.handle_exception (Exc_info, True)
File "C:\Python27\lib\site-packages\jinja2\environment.py", line 754, in Handle_exception
Reraise (Exc_type, Exc_value, TB)
File "c:\odoo-10.0\addons\web\views\database_manager.html", line +, in top-level template code
<div class= "Alert Alert-danger" >{{error}}</div>
Unicodedecodeerror: ' ASCII ' codec can ' t decode byte 0xe9 in position 25:ordinal not in range (128)
2017-01-05 20:17:34,796 4652 INFO? werkzeug:127.0.0.1--[05/jan/2017 20:17:34] "Get/favicon.ico http/1.1" 404-
2017-01-05 20:17:34,923 4652 INFO? werkzeug:127.0.0.1--[05/jan/2017 20:17:34] "Get/favicon.ico http/1.1" 404-

Obviously, the permissions to create the database are not enough, to view and give the user permissions in the database

Granting user Rights binggo! Success attack Next, another pit: Unable to execute command LESSC

odoo-10.0 CREATE DATABASE failed

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.