wting / android-marketplace-crawler

Automatically exported from code.google.com/p/android-marketplace-crawler
0 stars 1 forks source link

ActionController::RoutingError (No route matches "/exists.json"): #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Ok, server running
Crawler running

But in the server I get

++
Started POST "/exists.json" for 127.0.0.1 at 2011-10-10 13:46:24 -0400

ActionController::RoutingError (No route matches "/exists.json"):

Rendered C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_dispatc
h/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)

Started POST "/exists.json" for 127.0.0.1 at 2011-10-10 13:46:24 -0400

ActionController::RoutingError (No route matches "/exists.json"):

Rendered C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.3/lib/action_dispatc
h/middleware/templates/rescues/routing_error.erb within rescues/layout (7.0ms)
++++++++

What does it mean? What should I do?

What steps will reproduce the problem?
1. Just running the server
2. Running the crawler
3.

What is the expected output? What do you see instead?
The apps(?)

What version of the product are you using? On what operating system?
The last one so far, Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by israelmo...@gmail.com on 10 Oct 2011 at 6:05

GoogleCodeExporter commented 9 years ago
While in my command line where I running the crawler I get

Oct 10, 2011 4:04:54 PM com.marketplace.io.Fetcher getAppByCategory
INFO: Mon Oct 10 16:04:54 EDT 2011 Getting App(s) for Category BRAIN     --> On
Index Id:0
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonExcepti
on: invalid number or unquoted string near <html xmlns="http://www.w
        at com.google.gson.Streams.parse(Streams.java:51)
        at com.google.gson.Gson.fromJson(Gson.java:514)
        at com.google.gson.Gson.fromJson(Gson.java:458)
        at com.marketplace.io.Sender.appExists(Unknown Source)
        at com.marketplace.io.Sender.addAppToCollection(Unknown Source)
        at com.marketplace.service.CategoryThread.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: invalid number or unqu
oted string near <html xmlns="http://www.w
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1110)
        at com.google.gson.stream.JsonReader.decodeLiteral(JsonReader.java:1100)

        at com.google.gson.stream.JsonReader.peek(JsonReader.java:343)
        at com.google.gson.Streams.parse(Streams.java:38)
        ... 11 more
Oct 10, 2011 4:04:59 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category CASUAL
Oct 10, 2011 4:04:59 PM com.marketplace.io.Fetcher getAppByCategory
INFO: Mon Oct 10 16:04:59 EDT 2011 Getting App(s) for Category TRAVEL    --> On
Index Id:0
Oct 10, 2011 4:04:59 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category COMICS
Oct 10, 2011 4:04:59 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category COMMUNICATION
Oct 10, 2011 4:04:59 PM com.marketplace.io.Fetcher getAppByCategory
INFO: Mon Oct 10 16:04:59 EDT 2011 Getting App(s) for Category THEMES    --> On
Index Id:0
Oct 10, 2011 4:04:59 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category PRODUCTIVITY
Oct 10, 2011 4:04:59 PM com.marketplace.io.Fetcher getAppByCategory
INFO: Mon Oct 10 16:04:59 EDT 2011 Getting App(s) for Category REFERENCE
 --> On Index Id:0
Oct 10, 2011 4:05:00 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category SHOPPING
Oct 10, 2011 4:05:00 PM com.marketplace.io.Fetcher getAppByCategory
INFO: Mon Oct 10 16:05:00 EDT 2011 Getting App(s) for Category NEWS      --> On
Index Id:0
Oct 10, 2011 4:05:00 PM com.marketplace.service.CategoryThread run
INFO: Creating thread for category SOCIAL

Original comment by israelmo...@gmail.com on 10 Oct 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Never mind, it was my mistake! Sorry!

I just add a / to the end of my localIP (localhost), so it wasnt finding the 
json file.

Thanks, thoug!

This issue is closed!

Original comment by israelmo...@gmail.com on 11 Oct 2011 at 4:09