| <type 'exceptions.TypeError'> | Python 2.5.1: /usr/local/bin/python2.5 Sun Jul 20 10:21:17 2008 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/local/cgi/20un/companies/ShowProfile.py in |
| 133 self.__ncg.display(r'%sShowProfile.html'%self.htmlDocsPath) |
| 134 |
| 135 |
| 136 pageObj = ShowProfile() |
| 137 pageObj.show() |
| pageObj = <__main__.ShowProfile instance at 0x81cf4ac>, pageObj.show = <bound method ShowProfile.show of <__main__.ShowProfile instance at 0x81cf4ac>> |
| /usr/local/cgi/20un/companies/ShowProfile.py in show(self=<__main__.ShowProfile instance at 0x81cf4ac>) |
| 127 if mainID: |
| 128 catIDs = User({'ID':mainID}).getUserCategories() |
| 129 self.getPath(catIDs[0]) |
| 130 self.setCompanyInfo(mainID) |
| 131 self.setCompanyHotProducts(mainID) |
| self = <__main__.ShowProfile instance at 0x81cf4ac>, self.getPath = <bound method ShowProfile.getPath of <__main__.ShowProfile instance at 0x81cf4ac>>, catIDs = None |
<type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptable