Thread: Is 411 Down
View Single Post
Old 06-01-2006, 10:02 PM   #1 (permalink)
Soapm
BlackBerry Extraordinaire
 
Soapm's Avatar
 
Join Date: Apr 2005
Location: The Mile Hi City
Model: 9900
OS: 7.0
Carrier: TMO
Posts: 2,794
Post Thanks: 3
Thanked 5 Times in 5 Posts
Default Is 411 Down

Please Login to Remove!

Phil,

This is what I get when I try and use either white or yellow pages. Is something down?

====

--> --> --> ??AttributeErrorPython 2.4.1: /usr/local/bin/pythonThu Jun 1 16:52:08 2006
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
?/var/www/html/cgi-bin/yp.py ??194???????????????195?????print?'<br><b><a?href= "http://thebogles.com/cgi-bin/sendlink.py">Email?Berry411?to?a?Friend</a></b>'??196???197?main()??198?main?= <function main>?/var/www/html/cgi-bin/yp.py in main()???85?????????????return???????????86??????? ?????87?????????(query,?near)?=?parseRequestFromFo rm(form,?defaultQuery,?defaultNear)???88?????????c ookie?=?Cookie.SimpleCookie()???89?????????cookie["near"]?=?nearquery?= 'china chef', near?= edit address, global parseRequestFromForm?= <function parseRequestFromForm>, global form?= FieldStorage(None, None, [MiniFieldStorage('near...', 'china chef'), MiniFieldStorage('v', '3.05')]), global defaultQuery?= '', global defaultNear?= 'Seattle, WA'?/var/www/html/cgi-bin/berry411.py in parseRequestFromForm(form=FieldStorage(None, None, [MiniFieldStorage('near...', 'china chef'), MiniFieldStorage('v', '3.05')]), defaultNear=edit address, defaultQuery='Seattle, WA')???78?????query?=?form.getvalue("q",?defaultQu ery)???79?????near?=?form.getvalue("near",?default Near)???80?????(newquery,?newnear)?=?parseRequest( query)???81?????if?newnear??82?????????return?(n ewquery,?newnear)newquery undefined, newnear undefined, global parseRequest?= <function parseRequest>, query?= 'china chef'?/var/www/html/cgi-bin/berry411.py in parseRequest(str='china chef')???63?????????????return?(string.join(words[0:cwords-1],?'?').strip(),?city?+?'?'?+?cityMap[lowerCity])???64?????????elif?len(words)?>=?2??65????????? ????city?=?words[cwords-2..cwords-1].join("?")???66?????????????lowerCity?=?city.lower ()???67?????????????if?lowerCity?in?cityMap:city?= 'chef', words?= ['china', 'chef'], cwords?= 2, 2..cwords undefined
AttributeError: 'float' object has no attribute 'cwords' ??????args?= ("'float' object
Offline