备份出错问题
-
麻烦有知道的告诉我一下这是什么原因造成的...
Your version of OpenERP is unsupported. 。。。。。
Server Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 592, in send
File "C:\Program Files\OpenERP 6.1-1\server.\openerp\netsvc.py", line 360, in dispatch_rpc
File "C:\Program Files\OpenERP 6.1-1\server.\openerp\service\web_services.py", line 117, in dispatch
File "C:\Program Files\OpenERP 6.1-1\server.\openerp\service\web_services.py", line 220, in exp_dump
File "C:\Program Files\OpenERP 6.1-1\server.\openerp\tools\misc.py", line 100, in exec_pg_command_pipe
Exception: Couldn't find pg_dump
Client Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 260, in dispatch
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\controllers\main.py", line 404, in backup
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 611, in send
Fault: <Fault Couldn't find pg_dump: 'Traceback (most recent call last):\n File "C:\Program Files\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 592, in send\n File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\netsvc.py", line 360, in dispatch_rpc\n File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\service\web_services.py", line 117, in dispatch\n File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\service\web_services.py", line 220, in exp_dump\n File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\tools\misc.py", line 100, in exec_pg_command_pipe\nException: Couldn't find pg_dump\n'> -
你好 ,我遇到同样的问题,修改了路径却问题依旧。 您能指点一下吗?谢谢
-
[u][b][size=18pt][size=14pt][b]您好 谢谢您的帮助 可是 我仔细看我的路径修改没有问题啊 却就是不行 会不会是系统的问题 可是我用的是正版的w7,英文版的。 麻烦您再指点一下 谢谢[/b][/size][/size][/b][/u]
[attachimg=1] -
[quote author=mrshelly link=topic=2787.msg11398#msg11398 date=1340586427]
如果确认路径没有问题, 就尝试把 pg_dump.exe 的路径 添加到系统 PATH 环境变量中.
另: Win7 的权限很诡异...个人不推荐 Win7 来玩, 推荐使用虚拟机装个盗版XP 来玩 OpenERP... 当然, 你虚拟机安装个 Ubuntu 也是推荐的.
[/quote]
谢谢哦
在另一台XP电脑 装了一个 问题依旧
我是会计 电脑知识有限 linux就不是我能弄的了的哦
感谢帮助 -
[quote author=Joshua link=topic=2787.msg11400#msg11400 date=1340592875]
看看你的openepr-server.log
[/quote]
看了哦 不得要领
2012-06-25 22:45:44,430 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "POST /web/session/destroy HTTP/1.1" 200 -
2012-06-25 22:45:44,457 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/webclient/home HTTP/1.1" 200 -
2012-06-25 22:45:44,480 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/static/src/img/favicon.ico HTTP/1.1" 304 -
2012-06-25 22:45:44,493 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/webclient/css HTTP/1.1" 304 -
2012-06-25 22:45:44,506 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/webclient/js HTTP/1.1" 304 -
2012-06-25 22:45:44,750 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "POST /web/session/get_session_info HTTP/1.1" 200 -
2012-06-25 22:45:44,786 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "POST /web/webclient/qweblist HTTP/1.1" 200 -
2012-06-25 22:45:44,911 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "POST /web/proxy/load HTTP/1.1" 200 -
2012-06-25 22:45:44,957 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/static/src/img/logo2.png HTTP/1.1" 304 -
2012-06-25 22:45:44,959 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "GET /web/static/src/img/pattern.png HTTP/1.1" 304 -
2012-06-25 22:45:44,971 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:44] "POST /web/session/get_lang_list HTTP/1.1" 200 -
2012-06-25 22:45:45,055 488 INFO template1 werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:45] "POST /web/database/get_list HTTP/1.1" 200 -
2012-06-25 22:45:45,065 488 INFO template1 werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:45] "POST /web/database/get_list HTTP/1.1" 200 -
2012-06-25 22:45:48,125 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:48] "GET /web/static/src/img/logo.png HTTP/1.1" 304 -
2012-06-25 22:45:58,039 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/src/img/throbber2.gif HTTP/1.1" 304 -
[u][b][b]2012-06-25 22:45:58,052 488 ERROR ? openerp.netsvc: Couldn't find pg_dump[/b][/b][/u]
2012-06-25 22:45:58,065 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "POST /web/database/backup HTTP/1.1" 500 -
2012-06-25 22:45:58,171 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png HTTP/1.1" 304 -
2012-06-25 22:45:58,171 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png HTTP/1.1" 304 -
2012-06-25 22:45:58,171 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-icons_222222_256x240.png HTTP/1.1" 304 -
2012-06-25 22:45:58,174 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png HTTP/1.1" 304 -
2012-06-25 22:45:58,176 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:45:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png HTTP/1.1" 304 -
2012-06-25 22:46:02,230 488 INFO ? werkzeug: 127.0.0.1 - - [25/Jun/2012 22:46:02] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-icons_454545_256x240.png HTTP/1.1" 304 - -
在近乎绝望的情形下 用了一个超级菜鸟的方法 居然就把问题给解决了
既然修改路径不行 索性就把安装好的pg数据库整个考到了 openerp-server.conf所设定的路径下。居然就行了。典型的“打不过敌人索性就加入敌人”的思路哦。
问题是,这就意味着我的安装目录里现在有了两个pg数据库。 也不知道能不能删掉前面的那个儿只保留后来考的那个。
个人感觉不能删掉前面那个,可是这两个数据库将来不会发生冲突吗?
谢谢大家哦 -
1、尝试在bin后面加多一个斜杠,如
原来是“C:\Program Files\OpenERP 6.1\PostgreSQL\bin”
修改为“C:\Program Files\OpenERP 6.1\PostgreSQL\bin\”
2、Win7对权限的管理比过去XP要细化,可以看到bin目录下的pg_dump和pg_restore都给了openpgsvc账户读的权限,且限制写入修改,可是
通过浏览器进行backup的时候,调用这两个命令的用户可能不是openpgsvc,为了方便,把这两个都给予everyone的“读”权限
通过以上,备份和回复数据的功能解决,点击backup后自动产生一个备份文件,另存下就好。