Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
7861 มุมมอง

used Environment:

openERP 7.0 

Synology DS716+II

Safari Webbrowser on MBP running on OS X 10.11.5

The following error appeared all of the sudden while trying to print newly created customer bills:

openerp.service.web_services: Exception: tostring() has been removed. Please call tobytes() instead.

more details:

tostring() has been removed. Please call tobytes() instead.

identity=[ImageReader@0x7f7065b9e490]

handle_pageBegin args=()

(<type 'exceptions.Exception'>, Exception('tostring() has been removed. Please call tobytes() instead.\nidentity=[ImageReader@0x7f7065b9e490]\n handle_pageBegin args=()',), <traceback object at 0x7f7065f6b440>)


The issue appeared either after the python update or while setting the billing date in the future, unfortunately I'm not sure exactly when.


Following steps to resolve have done:

1. Dump DB

2. reboot DS

3. Restore DB on a different DS (213+)

4. Restore DB on a Docker VM on DS716+II with newly installed openERP7.0

server.log is available

อวตาร
ละทิ้ง

seems like a en error with your pillow version.

ผู้เขียน

Metadata-Version: 1.1

Name: Pillow

Version: 3.2.0

Summary: Python Imaging Library (Fork)

Home-page: http://python-pillow.org

คำตอบที่ดีที่สุด

Duplicate of https://github.com/odoo/odoo/issues/12390


As discuss, OpenerpV7 don't require pillow ...

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Down grade the pillow package less than  equal 2.9

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 22
34585
0
มี.ค. 19
4459
0
ม.ค. 19
5543
4
ก.พ. 24
12858
0
ม.ค. 18
4310