[jira] [Commented] (LIBCLOUD-887) setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError

2017-01-17 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on LIBCLOUD-887:
--

Commit ed6d012aab1c8bad83f66bf4ed4621b1d5fe0d27 in libcloud's branch 
refs/heads/trunk from [~anthonypjshaw]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=ed6d012 ]

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)


[jira] [Commented] (LIBCLOUD-887) setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError

2017-01-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LIBCLOUD-887:
-

Github user asfgit closed the pull request at:

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


> 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)


[jira] [Commented] (LIBCLOUD-887) setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError

2017-01-17 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
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)