Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 JPyDbg instance has no attribute 'isatty'

open
nobody
None
5
2009-10-14
2009-10-14
Anonymous
No

I was using netbeans 6.7.1, everything updated to latest rev. Redhat5 enterprise, Python 2.4.
I ran some sample code calling yum related stuff. It works ok on the command line, but exits with the following, when run in the debugger in Netbeans:
JPyDbg instance has no attribute 'isatty'['Traceback (most recent call last):
', ' File "/home/peno/elekta-projects/remote-service/yumtest2.py.py", line 12, in ?
yb.doConfigSetup()
', ' File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 134, in doConfigSetup
self.plugins.run(\'init\')
', ' File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
/home/peno/.netbeans/6.7/config/nbPython/debug/nbpythondebug/jpydaemon.py
func(conduitcls(self, self.base, conf, **kwargs))
args = ['/home/peno/.netbeans/6.7/config/nbPython/debug/nbpythondebug/jpydaemon.py', 'localhost', '29100']
', ' File "/usr/lib/yum-plugins/rhnplugin.py", line 54, in init_hook
localDebuggee= None
up2date_cfg = config.initUp2dateConfig()
JPyDbg connecting localhost on in= 29100 /out= 29101
', ' File "/usr/share/rhn/up2date_client/config.py", line 294, in initUp2dateConfig
JPyDbgI0001 : connected to localhost
if sys.stdout.isatty():
Debug session normal end
', "AttributeError: JPyDbg instance has no attribute 'isatty'
"]
deamon ended

Discussion

  •  
    Attachments