libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-714) Traceback when simplejson < 2.1.0 is installed
Date Fri, 11 Sep 2015 13:55:46 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740844#comment-14740844
] 

ASF GitHub Bot commented on LIBCLOUD-714:
-----------------------------------------

GitHub user terminalmage opened a pull request:

    https://github.com/apache/libcloud/pull/577

    Fix traceback when simplejson < 2.1.0 is installed

    See https://issues.apache.org/jira/browse/LIBCLOUD-714.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/terminalmage/libcloud libcloud-714

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/577.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #577
    
----
commit 186db780916c65b857cfd00d98394c4316d598d4
Author: Erik Johnson <palehose@gmail.com>
Date:   2015-09-11T13:53:58Z

    Fix traceback when simplejson < 2.1.0 is installed
    
    See https://issues.apache.org/jira/browse/LIBCLOUD-714.

----


> Traceback when simplejson < 2.1.0 is installed
> ----------------------------------------------
>
>                 Key: LIBCLOUD-714
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-714
>             Project: Libcloud
>          Issue Type: Bug
>         Environment: Linux
>            Reporter: Erik Johnson
>
> When simplejson 2.0.9 (the version available in RHEL 6) is installed, the following traceback
occurs when attempting to use libcloud:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/salt/loader.py", line 951, in _load_module
>     ), fn_, fpath, desc)
>   File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/rackspace.py", line 46, in
<module>
>     from libcloud.compute.base import NodeState
>   File "/usr/lib/python2.6/site-packages/libcloud/compute/base.py", line 32, in <module>
>     from libcloud.pricing import get_size_price
>   File "/usr/lib/python2.6/site-packages/libcloud/pricing.py", line 26, in <module>
>     JSONDecodeError = json.JSONDecodeError
> AttributeError: 'module' object has no attribute 'JSONDecodeError'
> Upgrading to simplejson 2.1.0 or greater fixes this issue. Applying the following fix
to libcloud should resolve the issue: http://www.fpaste.org/225608/49936143/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message