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-887) setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError
Date Wed, 18 Jan 2017 03:26:26 GMT

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

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

GitHub user tonybaloney opened a pull request:

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

    Fix LIBCLOUD-887

    If a user sets LIBCLOUD_DEBUG, they will receive an error and no requests will be made.
This is happening on trunk and v2.0.0rc1-tentative
    
    ```
    In ./libcloud/utils/loggingconnection.py
    LoggingConnection.request does not accept the stream keyword which causes an error:
    TypeError: request() got an unexpected keyword argument 'stream'
    ```
    
    Reported by @supertom 

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

    $ git pull https://github.com/tonybaloney/libcloud fix_debug_pattern

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

    https://github.com/apache/libcloud/pull/978.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 #978
    
----
commit ed6d012aab1c8bad83f66bf4ed4621b1d5fe0d27
Author: Anthony Shaw <anthonyshaw@apache.org>
Date:   2017-01-18T03:24:53Z

    create a test to prove LIBCLOUD-887 is a bug

----


> setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError
> -------------------------------------------------------------------
>
>                 Key: LIBCLOUD-887
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-887
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.15.1
>         Environment: Ubuntu, python 2.7
>            Reporter: Tom Melendez
>
> If a user sets LIBCLOUD_DEBUG, they will receive an error and no requests will be made.
 This is happening on trunk.
> In ./libcloud/utils/loggingconnection.py
> LoggingConnection.request does not accept the stream keyword which causes an error:
> TypeError: request() got an unexpected keyword argument 'stream'
> I can manually add the stream keyword to the parameter list and all is good again.



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

Mime
View raw message