cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2135) fix the string formatting error in cloudConnection.py
Date Mon, 22 Apr 2013 14:21:16 GMT

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

ASF subversion and git services commented on CLOUDSTACK-2135:
-------------------------------------------------------------

Commit 9572f576483796beb85c7aeb5e0ce3925aee9e42 in branch refs/heads/master from [~srikanti]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9572f57 ]

CLOUDSTACK-2135: fix the string formatting error in cloudstackConnection.py

Signed-off-by: Prasanna Santhanam <tsp@apache.org>

                
> fix the string formatting error in cloudConnection.py
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-2135
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2135
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Test Tools
>    Affects Versions: 4.2.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: Srikanteswararao Talluri
>             Fix For: 4.2.0
>
>
> fix the string formatting error in cloudConnection.py
> error seen:
> Traceback (most recent call last):
>   File "/usr/local/bin/nosetests-2.7", line 9, in <module>
>     load_entry_point('nose==1.2.1', 'console_scripts', 'nosetests-2.7')()
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/core.py", line
118, in __init__
>     **extra_args)
>   File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/core.py", line
135, in parseArgs
>     self.config.configure(argv, doc=self.usage())
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/config.py",
line 338, in configure
>     self.plugins.configure(options, self)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/plugins/manager.py",
line 284, in configure
>     cfg(options, config)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/plugins/manager.py",
line 99, in __call__
>     return self.call(*arg, **kw)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/plugins/manager.py",
line 167, in simple
>     result = meth(*arg, **kw)
>   File "/usr/local/lib/python2.7/site-packages/marvin_nose-0.1.0-py2.7.egg/marvinPlugin.py",
line 42, in configure
>     deploy.loadCfg() if options.load else deploy.deploy()
>   File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 452,
in deploy
>     self.loadCfg()
>   File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 409,
in loadCfg
>     apiKey, securityKey = self.registerApiKey()
>   File "/usr/local/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 349,
in registerApiKey
>     listuserRes = self.testClient.getApiClient().listUsers(listuser)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 436, in listUsers
>     response = self.connection.marvin_request(command, data=postdata, response_type=response)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
212, in marvin_request
>     cmdname, auth=False, payload=payload, data=data)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
141, in request
>     (self.baseurl, c))
> TypeError: not all arguments converted during string formatting

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

Mime
View raw message