跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

Y

yjwen

@yjwen
关于
帖子
8
主题
3
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • Tingerp 不支持 python 2.5 吗?
    Y yjwen

    那应该是客户端的主机名或者端口没有设置好?


  • Windows系统中安装客户端问题
    Y yjwen

    Sorry I cannot input Chinese right now.

    Why not try the tinyerp-client for windows?


  • Tingerp 不支持 python 2.5 吗?
    Y yjwen

    不用start-stop-daemon,直接启动试试看呢?

    /usr/bin/python /your/tiny/install/dir/bin/tinyerp-server.py


  • 请问怎么让一般用户自己更改登录密码呢?
    Y yjwen

    先用digitalsatori的方案解决了。谢谢两位:)


  • 请问怎么让一般用户自己更改登录密码呢?
    Y yjwen

    我用admin给某个组的access menu里加上了Administration/Users/Users/Change My Password。但是用该组的用户名登录进来以后,menu中依然没有administration这一项,无法更改自己的密码。


  • 从源代码安装TinyERP 4.2.2 Server
    Y yjwen

    折腾了两天,终于把TinyERP Server搭建起来。下面把安装过程记个流水帐,希望对他人有所帮助。

    1. 安装环境
      RHEL AS4。对于Debian类的发行版,可以方便地通过apt-get获得所需的软件包。Fedora也很容易找到RPM包。不知道Fedora的RPM能不能在RHEL上安装。这次还是自己最习惯的源码安装方式吧。

    2. 必须的软件包,
      TinyERP Server 4.2.2
      ( tinyerp.com/download/stable/source/tinyerp-server-4.2.2.tar.gz )
      Python 2.5.2
      ( www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2 )
      注:虽然TinyERP里的INSTALL只说要求Python是2.3及以上,但是实际上其代码中用到了些在2.4版才支持的函数,所以Python的版本必须是2.4及以上。
      PostgreSQL 8.2.7
      ( www.postgresql.org/ftp/source/v8.2.7/ )
      psycopg 1.1.21
      ( www.initd.org/pub/software/psycopg/psycopg-1.1.21.tar.gz )
      ReportLab 2.1
      ( www.reportlab.org/ftp/ReportLab_2_1.tgz )
      libxml2 2.6.27
      ( ftp://xmlsoft.org/libxml2/libxml2-2.6.27.tar.gz )
      libxslt 1.1.23
      ( ftp://xmlsoft.org/libxml2/libxslt-1.1.23.tar.gz )

    3. 安装Python
      现在系统已经装有2.4以上的Python的可以跳过。解压后,在源代码目录下:

    ./configure
    make
    sudo make install

    安装完成后可以用/usr/local/bin/python2.5启动。

    1. 安装libxml2及libxslt
      在各个的源代码目录下运行

    ./configure --with-python==/usr/local
    make
    sudo make install

    --with-python保证将libxml2及libxslt的python bindings安装到python的site-package中。

    1. 安装及配置PostgreSQL
      按照其源代码目录中的INSTALL的说明

    ./configure
    make
    sudo make install

    然后创建一个PostgreSQL的用户,专门用于访问PostgreSQL的数据库
    su
    adduser postgres
    mkdir /usr/local/pgsql/data
    chown postgres /usr/local/pgsql/data
    su postgres
    /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
    之后tinyERP将利用postgres这个用户名去访问/usr/local/pgsql/data中的数据库。

    1. 安装psycopg
      psycopg是一个python调用PostgreSQL数据操作的接口包。安装命令也是:
      ./configure
      make
      sudo make install

    2. 安装reportLab
      进入reportLab的代码目录,运行:
      /usr/local/bin/python2.5 setup.py build
      sudo /usr/local/bin/python2.5 setup.py install
      将reportLab装入python的site-package中。

    3. 安装TinyERP
      上述安装完成后,就已经可以直接运行TinyERP了。为了设定Server方便,也可以将TinyERP安装到Python的site-package中。在其代码根目录中运行命令:
      /usr/local/bin/python2.5 setup.py build
      sudo /usr/local/bin/python2.5 setup.py install

    4. 启动TinyERP Server
      命令为:
      /usr/local/bin/tinyerp-server -r postgres -w oopoopoop --db_host 127.0.0.1
      其中的-w oopoopoop指定的是postgres的登录密码,请自行修改。

    最后一步,就是启动TinyERP Client,连接到Server,开始工作啦。


  • [求助]tinyerp 4.2.2在RedHat Enterprise Linux下创建帐套出错
    Y yjwen

    谢谢digitalsatori,的确是Python版本的问题。现在升级到2.5以后,就可以正常使用了。非常感谢。


  • [求助]tinyerp 4.2.2在RedHat Enterprise Linux下创建帐套出错
    Y yjwen

    我在RHEL AS4下从源代码安装tinyerp 4.2.2, python 是2.3.4, postgresql是8.2.7。按照源代码中的INSTALL的步骤,安装了psycopg和reportlab,系统中已经有libxml2和libxslt,就没有安装。

    创建好postgresql的用户postgres:oopoop后,用命令:
    ~/tinyerp-4.2.2/bin/tinyerp-server --db_user=postgres --db_password=oopoop --db_host=127.0.0.1
    启动tinyerp server.
    然后在windows下tinyerp client连接此server,但是在创建帐套时出错:
    server上的出错信息是:

    Tue, 13 May 2008 09:55:20 INFO:web-services:CREATE DB: testdatabase
    Tue, 13 May 2008 09:55:21 ERROR:web-services:Exception in call: Traceback (most recent call last):
    File "/usr/lib/python2.3/site-packages/tinyerp-server/netsvc.py", line 200, in _dispatch
    r=m(*params)
    File "/usr/lib/python2.3/site-packages/tinyerp-server/service/web_services.py", line 142, in get_progress
    raise Exception, e
    AttributeError: 'str' object has no attribute 'rsplit'

    client上无log信息。另外,创建的帐套testdatabase可以正常删除。

    请问这是怎么回事?

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组