This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: while executing python
Type: compile error Stage: resolved
Components: Versions: Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: mark.dickinson, rajesh.chandran
Priority: normal Keywords:

Created on 2010-07-02 12:22 by rajesh.chandran, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg109103 - (view) Author: rajesh (rajesh.chandran) Date: 2010-07-02 12:22
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
msg109104 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-07-02 12:33
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
History
Date User Action Args
2022-04-11 14:57:03adminsetgithub: 53388
2010-07-02 12:33:31mark.dickinsonsetstatus: open -> closed

nosy: + mark.dickinson
messages: + msg109104

resolution: not a bug
stage: resolved
2010-07-02 12:22:46rajesh.chandrancreate