Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. 导入模块时无响应

导入模块时无响应

Scheduled Pinned Locked Moved Odoo 新手求助
12 Posts 2 Posters 22.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    digitalsatori
    管理员
    wrote on last edited by
    #3

    [list type=decimal][li]检查一下客户端和服务器安装目录下的log文件,看有什么报错。[/li][li]不是所有的模块都能工作于你安装的Tiny版本下的。[/li][li]你还可以试一下不用模块导入,直接在模块管理中下载安装。[/li][li]具体是什么模块?[/li][/list]

    【上海先安科技】(tony AT openerp.cn)

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tianciyx
      wrote on last edited by
      #4

      我装的是point_of_sale-4.3.1.0.zip,我也试过将其直接解压至tinyerp serveraddons下,并使用更新模块列表——check new module,一样无响应.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        digitalsatori
        管理员
        wrote on last edited by
        #5

        试了一下,在Tiny ERP 4.2rc2也就是中文V0.1中客户端会报错:模块文件不是zip文件。在Tiny ERP 4.2中是正常的。
        你在V4.2中的错误可能是因为还是用了rc2的数据库,而没有将rc2的数据库升级。你可以用以下命令来升级数据库,或创建一个新的数据库来试试。
        在tinyerp服务器目录下输入:
        [code]
        tinyerp-server --update=all
        [/code]

        【上海先安科技】(tony AT openerp.cn)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tianciyx
          wrote on last edited by
          #6

          我装的数据库是postgresql 8.2版,装完后我装tinyerp-server-setup-4.2.0,在输入如下命令初始化完时提示:
          C:Program FilesTinyERP Server>tinyerp-server.exe -d terp -r postgres -w postgr
          es --db_host=localhost --logfile="c:program filestinyerp servertinyerp-server
          .log" --db_port=5432 -s --stop-after-init --init=all
          C:Program FilesTinyERP Serverlibrary.ziposvfields.py:90: DeprecationWarning
          : The relate attribute doesn't work anymore, use act_window tag instead
          Traceback (most recent call last):
          File "tinyerp-server.py", line 170, in <module>
          File "addons__init__.pyo", line 256, in register_classes
          File "C:Program FilesTinyERP Serveraddons__init__.py", line 4, in <module>

          #
          

          File "C:Program FilesTinyERP Serveraddons__init__.py", line 3, in <module>

          # Copyright (c) 2004 TINY SPRL. ( tiny&#46;be )
          

          ImportError: No module named sales_report
          最后tinyerp client装完后也可以使用了,并且可导入post-of-sale模块了,但上述提示请问是何意思?且是否tinyerp在使用时必须连接internet才可进行模块安装呢?

          [[i] 本帖最后由 tianciyx 于 2007-11-14 20:50 编辑 [/i]]

          1 Reply Last reply
          0
          • D Offline
            D Offline
            digitalsatori
            管理员
            wrote on last edited by
            #7

            [quote]ImportError: No module named sales_report
            最后tinyerp client装完后也可以使用了,并且可导入post-of-sale模块了,但上述提示请问是何意思?且是否tinyerp在使用时必须连接internet才可进行模块安装呢?
            [/quote]

            从上面最后一行的错误看出你使用的数据库terp是以前安装的,曾经安装过sales_report模块。新安装的Tiny demo是不包括这个模块,也许这就是引起错误的原因。安装模块时最好要连接internet,因为大多数模块的安装都要涉及到其他附属模块的安装,除非你已经安装了所有涉及的附属模块,否则在更新模块时Tiny会从网上下载并安装相应附属模块。

            【上海先安科技】(tony AT openerp.cn)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tianciyx
              wrote on last edited by
              #8

              我格式化后重装系统,数据库安装一切正常,但在装完tinyerp-server-setup-4.2.0后,输入命令C:Program FilesTinyERP Server>tinyerp-server.exe -d terp -r postgres -w postgr
              es --db_host=localhost --logfile="c:program filestinyerp servertinyerp-server
              .log" --db_port=5432 -s --stop-after-init --init=all后得到如下提示:
              Exception in thread Thread-1 (most likely raised during interpreter shutdown):
              Traceback (most recent call last):
              File "threading.pyo", line 460, in __bootstrap
              File "threading.pyo", line 625, in run
              File "C:Program FilesTinyERP Serveraddonsbaseirir_cron.py", line 95, in
              _poolJobs
              <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'now'
              Unhandled exception in thread started by
              Error in sys.excepthook:

              Original exception was:
              真不知该怎么办了

              1 Reply Last reply
              0
              • D Offline
                D Offline
                digitalsatori
                管理员
                wrote on last edited by
                #9

                你把--stop-after-init去掉试试。即使有这个错误也应该不影响使用的吧?

                【上海先安科技】(tony AT openerp.cn)

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tianciyx
                  wrote on last edited by
                  #10

                  确实不影响使用,还有去掉--stop-after-init则执行命令后无法回到提示符状态,你执行时是否也会出现这个提示呢,难道说命令中的停止tinyerp serverices有问题吗?

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    digitalsatori
                    管理员
                    wrote on last edited by
                    #11

                    stop-after-init选项是初始化后就停掉console中的TinyERP服务器,可能线程没有返回就出了问题,也可能是影响了运行中的tinyerp-service服务。你可以手动关掉console窗口,然后在windows服务中启动TinyERP Server服务。 我这里好象没有这个问题,奇怪。

                    【上海先安科技】(tony AT openerp.cn)

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tianciyx
                      wrote on last edited by
                      #12

                      谢谢digitalsatori的耐心回复,以后有问题,再向你请教

                      1 Reply Last reply
                      0

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Tags
                      • Popular
                      • Users
                      • Groups