ascii error occurs when getting servers test data

Bug #1617210 reported by xujun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
xujun

Bug Description

When I get servers test data in test case by calling self.servers.list(), ascii error occurs.
Take a look at the data of server 3 and find the name is incorrect, which make ascii out range of [128] error.

xujun (yamajik)
Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/360977

Changed in horizon:
assignee: nobody → xujun (yamajik)
Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

It's not clear to me how the self.servers.list() invocation has generated a unicode error here, since we use that call in many places in our test suite at the moment, and the suite is passing.

Please provide more detail on how to reproduce the error in this bug report.

Revision history for this message
xujun (yamajik) wrote :

I find this bug is caused by pdb.
In pdb, when printing, it str() the value.
Sorry for this.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by xujun (xu.jun@99cloud.net) on branch: master
Review: https://review.openstack.org/360977
Reason: I find this bug is caused by pdb.
In pdb, when printing, it str() the value.
Sorry for this.

xujun (yamajik)
Changed in horizon:
status: In Progress → Invalid
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.