Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6024D832 for ; Fri, 24 May 2013 14:02:21 +0000 (UTC) Received: (qmail 2809 invoked by uid 500); 24 May 2013 14:02:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 2761 invoked by uid 500); 24 May 2013 14:02:21 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 2720 invoked by uid 500); 24 May 2013 14:02:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 2663 invoked by uid 99); 24 May 2013 14:02:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 14:02:21 +0000 Date: Fri, 24 May 2013 14:02:21 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2652) marvin.setup fails with TypeError: 'dict' object is not callable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666322#comment-13666322 ] ASF subversion and git services commented on CLOUDSTACK-2652: ------------------------------------------------------------- Commit ed2ce2737133de6277bba0be9b7e10d3faaf887d in branch refs/heads/rbd-snap-clone from [~tsp] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ed2ce27 ] CLOUDSTACK-2652: requests module differs on Python 2.6 On 2.6 response.json returns the JSOn in the response while on 2.7 response.json() is a method. Since Marvin installs on both platforms fixing the error appropriately Signed-off-by: Prasanna Santhanam > marvin.setup fails with TypeError: 'dict' object is not callable > ---------------------------------------------------------------- > > Key: CLOUDSTACK-2652 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2652 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Test Tools > Reporter: Brian Muita > Assignee: Prasanna Santhanam > Priority: Minor > > $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test > [INFO] Scanning for projects... > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT > [INFO] ------------------------------------------------------------------------ > [INFO] > [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin --- > [INFO] > [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin --- > Traceback (most recent call last): > File "deployAndRun.py", line 47, in > deploy.deploy() > File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line 472, in deploy > self.loadCfg() > File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line 423, in loadCfg > apiKey, securityKey = self.registerApiKey() > File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line 362, in registerApiKey > listuserRes = self.testClient.getApiClient().listUsers(listuser) > File "/workspace/cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py", line 464, in listUsers > response = self.connection.marvin_request(command, response_type=response, method=method) > File "/workspace/cloudstack/tools/marvin/marvin/cloudstackConnection.py", line 222, in marvin_request > response = jsonHelper.getResultObj(response.json(), response_type) > TypeError: 'dict' object is not callable > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 7.470s > [INFO] Finished at: Thu May 23 16:23:45 EAT 2013 > [INFO] Final Memory: 23M/81M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on project cloud-marvin: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira