Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

中文pdf报表设置后,启动tiny出现以下错误



  • 按照wiki中的[[url]www.shine-it.net/wiki/index.php?title=Tiny_ERP_%E4%B8%AD%E6%96%87pdf%E6%8A%A5%E8%A1%A8%E8%AE%BE%E7%BD%AE[/url]]中文pdf报表设置后,启动tiny出现以下错误,请教是哪里出现了问题?

    Traceback (most recent call last):
    File "./tinyerp-server.py", line 163, in <module>
    import osv, workflow, report, service
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/init.py", line 29, in <module>
    import interface
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/interface.py", line 41, in <module>
    import render
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/init.py", line 30, in <module>
    from rml import rml, rml2html
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/rml.py", line 30, in <module>
    import rml2pdf
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/rml2pdf/init.py", line 52, in <module>
    pdfmetrics.registerFont(TTFont('Arial Unicode MS','arialuni.ttf'))
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 989, in init
    self.face = TTFontFace(filename, validate=validate, subfontIndex=subfontIndex)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 898, in init
    TTFontFile.init(self, filename, validate=validate, subfontIndex=subfontIndex)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 412, in init
    self.extractInfo(charInfo)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 555, in extractInfo
    self.seek_table("post")
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 306, in seek_table
    self._pos = self.get_table_pos(tag)[0] + offset_in_table
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 291, in get_table_pos
    offset = self.table[tag]['offset']
    KeyError: 'post'



  • 按照wiki中的[[url]www.shine-it.net/wiki/index.php?title=Tiny_ERP_%E4%B8%AD%E6%96%87pdf%E6%8A%A5%E8%A1%A8%E8%AE%BE%E7%BD%AE[/url]]中文pdf报表设置后,启动tiny出现以下错误,请教是哪里出现了问题?

    Traceback (most recent call last):
    File "./tinyerp-server.py", line 163, in <module>
    import osv, workflow, report, service
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/init.py", line 29, in <module>
    import interface
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/interface.py", line 41, in <module>
    import render
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/init.py", line 30, in <module>
    from rml import rml, rml2html
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/rml.py", line 30, in <module>
    import rml2pdf
    File "/usr/local/lib/python2.5/site-packages/tinyerp-server/report/render/rml2pdf/init.py", line 52, in <module>
    pdfmetrics.registerFont(TTFont('Arial Unicode MS','arialuni.ttf'))
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 989, in init
    self.face = TTFontFace(filename, validate=validate, subfontIndex=subfontIndex)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 898, in init
    TTFontFile.init(self, filename, validate=validate, subfontIndex=subfontIndex)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 412, in init
    self.extractInfo(charInfo)
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 555, in extractInfo
    self.seek_table("post")
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 306, in seek_table
    self._pos = self.get_table_pos(tag)[0] + offset_in_table
    File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 291, in get_table_pos
    offset = self.table[tag]['offset']
    KeyError: 'post'



  • 没字库



  • 这个问题也拆腾了我好几天,今天得到版主oldrev的帮助,终于解决了.具体的解决方法看下面这个帖子说明
    [url]shine-it.net/viewthread.php?tid=447&pid=1881&page=1&extra=page%3D1#pid1881[/url]


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待