Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-887

setting LIBCLOUD_DEBUG causes unexpected keyword 'stream' TypeError

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.1
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Ubuntu, python 2.7

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                supertom Tom Melendez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: