Issue 9142: while executing python (original) (raw)
while executing the python file: python sercon.py
It Displays the below error.kindly provide me the solution.
Updated the Configparser log Exception in Tkinter callback Traceback (most recent call last): File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 1345, in call return self.func(*args) File "/ug6/RAJESH/finacle/TParty/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwPanedWidget.py", line 307, in _handleConfigure self._getNaturalSizes() File "/ug6/RAJESH/finacle/TParty/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwPanedWidget.py", line 338, in _getNaturalSizes bw = string.atoi(self.cget('hull_borderwidth')) File "/usr/local/lib/python2.3/string.py", line 220, in atoi return _int(s, base) TypeError: int() can't convert non-string with explicit base Traceback (most recent call last): File "sercon.py", line 264, in ? prodname,primaryIP,flag1 = displayScreen1(prodname,primaryIP) File "sercon.py", line 141, in displayScreen1 widget = screen1.screen1(root,prodname,prodprimaryIP) File "/ug6/RAJESH/finacle/app/base/sercon/tools/screen1.py", line 228, in init self.panes.configurepane('IPAddresses',size = 0.35) File "/ug6/RAJESH/finacle/TParty/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwPanedWidget.py", line 521, in configurepane self._handleConfigure() File "/ug6/RAJESH/finacle/TParty/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwPanedWidget.py", line 307, in _handleConfigure self._getNaturalSizes() File "/ug6/RAJESH/finacle/TParty/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwPanedWidget.py", line 338, in _getNaturalSizes bw = string.atoi(self.cget('hull_borderwidth')) File "/ug6/RAJESH/finacle/TParty/lib/python2.3/string.py", line 220, in atoi return _int(s, base) TypeError: int() can't convert non-string with explicit base
Sorry; this tracker is for reporting bugs in Python, not for getting help with your own Python code.
There are other places you might be able to get help, for example the python-list mailing list[1], which is also available as a newsgroup[2], or the #python IRC channel on freenode.net[3].
[1] http://mail.python.org/mailman/listinfo/python-list [2] news:comp.lang.python [3] irc://irc.freenode.net #python