{"action":"created","issue":{"url":"https://api.github.com/repos/gmailgem/gmail/issues/159","labels_url":"https://api.github.com/repos/gmailgem/gmail/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/gmailgem/gmail/issues/159/comments","events_url":"https://api.github.com/repos/gmailgem/gmail/issues/159/events","html_url":"https://github.com/gmailgem/gmail/issues/159","id":55428728,"number":159,"title":"circular loading? loading in progress, circular require considered harmful - /usr/lib/ruby/gems/2.1.0/gems/oauth-0.4.7/lib/oauth/client","user":{"login":"shevegen","id":13723,"avatar_url":"https://avatars.githubusercontent.com/u/13723?v=3","gravatar_id":"","url":"https://api.github.com/users/shevegen","html_url":"https://github.com/shevegen","followers_url":"https://api.github.com/users/shevegen/followers","following_url":"https://api.github.com/users/shevegen/following{/other_user}","gists_url":"https://api.github.com/users/shevegen/gists{/gist_id}","starred_url":"https://api.github.com/users/shevegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shevegen/subscriptions","organizations_url":"https://api.github.com/users/shevegen/orgs","repos_url":"https://api.github.com/users/shevegen/repos","events_url":"https://api.github.com/users/shevegen/events{/privacy}","received_events_url":"https://api.github.com/users/shevegen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gmailgem/gmail/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T20:24:34Z","updated_at":"2015-01-27T07:40:05Z","closed_at":null,"body":"Hi,\r\n\r\nI think there is some circular thing going on.\r\n\r\n\r\n/usr/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54: warning: loading in progress, circular require considered harmful - /usr/lib/ruby/gems/2.1.0/gems/oauth-0.4.7/lib/oauth/client/helper.rb\r\n\r\n\r\n\r\n/usr/lib/ruby/gems/2.1.0/gems/oauth-0.4.7/lib/oauth/request_proxy/net_http.rb:69: warning: assigned but unused variable - auth_params\r\n/usr/lib/ruby/gems/2.1.0/gems/oauth-0.4.7/lib/oauth/consumer.rb:13: warning: File.exists? is a deprecated name, use File.exist? instead\r\n/usr/lib/ruby/gems/2.1.0/gems/gmail-0.5.0/lib/gmail/imap_extensions.rb:7: warning: method redefined; discarding old msg_att\r\n/usr/lib/ruby/2.1.0/net/imap.rb:2215: warning: previous definition of msg_att was here\r\n/usr/lib/ruby/gems/2.1.0/gems/gmail-0.5.0/lib/gmail/client/base.rb:60: warning: instance variable @logged_in not initialized\r\n/usr/lib/ruby/gems/2.1.0/gems/gmail-0.5.0/lib/gmail/client/base.rb:164: warning: instance variable @current_mailbox not initialized\r\n/usr/lib/ruby/gems/2.1.0/gems/gmail-0.5.0/lib/gmail/client/base.rb:60: warning: instance variable @logged_in not initialized\r\n/usr/lib/ruby/2.1.0/net/imap.rb:1158:in `get_tagged_response': Unknown command p7mb23717641eew (Net::IMAP::BadResponseError)\r\n\r\n\r\n\r\nMy code is essentially this:\r\n\r\nrequire 'gmail'\r\n\r\n    Gmail.connect(USERNAME, PASSWORD) {|gmail|\r\n      p gmail.inbox.count\r\n      p gmail.inbox.count(:unread)\r\n      p gmail.inbox.count(:read)\r\n    }\r\n\r\nUSERNAME and PASSWORD are my name and password.\r\n\r\nCan you see what may be the problem?"},"comment":{"url":"https://api.github.com/repos/gmailgem/gmail/issues/comments/71602057","html_url":"https://github.com/gmailgem/gmail/issues/159#issuecomment-71602057","issue_url":"https://api.github.com/repos/gmailgem/gmail/issues/159","id":71602057,"user":{"login":"johnnyshields","id":27655,"avatar_url":"https://avatars.githubusercontent.com/u/27655?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyshields","html_url":"https://github.com/johnnyshields","followers_url":"https://api.github.com/users/johnnyshields/followers","following_url":"https://api.github.com/users/johnnyshields/following{/other_user}","gists_url":"https://api.github.com/users/johnnyshields/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyshields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyshields/subscriptions","organizations_url":"https://api.github.com/users/johnnyshields/orgs","repos_url":"https://api.github.com/users/johnnyshields/repos","events_url":"https://api.github.com/users/johnnyshields/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyshields/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T07:40:05Z","updated_at":"2015-01-27T07:40:05Z","body":"@shevegen it looks like the problem is on the last line:\r\n\r\n```\r\n/usr/lib/ruby/2.1.0/net/imap.rb:1158:in `get_tagged_response': Unknown command p7mb23717641eew (Net::IMAP::BadResponseError)\r\n```\r\n\r\nEverything else appears to be warnings."}}