I prefer requests too. May be we can later switch over all of
cloudmonkey to use requests just like marvin. I tested out the changes
with a user account and everything works fine. But startup of
cloudmonkey seems to force one to put in the username, passwd in
cloudmonkey/config.

On Wed, Oct 16, 2013 at 04:51:23AM +0000, Chiradeep Vittal wrote:
> Sorry, urllib2 and cookiejar looked just too painful.
> 
> On 10/15/13 9:26 PM, "Prasanna Santhanam" <t...@apache.org> wrote:
> 
> >
> >I fixed this temporarily by adding the requests as a dependency. But
> >may be we could do the login using urllib2 itself to avoid the
> >requests dependency.
> >
> >+1 to username,password login. I need to add that to marvin too.
> >
> >On Wed, Oct 16, 2013 at 11:38:40AM +0800, Ryan Lei wrote:
> >> I was unable to run cloudmonkey after applying your update.
> >> My commands were:
> >> 
> >> $ git checkout username_password_support
> >> $ git pull
> >> $ python setup.py build
> >> $ python setup.py install
> >> $ cloudmonkey
> >> 
> >> Then I got this import error:
> >> Import error in cloudmonkey.requester : No module named requests
> >> 
> >> Switching back to master branch runs fine, however.
> >> 
> >> 
> >> 
> >>-------------------------------------------------------------------------
> >>------------------
> >> Yu-Heng (Ryan) Lei, Associate Researcher
> >> Chunghwa Telecom Laboratories / Cloud Computing Laboratory
> >> 
> >>ryan...@cht.com.tw<https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SW
> >>YpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mail
> >>to%3aryanlei%40cht.com.tw>
> >> or
> >> ryanlei750...@gmail.com
> >> 
> >> 
> >> 
> >> On Wed, Oct 16, 2013 at 11:23 AM, Chiradeep Vittal <
> >> chiradeep.vit...@citrix.com> wrote:
> >> 
> >> > Hi folks,
> >> >
> >> > I modified cloudmonkey to work off of username and password. Feedback
> >>and
> >> > testing required.
> >> > The code is in the branch  username_password_support
> >> > http://goo.gl/5xTgo5
> >> >
> >> > Thanks
> >> > --
> >> > Chiradeep
> >> >
> >
> >-- 
> >Prasanna.,
> >
> >------------------------
> >Powered by BigRock.com
> >

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to