| <type 'exceptions.IndexError'> | Python 2.6.2: /usr/local/bin/python Sun Sep 5 06:57:02 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/nuxa/domains/myfavehustler.info/public_html/genit.py in |
| 717 tmplSrc = readTmpl('index') |
| 718 tmplSrc = indexTmpl(tmplSrc,doorName) |
| 719 pageSrc = useTmpl(tmplSrc) |
| 720 elif query.getvalue('q') == 'map': |
| 721 print 'Content-Type: text/html\n' |
| pageSrc undefined, useTmpl = <function useTmpl at 0x15d87488>, tmplSrc = u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Str.../">FAMFAMFAM</a>.</p>\r\n</div>\r\n</body>\r\n</html>\r\n' |
| /home/nuxa/domains/myfavehustler.info/public_html/genit.py in useTmpl(tmpl=u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Str.../">FAMFAMFAM</a>.</p>\r\n</div>\r\n</body>\r\n</html>\r\n') |
| 361 break |
| 362 tmpl = tmpl.replace('{randword}',choice(relatives),1) |
| 363 tmpl = tmpl.replace('{randword:up}',upfirst(choice(relatives)),1) |
| 364 ## random number |
| 365 while 1: |
| tmpl = u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Str.../">FAMFAMFAM</a>.</p>\r\n</div>\r\n</body>\r\n</html>\r\n', tmpl.replace = <built-in method replace of unicode object at 0x15dcebd0>, global upfirst = <function upfirst at 0x15d852a8>, global choice = <bound method Random.choice of <random.Random object at 0x15c19a20>>, global relatives = [u'latina sex nude', u'world sex guide costa rica', u'adult group info remember sex', u'free gay hot pic sex', u'real lesbian having sex', u'clip hose movie pantie sex', u'free live sex site', u'picture of woman in sex', u'free movie porn preview sex', u'japanese movie sex teen', u'cartoon comic porn sex', u'free chyna sex tape clip', u'black ebony pornographic sex', u'free sex porn gallery', u'ultra password for sex site', u'movie ru sex video y', u'free group lesbian picture sex', u'gay man having sex together', u'sex toy store in georgia', u'adam adult eve sex toy', ...] |
| /home/nuxa/domains/myfavehustler.info/public_html/genit.py in upfirst(string=u'') |
| 28 |
| 29 def upfirst(string): |
| 30 return string.replace(string[0],string[0].upper(),1) |
| 31 |
| 32 def dwfirst(string): |
| string = u'', string.replace = <built-in method replace of unicode object at 0x2b4c31f2b5d0>, ].upper = <built-in method upper of unicode object at 0x2b4c31f2b5d0> |
<type 'exceptions.IndexError'>: string index out of range
args =
('string index out of range',)
message =
'string index out of range'