As bad as RB's performance was in the old days, I never saw it do THIS!
at
'board'
Python /opt/python2.5/lib/python2.5/site-packages/web.py-0.23-py2.5.egg/web/utils.py in __getattr__, line 54
Web POST http://ragingbull.quote.com/search
Traceback (innermost first)
/opt/python2.5/lib/python2.5/site-packages/web.py-0.23-py2.5.egg/web/utils.py in __getattr__
AttributeError: 'a'
"""
def __getattr__(self, key):
try:
return self[key]
except KeyError, k:
raise AttributeError, k ...
def __setattr__(self, key, value): self[key] = value
def __delattr__(self, key):
try:
â–¶ Local vars
Variable Value
k KeyError('board',)
key 'board'
self
/ragingbull/py/search.py in form_valid
if select_count("ts_debug($w)", vars=dict(w=s.keywords), where="lexemes[1] is not null") == 0:
s.keywords = ""
s.all_stop_words = True
s.board_select_required = False
# if we are reprocessing a form with errors, don't bother validating if boards_OK is true
if not s.get('boards_OK', False):
s.boards = []
for brd in [b.strip() for b in input.board.upper().split(',')]: ... if not brd:
continue
if board_exist(brd):
s.boards.append(brd)
else:
boardslike = web.select("board_like($brd)", vars=dict(brd=brd))
â–¶ Local vars
Variable Value
_[1] []
input
s
/ragingbull/py/search.py in app
web.webapi.header('Content-type', 'text/html')
input = get_input()
s.query = ''
# where is the request coming from (submit => the form, else next/prev page)
if input.get('submit', None):
# from a form
if not form_valid(s, input): ... # we need to present the form on its own screen to allow the user to fix mistakes
showpage('search.html', G = s)
return
else:
s.skip = 0
mesgs = web.select(
â–¶ Local vars
Variable Value
input
lid '38732749'
s
user 'Decomposed'
/opt/python2.5/lib/python2.5/site-packages/web.py-0.23-py2.5.egg/web/webapi.py in wsgifunc
_load(env)
# allow uppercase methods only
if ctx.method.upper() != ctx.method:
return notfound()
try:
result = func() ... except StopIteration:
result = None
except:
print >> debug, traceback.format_exc()
result = internalerror()
â–¶ Local vars
Variable Value
env {'CONTENT_LENGTH': '69', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/ragingbull/content', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': '__unam=7639673-1331c0eda27-4d64239a-28; UID=Wcgg2swTrZk=; LOGIN=c9a6f8eff9e168d620f75178ddf3007a; lubid=sQECUPTnsveLp1NXYklCOUPq_up5oeJT-zTXbRT0JsIA; __utma=58705449.337748519.1319025694.1319040997.1335984694.4; __utmz=58705449.1335984694.4.1.utmcsr=ragingbull.com|utmccn=(referral)|utmcmd=referral|utmcct=/; rb_ID=ATIbrh-1QpGfGS-6QY-w2-buMOSppTzCcfYntB-1QpGfGS-6uN_cwaIPQBMkLcquzkAnnpSRkLOiAbFjREkrzGHd6aHcl3-0R6nLfQAA; __utmb=58705449.54.10.1335984694; first_pv_66414190=1; _jsuid=906110779; usernm=Decomposed; __utmc=58705449; JSESSIONID=abcVQrRAqcMi57zMb5oCt', 'HTTP_HOST': 'ragingbull.quote.com', 'HTTP_REFERER': 'http://ragingbull.quote.com/search', 'HTTP_UA_CPU': 'x86', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)', 'LD_LIBRARY_PATH': '/ragingbull/lib', 'PATH_INFO': '', 'PYTHONPATH': '/ragingbull/py', 'QUERY_STRING': '', 'RBML_PATH': '/ragingbull', 'REMOTE_ADDR': '165.110.5.65', 'REMOTE_PORT': '50948', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/search', 'SCRIPT_FILENAME': '/ragingbull/py/search.py', 'SCRIPT_NAME': '/search', 'SCRIPT_URI': 'http://ragingbull.quote.com/search', 'SCRIPT_URL': '/search', 'SERVER_ADDR': '192.168.100.233', 'SERVER_ADMIN': 'webmaster@ragingbull.com', 'SERVER_NAME': 'ragingbull.quote.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat) DAV/2 mod_wsgi/3.3 Python/2.5 Resin/3.0.23 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5', 'mod_wsgi.application_group': 'ragingbull.quote.com|/search', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'ragingbull.quote.com', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': , 'wsgi.file_wrapper': , 'wsgi.input': , 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}
func
start_resp
Response so far
HEADERS
Content-Type: text/html
BODY
Request information
INPUT
Variable Value
keywords ''
member 'Decomposed'
range '10000'
rangetype 'lastn'
submit 'Submit'
COOKIES
Variable Value
JSESSIONID 'abcVQrRAqcMi57zMb5oCt'
LOGIN 'c9a6f8eff9e168d620f75178ddf3007a'
UID 'Wcgg2swTrZk='
__unam '7639673-1331c0eda27-4d64239a-28'
__utma '58705449.337748519.1319025694.1319040997.1335984694.4'
__utmb '58705449.54.10.1335984694'
__utmc '58705449'
__utmz '58705449.1335984694.4.1.utmcsr=ragingbull.com|utmccn=(referral)|utmcmd=referral|utmcct=/'
_jsuid '906110779'
first_pv_66414190 '1'
lubid 'sQECUPTnsveLp1NXYklCOUPq_up5oeJT-zTXbRT0JsIA'
rb_ID 'ATIbrh-1QpGfGS-6QY-w2-buMOSppTzCcfYntB-1QpGfGS-6uN_cwaIPQBMkLcquzkAnnpSRkLOiAbFjREkrzGHd6aHcl3-0R6nLfQAA'
usernm 'Decomposed'
META
Variable Value
Content-Type 'text/html'
ENVIRONMENT
Variable Value
CONTENT_LENGTH '69'
CONTENT_TYPE 'application/x-www-form-urlencoded'
DOCUMENT_ROOT '/ragingbull/content'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE 'en-us'
HTTP_CACHE_CONTROL 'no-cache'
HTTP_CONNECTION 'Keep-Alive'
HTTP_COOKIE '__unam=7639673-1331c0eda27-4d64239a-28; UID=Wcgg2swTrZk=; LOGIN=c9a6f8eff9e168d620f75178ddf3007a; lubid=sQECUPTnsveLp1NXYklCOUPq_up5oeJT-zTXbRT0JsIA; __utma=58705449.337748519.1319025694.1319040997.1335984694.4; __utmz=58705449.1335984694.4.1.utmcsr=ragingbull.com|utmccn=(referral)|utmcmd=referral|utmcct=/; rb_ID=ATIbrh-1QpGfGS-6QY-w2-buMOSppTzCcfYntB-1QpGfGS-6uN_cwaIPQBMkLcquzkAnnpSRkLOiAbFjREkrzGHd6aHcl3-0R6nLfQAA; __utmb=58705449.54.10.1335984694; first_pv_66414190=1; _jsuid=906110779; usernm=Decomposed; __utmc=58705449; JSESSIONID=abcVQrRAqcMi57zMb5oCt'
HTTP_HOST 'ragingbull.quote.com'
HTTP_REFERER 'http://ragingbull.quote.com/search'
HTTP_UA_CPU 'x86'
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)'
LD_LIBRARY_PATH '/ragingbull/lib'
PATH_INFO ''
PYTHONPATH '/ragingbull/py'
QUERY_STRING ''
RBML_PATH '/ragingbull'
REMOTE_ADDR '165.110.5.65'
REMOTE_PORT '50948'
REQUEST_METHOD 'POST'
REQUEST_URI '/search'
SCRIPT_FILENAME '/ragingbull/py/search.py'
SCRIPT_NAME '/search'
SCRIPT_URI 'http://ragingbull.quote.com/search'
SCRIPT_URL '/search'
SERVER_ADDR '192.168.100.233'
SERVER_ADMIN 'webmaster@ragingbull.com'
SERVER_NAME 'ragingbull.quote.com'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SIGNATURE ''
SERVER_SOFTWARE 'Apache/2.2.3 (Red Hat) DAV/2 mod_wsgi/3.3 Python/2.5 Resin/3.0.23 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5'
mod_wsgi.application_group 'ragingbull.quote.com|/search'
mod_wsgi.callable_object 'application'
mod_wsgi.handler_script ''
mod_wsgi.input_chunked '0'
mod_wsgi.listener_host ''
mod_wsgi.listener_port '80'
mod_wsgi.process_group 'ragingbull.quote.com'
mod_wsgi.request_handler 'wsgi-script'
mod_wsgi.script_reloading '1'
mod_wsgi.version (3, 3)
wsgi.errors
wsgi.file_wrapper
wsgi.input
wsgi.multiprocess True
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 1)

Gold is $1,581/oz today. When it hits $2,000, it will be up 26.5%. Let's see how long that takes. - De 3/11/2013 - ANSWER: 7 Years, 5 Months