Skip to content

Instantly share code, notes, and snippets.

@makoto
Created February 25, 2009 23:44
Show Gist options
  • Select an option

  • Save makoto/70532 to your computer and use it in GitHub Desktop.

Select an option

Save makoto/70532 to your computer and use it in GitHub Desktop.
Parsing new request (context 0x4F21F10 (32 - 0x4f22310))
Headers len = 586
Request method GET = 0
URI = [/Twitter/GeoTimeLine]
parsing headers (len 551): [X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (iPhone Simulator; U; CPU iPhone OS 2_0 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko)
Referer: http://localhost:8080/Twitter/index_erb.iseq
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Cookie: rhosync_session=BAh7BzoMdXNlcl9pZGkIIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--f9b67d99397fc534107fb3b7483ccdae23b4a761; auth_token=7cb7523aa6dd2ad2572f58c64e48906567b809d2
Connection: keep-alive
Host: localhost:8080
]
Content-Length: 0
Path = /Users/makoto/Library/Application Support/iPhone Simulator/User/Applications/DE26A1FE-BDBC-4DA1-B4F3-9DEC06FE12B1/Documents/apps/Twitter/GeoTimeLine
Executing Twitter
Calling ruby framework
Creating Req Hash
inside RHO.serve...
Waking up sync engine...
Sync engine continues w/ current operations...
"@GeoTimeLines.class"
NilClass
params for source: 37.331689%2C-122.030731Fetching data from http://localhost:3000/apps/6/sources/13/ask?format=json&client_id=503c7f56-d44e-4fdc-889d-f3714c006156&question=37.331689%2C-122.030731
RESPONSE:
HTTP/1.1 500 Server error
Date: Wed, 25 Feb 2009 23:41:42 GMT
Content-Type: text/html
Content-Length: 880
Connection: close
<html>
<head>
<title>Server Error</title>
<meta name="viewport" content="width=320"/>
</head>
<body>
<p>
Error: undefined method `each' for nil:NilClass<br/>Trace: (eval):2:in `<compiled>'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/lib/rho/render.rb:33:in `eval_compiled_file'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/lib/rho/render.rb:33:in `render'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/apps/Twitter/GeoTimeLine/controller.rb:17:in `index'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/lib/rho/rhocontroller.rb:18:in `serve'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/lib/rho/rhoapplication.rb:32:in `serve'
/Users/makoto/work/personal/rhomobile/rhodes/iphone/bin/RhoBundle/lib/rho/rho.rb:88:in `serve' </p>
</body>
</html>
-- eof --
Add response to the send bufferSending data to the view
1011 bytes sent
Sending data to the view
Handle End Encountered 0x4F21F10
Parsed 2 records from sync source...
[Session started at 2009-02-25 23:41:43 +0000.]
Successfully processed 2 records...
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols for "/System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation" (file not found).
warning: Unable to read symbols from "CoreLocation" (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all
Attaching to program: `/Users/makoto/Library/Application Support/iPhone Simulator/User/Applications/DE26A1FE-BDBC-4DA1-B4F3-9DEC06FE12B1/rhorunner.app/rhorunner', process 13506.
[Switching to process 13506 thread 0x3e0b]
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment