[Sciviews-help] Komodo-Edit / sciviews-k / svUnit trouble: update
Philippe Grosjean
phgrosjean at sciviews.org
Fri Aug 13 16:25:39 CEST 2010
Hello Claudia,
It looks like you may have a zombie Komodo process. In this case, when
you start Komodo again it cannot create the server on port 7052 because
it is already used, but you see it in netstat (in fact, you see the
zombie there).
There could be perhaps other explanations, but I would test that one
first. However, that could occur once, but not systematically...
although, I don't trust completely the complex starting procedure of
Komodo, especially on Linux or Mac OS X.
This also explains that you can use most features of Sciviews-K/R from
within Komodo, which uses the R socket server that runs apparently OK on
your machine. However, svUnit uses Komodo's server which is the problem
here.
Best,
Philippe Grosjean
..............................................<°}))><........
) ) ) ) )
( ( ( ( ( Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( ( Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons University, Belgium
( ( ( ( (
..............................................................
On 13/08/10 14:47, Claudia Beleites wrote:
> Dear sciviewers:
>
> Maybe you can help me with this additional information I just found:
>
> the "Watch pystderr.log" says:
>
> /usr/local/share/Komodo-Edit-5/lib/mozilla/python/komodo/Crypto/Hash/SHA.py:6:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
> from sha import *
> /usr/local/share/Komodo-Edit-5/lib/mozilla/python/komodo/Crypto/Hash/MD5.py:6:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> from md5 import *
> [2010-08-13 14:37:24,587] [ERROR] SciViews-K: SciViews-K cannot open a
> server socket on port 7052.
> Make sure the port is not already used by another Komodo instance
> or choose another port in the preferences and restart Komodo
> -- EXCEPTION START --
> + QueryInterface (function) 3 lines
> + message (string) 'Component returned failure code: 0x80004005
> (NS_ERROR_FAILURE) [nsIServerSocket.init]'
> + result (number) 2147500037
> + name (string) 'NS_ERROR_FAILURE'
> + filename (string) 'chrome://sciviewsk/content/js/socket.js'
> + lineNumber (number) 335
> + columnNumber (number) 0
> + location (object) JS frame :: chrome://sciviewsk/content/js/socket.js
> :: anonymous :: line 335
> | + QueryInterface (function) 3 lines
> | + language (number) 2
> | + languageName (string) 'JavaScript'
> | + filename (string) 'chrome://sciviewsk/content/js/socket.js'
> | + name (string) 'anonymous'
> | + lineNumber (number) 335
> | + sourceLine (object) null
> | + caller (object) null
> | *
> + inner (object) null
> | *
> + data (object) null
> | *
> + initialize (function) 3 lines
> *
> -- EXCEPTION END --
>
> [2010-08-13 14:37:27,703] [ERROR] SciViews-K: SciViews-K cannot open a
> server socket on port 7052.
> Make sure the port is not already used by another Komodo instance
> or choose another port in the preferences and restart Komodo
> -- EXCEPTION START --
> + QueryInterface (function) 3 lines
> + message (string) 'Component returned failure code: 0x80004005
> (NS_ERROR_FAILURE) [nsIServerSocket.init]'
> + result (number) 2147500037
> + name (string) 'NS_ERROR_FAILURE'
> + filename (string) 'chrome://sciviewsk/content/js/socket.js'
> + lineNumber (number) 335
> + columnNumber (number) 0
> + location (object) JS frame :: chrome://sciviewsk/content/js/socket.js
> :: anonymous :: line 335
> | + QueryInterface (function) 3 lines
> | + language (number) 2
> | + languageName (string) 'JavaScript'
> | + filename (string) 'chrome://sciviewsk/content/js/socket.js'
> | + name (string) 'anonymous'
> | + lineNumber (number) 335
> | + sourceLine (object) null
> | + caller (object) JS frame ::
> chrome://komodo/content/project/peMacro.js :: anonymous :: line 768
> | *
> + inner (object) null
> | *
> + data (object) null
> | *
> + initialize (function) 3 lines
> *
> -- EXCEPTION END --
>
> The second EXception appears when I go on Start R.
>
> However:
> cb at fs-desktop:~$ netstat -ap | egrep "/komodo|/R|PID"
> (Not all processes could be identified, non-owned process info
> will not be shown, you would have to be root to see it all.)
> Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
> tcp 0 0 *:7052 *:* LISTEN 6855/komodo-bin
> tcp 0 0 *:8888 *:* LISTEN 6912/R
> tcp 0 0 localhost:25625 *:* LISTEN 6912/R
> Proto RefCnt Flags Type State I-Node PID/Program name Path
> unix 2 [ ACC ] STREAM LISTENING 122257 6855/komodo-bin
> /tmp/orbit-cb/linc-1ac7-0-2d982ae8ab41b
> unix 3 [ ] STREAM CONNECTED 122810 6912/R
> unix 3 [ ] STREAM CONNECTED 122288 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122286 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122270 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122260 6855/komodo-bin
> /tmp/orbit-cb/linc-1ac7-0-2d982ae8ab41b
> unix 3 [ ] STREAM CONNECTED 122255 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122253 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122251 6855/komodo-bin
> unix 3 [ ] STREAM CONNECTED 122246 6855/komodo-bin
>
> Thanks a lot,
>
> Claudia
>
More information about the Sciviews-help
mailing list