Skip to content

Instantly share code, notes, and snippets.

@makoto
Created February 26, 2009 19:52
Show Gist options
  • Save makoto/71065 to your computer and use it in GitHub Desktop.
Save makoto/71065 to your computer and use it in GitHub Desktop.
Sending data to the view
Parsing new request (context 0x4F0F360 (32 - 0x4f0f760))
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=3f3d494d0dbd6a2674f4fc48c79768ed7c335865
Connection: keep-alive
Host: localhost:8080
]
Content-Length: 0
Path = /Users/makoto/Library/Application Support/iPhone Simulator/User/Applications/9FE5A695-52E7-461C-A782-9B4CF5139502/Documents/apps/Twitter/GeoTimeLine
Executing Twitter
Calling ruby framework
Creating Req Hash
inside RHO.serve...
Waking up sync engine...
"@GeoTimeLines.class"
NilClass
Sync engine continues w/ current operations...
"Rhom::RhomDbAdapter::select_from_table"
params for source: 37.331689%2C-122.030731Fetching data from http://localhost:3000/apps/6/sources/13/ask?format=json&client_id=3b083587-788b-4950-b794-7c143942eff9&question=37.331689%2C-122.030731
RESPONSE:
HTTP/1.1 500 Server error
Date: Thu, 26 Feb 2009 19:50:21 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:22: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 0x4F0F360
Parsed 2 records from sync source...
Successfully processed 2 records...
[Session started at 2009-02-26 19:50:22 +0000.]
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/9FE5A695-52E7-461C-A782-9B4CF5139502/rhorunner.app/rhorunner', process 16975.
[Switching to process 16975 thread 0x4107]
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment