markcox / neatx

Automatically exported from code.google.com/p/neatx
0 stars 1 forks source link

nxdialog not working #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open nx session
2. try to stop it by ctrl-alt-t
3. nothing happens

What is the expected output? What do you see instead?
windows appears to disconnect or terminate

What version of the product are you using? On what operating system?
trunk r58

Please provide any additional information below.
/var/log/messages:
Feb 19 22:22:33 pcikf26 nxdialog[5468]: ERROR cli:68 Caught exception
Feb 19 22:22:33 pcikf26 nxdialog[5468]: Traceback (most recent call last):
Feb 19 22:22:33 pcikf26 nxdialog[5468]:   File
"/usr/lib/python2.4/site-packages/neatx/cli.py", line 62, in Main
Feb 19 22:22:33 pcikf26 nxdialog[5468]:     self.Run()
Feb 19 22:22:33 pcikf26 nxdialog[5468]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 224, in Run
Feb 19 22:22:33 pcikf26 nxdialog[5468]:     if dlgtype in
(constants.DLG_TYPE_PULLDOWN,
Feb 19 22:22:33 pcikf26 nxdialog[5468]: AttributeError: 'NxDialogProgram'
object has
no attribute 'option'

next message when first item is solved:
Feb 21 01:06:41 pcikf26 nxdialog[18569]: ERROR cli:68 Caught exception
Feb 21 01:06:41 pcikf26 nxdialog[18569]: Traceback (most recent call last):
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/cli.py", line 62, in Main
Feb 21 01:06:41 pcikf26 nxdialog[18569]:     self.Run()
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 254, in Run
Feb 21 01:06:41 pcikf26 nxdialog[18569]:    
ShowYesNoSuspendBox(message_caption,
message_text))
Feb 21 01:06:41 pcikf26 nxdialog[18569]:   File
"/usr/lib/python2.4/site-packages/neatx/app/nxdialog.py", line 166, in
HandleSessionAction
Feb 21 01:06:41 pcikf26 nxdialog[18569]:     logging.info("Disconnecting from
session, sending SIGHUP to %s", ppid)
Feb 21 01:06:41 pcikf26 nxdialog[18569]: NameError: global name 'ppid' is
not defined

This secound issue is the following:
After first issue is fixed, the disconnect button of the nxdialog does not
work.

The patch attached solves both problems.

Greets,
Theodor

Original issue reported on code.google.com by erazo...@gmail.com on 24 Feb 2010 at 12:05

Attachments:

GoogleCodeExporter commented 9 years ago
Hey, this was fixed in http://code.google.com/p/neatx/source/detail?r=59 . 
Would you 
consider signing a CLA 
(http://code.google.com/p/neatx/wiki/DeveloperGuidelines)? That 
way we can accept future patches from you without jumping through the hoops 
then. 
Thanks,
Steve

Original comment by kormat on 5 Mar 2010 at 1:15