Open sebastien-bratieres opened 11 years ago
So is putty really the only way to solve this problem when using Windows? I thought I might be able to avoid this problem by using powershell, but I was wrong:
Now I have the almost same problem. How did you solve it?
I never solved it. Just gave up. :cry:
Only three of us faced this problem? I google it. But what I found about it was only this page. How do windows-users use the Starcluster???
Recently I encountered the same problem, too.
Have you solved this problem now? @sebastien-bratieres, @rsignell-usgs , @procaddie .
Windows 8 Enterprise. Using cmd.exe from Windows as the command shell.
Workaround: Putty.
C:\Users\bratieress>starcluster start -c testcluster mytestcluster StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3) Software Tools for Academics and Researchers (STAR) Please submit bug reports to starcluster@mit.edu
============ ssh to master node ===============
C:\Users\bratieress>starcluster sshmaster mytestcluster StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3) Software Tools for Academics and Researchers (STAR) Please submit bug reports to starcluster@mit.edu
eval $(resize) root@master:~# eval $(resize) ←7←[r←[999;999H←[6nls resize: unknown character, exiting. root@master:~# s s: command not found root@master:~# ls ls root@master:~# ls -al ls -al total 28 drwx------ 4 root root 4096 May 23 16:30 ←[0m←[01;34m.←[0m drwxr-xr-x 25 root root 4096 May 23 16:30 ←[01;34m..←[0m -rw-r--r-- 1 root root 17 Jan 9 07:18 .bash_aliases -rw-r--r-- 1 root root 3106 Apr 19 2012 .bashrc drwx------ 2 root root 4096 May 23 16:30 ←[01;34m.cache←[0m -rw-r--r-- 1 root root 140 Apr 19 2012 .profile drwx------ 2 root root 4096 May 23 16:31 ←[01;34m.ssh←[0m root@master:~# exit exit logout
* EOF *
exit Traceback (most recent call last): File "C:\Python27\Scripts\starcluster-script.py", line 8, in
load_entry_point('starcluster==0.93.3', 'console_scripts', 'starcluster')()
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
li.py", line 312, in main
StarClusterCLI().main()
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
li.py", line 255, in main
sc.execute(args)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
ommands\sshmaster.py", line 36, in execute
^C
C:\Users\bratieress> forward_x11=self.opts.forward_x11)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
luster.py", line 115, in ssh_to_master
forward_x11=forward_x11)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
luster.py", line 1918, in ssh_to_master
forward_x11=forward_x11)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\c
luster.py", line 1926, in ssh_to_node
return node.shell(user=user, forward_x11=forward_x11, command=command)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\n
ode.py", line 931, in shell
self.ssh.interactive_shell(user=user)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\s
shutilsinit.py", line 626, in interactive_shell
self.switch_user(orig_user)
File "C:\Python27\lib\site-packages\starcluster-0.93.3-py2.7.egg\starcluster\s
shutilsinit.py", line 609, in switch_user
log.debug("already connected as user %s" % user)
File "C:\Python27\lib\logginginit.py", line 1137, in debug
self._log(DEBUG, msg, args, **kwargs)
File "C:\Python27\lib\logginginit.py", line 1268, in _log
self.handle(record)
File "C:\Python27\lib\logginginit.py", line 1278, in handle
self.callHandlers(record)
File "C:\Python27\lib\logginginit.py", line 1318, in callHandlers
hdlr.handle(record)
File "C:\Python27\lib\logginginit.py", line 749, in handle
self.emit(record)
File "C:\Python27\lib\logging\handlers.py", line 76, in emit
if self.shouldRollover(record):
File "C:\Python27\lib\logging\handlers.py", line 155, in shouldRollover
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature
KeyboardInterrupt