Openerp 8.0 安装后, openerp-server-8.0 启动后自动停止
-
-
我同样的问题,试过buke的allinone绿色版8.0,官方allinone8.0-latest,官方allinone7.0-latest,都是同样的症状,家里(官方8.0-7.0)和公司机器(buke绿色allinone)都是。
进入安装目录,cmd下手动启动openerp-server,显示出错信息如下:
Traceback (most recent call last):
File "openerp-server", line 2, in <module>
File "C:\PROGRA~1\Odoo 8.0-20141015-000206\server.\openerp_init_.py", line
78, in <module>
import service
File "C:\PROGRA~1\Odoo 8.0-20141015-000206\server.\openerp\service_init_.p
y", line 27, in <module>
import wsgi_server
File "C:\PROGRA~1\Odoo 8.0-20141015-000206\server.\openerp\service\wsgi_serve
r.py", line 46, in <module>
import websrv_lib
File "C:\PROGRA~1\Odoo 8.0-20141015-000206\server.\openerp\service\websrv_lib
.py", line 37, in <module>
from SimpleHTTPServer import SimpleHTTPRequestHandler
File "SimpleHTTPServer.pyc", line 27, in <module>
File "SimpleHTTPServer.pyc", line 208, in SimpleHTTPRequestHandler
File "mimetypes.pyc", line 358, in init
File "mimetypes.pyc", line 258, in read_windows_registry
--extension / -e -- guess extension instead of type
File "mimetypes.pyc", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal
not in range(128)
事件查看器中错误提示如楼主所说。非常莫名其妙
==========
更新:
10-16 今早到公司,用昨晚下载的openerp-allinone-setup-7.0-20140622-231040(大小72m)安装,成功启动。昨晚家里安装用的是openerp_7.0-latest(122m).都是官方的。 -
你好,请问这个问题怎么解决的呢?
-
遇到同样问题,求解。
-
好几个电脑都遇到了这样的问题,求大神指点
-
不知道你是不是遇到这个问题
我就从官网下载odoo 8.0安装之后,也是一样的症状,启动服务的时候,提示一些服务启动又停止了,
网上查是是python UnicodeDecodeError问题,确切说是代码里的mimetypes.pyc的问题
我直接运行绿色版greenodoo 8.0 可以运行,
于是安装官网下载odoo 8.0,再从greenodoo里GreenOdoo-8.0-win32\runtime\python\Lib目录下拷贝出来一个mimetypes.pyc,覆盖到Odoo 8.0-20141128\server目录下,启动成功搞定了。
我把那个文件压缩上传了,可以下载覆盖试试 -
感谢,我用你的方法解决了我的问题
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login