--> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.6.6: /usr/bin/python
Mon Oct 22 14:22:32 2018

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/piford/public_html/cgi-bin/HelpZone/map.py in ()
  120                                                                         <div class="form-group">"""
  121 print(html1)
  122 profilefunc.locate()
  123 html2="""<input type="text" name="location" placeholder="Your location" >
  124                                         <input type="Submit" Placeholder="Update" value="Update">
profilefunc = <module 'profilefunc' from '/home/piford/public_html/cgi-bin/HelpZone/profilefunc.pyc'>, profilefunc.locate = <function locate>
 /home/piford/public_html/cgi-bin/HelpZone/profilefunc.py in locate()
   22     cookie_string=os.environ.get('HTTP_COOKIE')
   23     e=Cookie.SimpleCookie()
   24     e.load(cookie_string)
   25     uname = e['shop'].value
   26 
e = <SimpleCookie: >, e.load = <bound method SimpleCookie.load of <SimpleCookie: >>, cookie_string = None
 /usr/lib64/python2.6/Cookie.py in load(self=<SimpleCookie: >, rawdata=None)
  627         else:
  628             # self.update() wouldn't call our custom __setitem__
  629             for k, v in rawdata.items():
  630                 self[k] = v
  631         return
k undefined, v undefined, rawdata = None, rawdata.items undefined

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'items'
      args = ("'NoneType' object has no attribute 'items'",)
      message = "'NoneType' object has no attribute 'items'"