Unicode argument without an encoding

Bug #1602322 reported by Marcela Bonell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
First App Application For OpenStack
Fix Released
Undecided
Craig Sterrett

Bug Description

When I try to generate a fractal images with a deployment that includes the services instance (following the Scaling out section: http://developer.openstack.org/draft/firstapp-shade/scaling_out.html), the faafo-api error log reports that an unicode argument is given without an encoding.

Full log: http://paste.openstack.org/show/530937/

Revision history for this message
Craig Sterrett (craig-sterrett) wrote :

This is an issue with pymysql v 0.7, they made a change to throw an exception if you try to store unicode data in a binary column which the fractal image data is stored in a blob. One fix is to back pymysql to v 0.6.7 with the command "pip install -U PyMySQL==0.6.7" and then recycle faafo.

Changed in faafo:
assignee: nobody → Craig Sterrett (craig-sterrett)
Tom Fifield (fifieldt)
Changed in faafo:
status: New → Confirmed
Revision history for this message
Craig Sterrett (craig-sterrett) wrote :
Changed in faafo:
status: Confirmed → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to faafo (master)

Reviewed: https://review.openstack.org/386229
Committed: https://git.openstack.org/cgit/openstack/faafo/commit/?id=f19885b6294dcae766651526341f8443e723148b
Submitter: Jenkins
Branch: master

commit f19885b6294dcae766651526341f8443e723148b
Author: Craig Sterrett <email address hidden>
Date: Thu Oct 13 14:02:55 2016 -0700

    Changed pymysql version in requirements.txt file

    Changed the requirements.txt file to install versions of pymysql less than
    v0.7. A change was made in V0.7 to throw an exception if you try to store
    unicode data in a binary column which the fractal image data is stored in
    a blob.

    Closes-Bug: #1602322

    Change-Id: I58bbe49b4ab48c0fcd1801d96fdf737d5f1f28ab

Changed in faafo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.