--> -->
 
 
AttributeError
Python 3.6.5: /usr/bin/python
Sat Feb 16 20:37:45 2019

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/shravan/www/python/index.py in ()
      3 import cgitb;cgitb.enable()
      4 from lib import html
=>    5 html = html._UIHtml();
      6 #d = html.uiObject("div");
      7 #d.render();
html = <module 'lib.html' from '/disk1/home/shravan/www/python/lib/html.py'>, html._UIHtml = <class 'lib.html._UIHtml'>
 /disk1/home/shravan/www/python/lib/html.py in __init__(self=<lib.html._UIHtml object>)
      7                 self.dom = getDOMImplementation();
      8                 self.html = self.dom.createDocument(None, "html", None)
=>    9                 self.body = self.html.createDocument(None, "body", None)
     10                         
     11         def write(self,content):
self = <lib.html._UIHtml object>, self.body undefined, self.html = <xml.dom.minidom.Document object>, self.html.createDocument undefined

AttributeError: 'Document' object has no attribute 'createDocument'
      args = ("'Document' object has no attribute 'createDocument'",)
      with_traceback = <built-in method with_traceback of AttributeError object>