chadrem / market_bot

Google Play Android App store scraper
MIT License
361 stars 130 forks source link

Error on running Bot under Windows #39

Closed gowthamgts closed 9 years ago

gowthamgts commented 9 years ago

I've the following error when using a single require 'market-bot' statement:

capture

Some curl problem.

chadrem commented 9 years ago

@gowthamgts The market_bot gem relies on the Typhoeus gem for HTTP requests. Your problem is most likely with that gem and not market_bot. I recommend first getting the Typhoeus gem working and then trying market_bot again. It's possible the problem is that you just need to install curl. It looks like you are running market_bot on Windows. I have never tested it on Windows so you may have an easier time getting it to work using a Linux virtual machine.

gowthamgts commented 9 years ago

Yeah, on windows and I googled and already installed the gem using gem install typhoeus but same error.

chadrem commented 9 years ago

Did you install curl? Have you verified the libcurl shared library exists on your system?

-Chad

On May 31, 2015, at 10:30 AM, Gowtham Gopalakrishnan notifications@github.com wrote:

Yeah, on windows and I googled and already installed the gem using gem install typhoeus but same error.

— Reply to this email directly or view it on GitHub.

gowthamgts commented 9 years ago

@chadrem Yeah I got installed curl already but libcurl was missing and running the same program resulted in a SSL related error. :disappointed:

capture

Vivekban commented 9 years ago

I have the same error, but goes when i copied libcurl.dll file into C:/Ruby21/bin folder. If i didn't work try on 32-bit version(Ruby 2.1.6).

chadrem commented 9 years ago

@gowthamgts I'm looking at your last stack trace regarding the SSL error. The second to last line shows you are using a gem called google_play_search version 0.0.12. This is not my market_bot gem. It also shows the error is being generated by the Net::HTTP library (market_bot doesn't use this library). You have a couple options... one is to get certificate validation working right or the other is to disable it all together.