On Thu, Jun 17, 2010 at 4:31 AM, joeuser <l...@uark.edu> wrote:

> I figure out how to check out the yahoo-transport.  In case anyone
> else has this newbie question here is how I did it:
>
>  git clone git://xmpppy.git.sourceforge.net/gitroot/xmpppy/yahoo-transport
>
> However, I and still not able to register with PyYIMt. Here is the
> debug message that I see:
>
> Wed 16 Jun 2010 21:15:34 - unknown
> Traceback (most recent call last):
>  File "./yahoo.py", line 1322, in ?
>    rdsocketlist[each].Process()
>  File "/usr/local/jabberd/PyYIMt/ylib.py", line 865, in Process
>    challenge = self.ymsg_challenge(s,t)
>  File "/usr/local/jabberd/PyYIMt/ylib.py", line 177, in
> ymsg_challenge
>    bhash =
> base64.b64encode(mhash.digest()).translate(base64translate)
> AttributeError: 'module' object has no attribute 'b64encode'
>
>
What version of python are you running with.  This will require at least
2.4.  (2.4 also fixed many SSL bugs, that are impossible to work around in
code)

If you have to run with python 2.3, then change:
base64.b64encode(mhash.digest()).translate(base64translate)
into
base64.encodestring(mhash.digest()).translate(base64translate).replace('\n', '')

If you are running 2.3 and you can't upgrade easily, make it known, because
more and more 2.4 and 2.6 features are useful and save time.

On Jun 16, 8:08 pm, "Leslie G. Seigneur" <l...@uark.edu> wrote:
> > Norman,
> > I am using CVS 1.73.  I checked out xmpppy using
> >      git clone git://xmpppy.git.sourceforge.net/gitroot/xmpppy/xmpppy
> > and ran the installer but did not see the yahoo-transport files I was
> used to seeing.
> > How do I download the git version?
> >
> > From: py-transports@googlegroups.com [mailto:
> py-transpo...@googlegroups.com] On Behalf Of
> py-transports+nore...@googlegroups.com<py-transports%2bnore...@googlegroups.com>
> > Sent: Wednesday, June 16, 2010 5:59 PM
> > To: Digest Recipients
> > Subject: [py-transports] Digest for py-transports@googlegroups.com - 2
> Messages in 1 Topic
> >
> >   Today's Topic Summary
> >
> > Group:http://groups.google.com/group/py-transports/topics
> >
> >   *   Unable to register with PyYIMt [2 Updates]
> >  Topic: Unable to register with PyYIMt<
> http://groups.google.com/group/py-transports/t/cc2e69519c6a01f>
> > "Leslie G. Seigneur" <l...@uark.edu> Jun 16 04:37PM ^
> >
> > I have been using PyYIMt in my server for some time now but today I am
> not able to successfully register with the transport. It will not accept my
> yahoo user name and password even thought I have verified they correct by
> logging in with the Yahoo client. I anyone else seeing this problem with
> PyYIMt?
> >
> > Norman Rasmussen <nor...@rasmussen.co.za> Jun 16 06:47PM +0200 ^
> >
> > > logging in with the Yahoo client. I anyone else seeing this problem
> with
> > > PyYIMt?
> > > What version are you using? There were some changes a few weeks back to
> >
> > fix some login problem, and there's no new release yet (you have to use
> git
> > version for it to work)
> >
> > --
> > - Norman Rasmussen
> > - Email: nor...@rasmussen.co.za
> > - Home page:http://norman.rasmussen.co.za/
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "py-transports" group.
> > To post to this group, send email to py-transpo...@googlegroups.com.
> > To unsubscribe from this group, send email to
> py-transports+unsubscr...@googlegroups.com<py-transports%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/py-transports?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "py-transports" group.
> To post to this group, send email to py-transpo...@googlegroups.com.
> To unsubscribe from this group, send email to
> py-transports+unsubscr...@googlegroups.com<py-transports%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/py-transports?hl=en.
>
>


-- 
- Norman Rasmussen
- Email: nor...@rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/

-- 
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to py-transpo...@googlegroups.com.
To unsubscribe from this group, send email to 
py-transports+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en.

Reply via email to