So SproutCore is doing nothing more with Pylons than trying to GET a
JSON response using it's RESTful API.

If you take a look at the log, you'll notice something unusual.

Starting server in PID 854.
serving on http://127.0.0.1:5000 <================================= Port 5000
10:52:39,244 DEBUG [routes.middleware] Matched GET /widgets/list
10:52:39,244 DEBUG [routes.middleware] Route path:
'/{controller}/{action}', defaults: {'action': 'index'}
10:52:39,245 DEBUG [routes.middleware] Match dict: {'action': u'list',
'controller': u'widgets'}
Debug at: http://localhost:4020/_debug/view/1222789960 <=========== Port 4020?

If you take a look, the server is confused. Port 4020 is the
SproutCore server's port. It's just a development Merb server using
the Thin adapter. It's sort of like Paste's defacto HTTP server.

Why does Pylons believe 4020 is it's port? Also, when manually changed
to 5000 to see the debug, everything linked in the page also believes
it to be 4020.

-Devin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to