Custom Query (230 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (49 - 51 of 230)

Ticket Resolution Summary Owner Reporter
#221 wontfix NX fails to start Antoine Martin alphapapa
Description

This was mentioned in #198 but it seems like it was overlooked.

NXAGENT - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '8227'.
Session: Starting session at 'Wed Oct  3 00:44:12 2012'.
Error: Aborting session with 'Unable to open display 'nx/nx,options=/home/me/.winswitch/server/sessions/72/nx_options.txt:72''.
Session: Aborting session at 'Wed Oct  3 00:44:12 2012'.
Session: Session aborted at 'Wed Oct  3 00:44:12 2012'.

Why is all that extra stuff being sent to NX for the display, instead of it just being ":72"?

winswitch:
  Installed: 0.12.16-4
  Candidate: 0.12.16-4
  Version table:
 *** 0.12.16-4 0
        500 http://winswitch.org/ precise/main i386 Packages
        100 /var/lib/dpkg/status
#13 invalid NX no actor bug... workaround Antoine Martin Antoine Martin
Description

If an NX session does not have an actor and it is still connected somewhere (this should not happen... but it does), we should wait a bit then force the nxagent to disconnect (send kill -1)

#267 worksforme NX not working on windows Nathan Rennie-Waldock Nathan Rennie-Waldock
Description

Xming is failing to launch because one of the PATH variables is unicode and Python 2.7 doesn't accept unicode there.

[EE] 2014/18/09 15:15:47.722000 process_util.exec_nopipe(['C:\\Program Files (x86)\\WinSwitch\\Xming\\Xming.exe', ':6066', '-ac', '-multiwindow', '-clipboard', '-notrayicon'],None,None,False,False,None,True)
[ee] 2014/18/09 15:15:47.722000 Traceback (most recent call last):
[ee] 2014/18/09 15:15:47.722000   File "winswitch\util\process_util.pyc", line 119, in exec_nopipe
[ee] 2014/18/09 15:15:47.722000   File "subprocess.pyc", line 709, in __init__
[ee] 2014/18/09 15:15:47.722000   File "subprocess.pyc", line 957, in _execute_child
[ee] 2014/18/09 15:15:47.722000 TypeError: environment can only contain strings
[DD] 2014/18/09 15:15:47.722000 Xming_Util.start_Xming_display() xming process failed... None
[II] 2014/18/09 15:15:47.732000 NXClientUtil.Xming_err(coult not start Xming process)

Fix would be to add for k, v in env.items(): env[k] = str(v) to exec_nopipe in winswitch/util/process_util.py

I've tested this in a Python shell since I'm not set up to build WinSwitch?.

>>> from subprocess import Popen
>>> env = {'GST_PLUGIN_PATH': u'C:\\Program Files (x86)\\WinSwitch\\gstreamer-0.10'}
>>> Popen("notepad", env=env)

Traceback (most recent call last):
  File "<pyshell#40>", line 1, in <module>
    Popen("notepad", env=env)
  File "C:\Portable Python 2.7.6.1\App\lib\subprocess.py", line 709, in __init__
    errread, errwrite)
  File "C:\Portable Python 2.7.6.1\App\lib\subprocess.py", line 957, in _execute_child
    startupinfo)
TypeError: environment can only contain strings

>>> for k, v in env.items(): env[k] = str(v)

	
>>> Popen("notepad", env=env)
<subprocess.Popen object at 0x02818410>
Note: See TracQuery for help on using queries.