You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Srikanteswararao Talluri (JIRA)" <ji...@apache.org> on 2013/05/02 11:38:15 UTC

[jira] [Resolved] (CLOUDSTACK-2135) fix the string formatting error in cloudConnection.py

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srikanteswararao Talluri resolved CLOUDSTACK-2135.
--------------------------------------------------

    Resolution: Fixed
    
> 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