( ! ) Warning: error_log(D:\chinamaker\sasww\caches\error_log.php) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Permission denied in D:\chinamaker\sasww\phpcms\libs\functions\global.func.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0005374016{main}( )..\index.php:0
20.00981405520pc_base::creat_app( )..\index.php:15
30.00981405576pc_base::load_sys_class( )..\base.php:68
40.00981405656pc_base::_load_class( )..\base.php:77
50.01041425088application->__construct( )..\base.php:126
60.01221496808application->init( )..\application.class.php:19
70.04733043248call_user_func ( )..\application.class.php:31
80.04733043248create_html->show( )..\application.class.php:31
90.05903459344html->show( )..\create_html.php:368
100.07694035160include( 'D:\chinamaker\sasww\caches\caches_template\default\content\show.php' )..\html.class.php:171
110.08014118512my_error_handler( )..\html.class.php:38
120.08014119032error_log ( )..\global.func.php:537

( ! ) Warning: error_log(D:\chinamaker\sasww\caches\error_log.php) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Permission denied in D:\chinamaker\sasww\phpcms\libs\functions\global.func.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0005374016{main}( )..\index.php:0
20.00981405520pc_base::creat_app( )..\index.php:15
30.00981405576pc_base::load_sys_class( )..\base.php:68
40.00981405656pc_base::_load_class( )..\base.php:77
50.01041425088application->__construct( )..\base.php:126
60.01221496808application->init( )..\application.class.php:19
70.04733043248call_user_func ( )..\application.class.php:31
80.04733043248create_html->show( )..\application.class.php:31
90.05903459344html->show( )..\create_html.php:368
100.07694035160include( 'D:\chinamaker\sasww\caches\caches_template\default\content\show.php' )..\html.class.php:171
110.08114118552my_error_handler( )..\html.class.php:38
120.08114119072error_log ( )..\global.func.php:537
用BZR获取Odoo(OpenERP)7.0最新版并源码运行


用BZR获取Odoo(OpenERP)7.0最新版并源码运行

www.chinamaker.net 2014-05-07 10:43:44 admin

用BZR获取OpenERP7.0最新版并源码运行
一、在Postgresql数据库中创建用于OpenERP连接的用户:
sudo su - postgrescreateuser --createdb --username postgres --no-createrole --no-superuser --pwpromptopenerpexit
将openerp替换为你当前登录的账户名,并根据提示输入此账户的密码。

二、安装所需依赖包
和setuptools。
sudo apt-get install python-docutils

sudo apt-get install python-gdata

sudo apt-get install python-mako

sudo apt-get install python-dateutil

sudo apt-get install python-feedparser

sudo apt-get install python-lxml

sudo apt-get install python-libxslt1

sudo apt-get install python-ldap

sudo apt-get install python-reportlab

sudo apt-get install python-pybabel

sudo apt-get install python-pychart

sudo apt-get install python-openid

sudo apt-get install python-simplejson

sudo apt-get install python-psycopg2

sudo apt-get install python-vobject

sudo apt-get install python-tz

sudo apt-get install python-vatnumber

sudo apt-get install python-webdav

sudo apt-get install python-xlwt

sudo apt-get install python-werkzeug

sudo apt-get install python-yaml

sudo apt-get install python-zsi

sudo apt-get install python-jinja2

sudo apt-get install python-setuptools

sudo easy_install PIL

sudo easy_install unittest2

sudo easy_install mock
 

三、安装bzr,并获取最新源码

1、首先安装bzrsudo apt-get install bzr
2、获取最新源码,在主目录下执行(注意不要在中文目录下,否则源码运行会出错):
mkdir OpenERP70
cd OpenERP70
mkdir addon
scd addonsbzr branch lp:openobject-addons/7.0
cd..
mkdir server
cd server
bzr branch lp:openobject-server/7.0
cd..
mkdir web
cd web
bzr branch lp:openerp-web/7.0

四、源码运行(首先要确认Postgresql数据库服务已运行)
进入OpenERP70-->server-->70目录, 运行:
python openerp-server --addons-path=../../addons/7.0/,../../web/7.0/addons
如提示缺少模块,请用easy_install安装后再次运行,直至无错误提示。

五、在火狐浏览器中打开“127.0.0.1:8069”.

六、源码更新,分别进入addons、server、web下的70目录,运行“bzr pull“

 附注:
1、下载最新OpenERP70源码包.
2、解压后从终端进入server目录,执行:
python openerp-server --addons=../addons,../web/addons
如提示缺少模块,请用easy_install或apt-get 命令安装所需模块,直至无错误。

来源:苏州远鼎官网


相关标签 TAG :  最新版  源码  


苏州远鼎

运用前沿科学技术,苏州远鼎信息技术有限公司以开源管理软件产品为核心,为企业和政府组织提供软件及服务,是OpenERP(Odoo)专业服务商,中国开源管理软件服务市场的领跑者。

Read More

远鼎产品

联系远鼎

  • 苏州工业园区星湖街328号22栋301
  • +86-0512-69361217
  • odoo@chinamaker.net
  • www.chinamaker.net