salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Authenticate problem with youtube & googlemail.com #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install gcl
2. try google youtube list
3. Asked for username
4. Used myname@googlemail.com
5. Error-Page

What is the expected output? What do you see instead?

I wanted the page to authenticate my account, but got an error

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

.deb-file install, ubuntu 10.4

Please provide any additional information below.

I fidex the problem by changing these lines

  # If user specifies gmail.com, it confuses the hd parameter (thanks, bartosh!)
  if domain == 'gmail.com':
    return default_domain
  return domain or default_domain

to

  # If user specifies gmail.com, it confuses the hd parameter (thanks, bartosh!)
  if domain == 'googlemail.com':
    return default_domain
  return domain or default_domain

Original issue reported on code.google.com by andreas....@googlemail.com on 11 Jul 2010 at 3:20

GoogleCodeExporter commented 9 years ago
That will indeed do it, but there's a more general solution in the patch in 
issue 216.

Original comment by tom.h.mi...@gmail.com on 11 Jul 2010 at 4:09