Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

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

By
Stephan
on 6/13/16, 6:25 AM 1,688 views

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.

Jérémy Kersten (jke)
on 6/13/16, 6:28 AM

Metadata-Version: 1.1

Name: Pillow

Version: 3.2.0

Summary: Python Imaging Library (Fork)

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

Stephan
on 6/13/16, 8:42 AM
0

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2983
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 6/13/16, 9:13 AM

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


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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 6/13/16, 6:25 AM
Seen: 1688 times
Last updated: 6/13/16, 9:13 AM