Blackbook


#1

Hi,
When I run the following piece of code;
@gmail_xml = Blackbook.get :username => ‘removed_email_address@domain.invalid’, :password
=> ‘pwd’, :as => :xml

Hotmail and yahoo work fine. But with gmail I get the following error:

Nokogiri::CSS::SyntaxError in ItemsController#index

unexpected ‘.’ after ‘.’

RAILS_ROOT: C:/Documents and
Settings/KivancG.DDM/Desktop/jan22nd/Work/sources/wl
Application Trace | Framework Trace | Full Trace

C:/Ruby/lib/ruby/gems/1.8/gems/nokogiri-1.1.1-x86-mswin32-60/lib/nokogiri/css/parser.rb:60:in
on_error' racc/parser.rb:99:in_racc_do_parse_c’
racc/parser.rb:99:in __send__' racc/parser.rb:99:indo_parse’
app/controllers/items_controller.rb:9:in `index’

Any help would really be appreciated. I couldnot see anyone who got the
same error.


#2

Hey,

I used Contacts (GMail, Hotmail, Yahoo, Facebook, etc) and it worked
like a charm:

  . gem install json-1.1.1-mswin32.gem
  . gem install contacts

Cheers, Sazima

On Feb 20, 4:36 am, Kivanc G. removed_email_address@domain.invalid


#3

I actually got this exact same error with gmail. I was wondering if you
ever found a solution?