You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Daan Hoogland <da...@gmail.com> on 2014/08/01 12:44:32 UTC

bug in marvin?

H

Marvin complains it doesn't have requests >=2.2.1. pip says it has
2.3.0. Should I downgrade?


\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> sudo pip show  requests
---
Name: requests
Version: 2.3.0
Location: /Library/Python/2.7/site-packages
Requires:
\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> nosetests -p
/Library/Python/2.7/site-packages/nose/plugins/manager.py:395:
RuntimeWarning: Unable to load plugin marvinPlugin =
marvin.marvinPlugin:MarvinPlugin: requests>=2.2.1
  RuntimeWarning)
Plugin capture
Plugin failuredetail
Plugin xunit
Plugin deprecated
Plugin skip
Plugin multiprocess
Plugin logcapture
Plugin coverage
Plugin attributeselector
Plugin doctest
Plugin profile
Plugin id
Plugin allmodules
Plugin collect-only
Plugin isolation
Plugin pdb
\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)>

-- 
Daan

RE: bug in marvin?

Posted by Santhosh Edukulla <sa...@citrix.com>.
may be different sources of marvin, one in installed path and one about to be installed. So, pip install --upgrade  should have worked, but uninstall and install is equally good.

Santhosh
________________________________________
From: Daan Hoogland [daan.hoogland@gmail.com]
Sent: Friday, August 01, 2014 8:22 AM
To: dev
Subject: Re: bug in marvin?

fixed it: i had marvin installed with pip from dist/Marvin*
did pip uninstall and then python setup.py install
now it finds the marvin nose plugin,

thanks Santhosh

In retrospective: pip install should have worked as well, shouldn't it?

On Fri, Aug 1, 2014 at 2:17 PM, Daan Hoogland <da...@gmail.com> wrote:
> On Fri, Aug 1, 2014 at 2:10 PM, Santhosh Edukulla
> <sa...@citrix.com> wrote:
>> import requests
>> print requests.__version__
>> print requests.__path__
>
>
> seems fine:
>
> \\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> python
> Python 2.7.5 (default, Mar  9 2014, 22:15:05)
> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import requests
>>>> print requests.__version__
> 2.3.0
>>>> print requests.__path__
> ['/Library/Python/2.7/site-packages/requests']
>>>> ^D
> \\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)>
>
> --
> Daan



--
Daan

Re: bug in marvin?

Posted by Daan Hoogland <da...@gmail.com>.
fixed it: i had marvin installed with pip from dist/Marvin*
did pip uninstall and then python setup.py install
now it finds the marvin nose plugin,

thanks Santhosh

In retrospective: pip install should have worked as well, shouldn't it?

On Fri, Aug 1, 2014 at 2:17 PM, Daan Hoogland <da...@gmail.com> wrote:
> On Fri, Aug 1, 2014 at 2:10 PM, Santhosh Edukulla
> <sa...@citrix.com> wrote:
>> import requests
>> print requests.__version__
>> print requests.__path__
>
>
> seems fine:
>
> \\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> python
> Python 2.7.5 (default, Mar  9 2014, 22:15:05)
> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import requests
>>>> print requests.__version__
> 2.3.0
>>>> print requests.__path__
> ['/Library/Python/2.7/site-packages/requests']
>>>> ^D
> \\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)>
>
> --
> Daan



-- 
Daan

Re: bug in marvin?

Posted by Daan Hoogland <da...@gmail.com>.
On Fri, Aug 1, 2014 at 2:10 PM, Santhosh Edukulla
<sa...@citrix.com> wrote:
> import requests
> print requests.__version__
> print requests.__path__


seems fine:

\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> python
Python 2.7.5 (default, Mar  9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> print requests.__version__
2.3.0
>>> print requests.__path__
['/Library/Python/2.7/site-packages/requests']
>>> ^D
\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)>

-- 
Daan

RE: bug in marvin?

Posted by Santhosh Edukulla <sa...@citrix.com>.
I just built cs master and ran python setup.py install under tools/marvin folder, i could see that requests version 2.3.0 is properly validated.

=============Logs==============
Using /usr/local/lib/python2.7/dist-packages/paramiko-1.14.0-py2.7.egg
Searching for requests==2.3.0
Best match: requests 2.3.0
requests 2.3.0 is already the active version in easy-install.pth

May be we wanted to verify below:

pip freeze,

at python shell:
import requests
print requests.__version__
print requests.__path__

check the path for requests is in the search path.

Regards
Santhosh
________________________________________
From: Daan Hoogland [daan.hoogland@gmail.com]
Sent: Friday, August 01, 2014 6:44 AM
To: dev
Subject: bug in marvin?

H

Marvin complains it doesn't have requests >=2.2.1. pip says it has
2.3.0. Should I downgrade?


\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> sudo pip show  requests
---
Name: requests
Version: 2.3.0
Location: /Library/Python/2.7/site-packages
Requires:
\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)> nosetests -p
/Library/Python/2.7/site-packages/nose/plugins/manager.py:395:
RuntimeWarning: Unable to load plugin marvinPlugin =
marvin.marvinPlugin:MarvinPlugin: requests>=2.2.1
  RuntimeWarning)
Plugin capture
Plugin failuredetail
Plugin xunit
Plugin deprecated
Plugin skip
Plugin multiprocess
Plugin logcapture
Plugin coverage
Plugin attributeselector
Plugin doctest
Plugin profile
Plugin id
Plugin allmodules
Plugin collect-only
Plugin isolation
Plugin pdb
\\ebi\daan:~/cloudstack-4.4/cloudstack (4.4)>

--
Daan