Sahara CLI doesn't work

Bug #1409432 reported by Sergey Reshetnyak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
High
Sergey Reshetnyak

Bug Description

Steps to reproduce:

1. Install python-saharaclient from master
2. Run command:
  $ sahara --help

3. Get an error:

Traceback (most recent call last):
  File "/home/serg/projects/python-saharaclient/.tox/py27/bin/sahara", line 10, in <module>
    sys.exit(main())
  File "/home/serg/projects/python-saharaclient/saharaclient/shell.py", line 709, in main
    print("ERROR: %s" % strutils.safe_encode(six.text_type(e)),
AttributeError: 'module' object has no attribute 'safe_encode'

Tags: cli
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-saharaclient (master)

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

Changed in python-saharaclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (master)

Reviewed: https://review.openstack.org/146317
Committed: https://git.openstack.org/cgit/openstack/python-saharaclient/commit/?id=388ba75fb6b42e385151b29f24a1f0f180bd8260
Submitter: Jenkins
Branch: master

commit 388ba75fb6b42e385151b29f24a1f0f180bd8260
Author: Sergey Reshetnyak <email address hidden>
Date: Sun Jan 11 15:15:52 2015 +0300

    Fix for sahara CLI

    Sahara CLI did not work because 'safe_encode' and 'safe_decode'
    methods have been moved from 'oslo.utils.strutils' module
    to 'oslo.utils.encodeutils' module

    Change-Id: Ica8cf4e8ec058fa0764e69945609f2a19effb840
    Closes-bug: #1409432

Changed in python-saharaclient:
status: In Progress → Fix Committed
Changed in python-saharaclient:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-saharaclient 0.8.0

This issue was fixed in the openstack/python-saharaclient 0.8.0 release.

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.