跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • 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 中文社区

  1. 主页
  2. 版块
  3. Odoo 新手求助
  4. CentOS6.2+OpenERP6.1 打印报价单出错:decoder zip not available

CentOS6.2+OpenERP6.1 打印报价单出错:decoder zip not available

已定时 已固定 已锁定 已移动 Odoo 新手求助
4 帖子 2 发布者 4.2k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • C 离线
    C 离线
    cnkenny
    写于 最后由 编辑
    #1

    decoder zip not available

    (<type 'exceptions.IOError'>, IOError('decoder zip not available',), <traceback object at 0xb270c5a4>)

    1 条回复 最后回复
    0
    • C 离线
      C 离线
      cnkenny
      写于 最后由 编辑
      #2

      问题自己解决了,这是因为安装PIL-1.1.6导致的错误,错误如下:
      **************************************************************
      Failure in example: _info(Image.open("Images/lena.jpg"))
      from line #24 of selftest.testimage
      Exception raised:
      Traceback (most recent call last):
        File "./doctest.py", line 499, in _run_examples_inner
          exec compile(source, "<string>", "single") in globs
        File "<string>", line 1, in <module>
        File "./selftest.py", line 22, in _info
          im.load()
        File "PIL/ImageFile.py", line 180, in load
          d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
        File "PIL/Image.py", line 375, in _getdecoder
          raise IOError("decoder %s not available" % decoder_name)
      IOError: decoder jpeg not available
      1 items had failures:
        1 of  57 in selftest.testimage
      Test Failed 1 failures.
      1 tests of 57 failed.

      后来直接去安装了个 PIL-1.1.7,完美解决!!!

      1 条回复 最后回复
      0
      • mrshellyM 离线
        mrshellyM 离线
        mrshelly
        写于 最后由 编辑
        #3

        OK. 那就是OE 仅支持 PIL >= 1.1.7  版本的了吗?

        谢谢分享...

        1 条回复 最后回复
        0

        • 登录

        • 没有帐号? 注册

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