[Tangelo-users] fedora23 / tangelo demo good / clique not active

Rollo Moore rollo.moore at nihr.ac.uk
Thu Feb 18 17:54:30 EST 2016


Hi roni,
I paste in my second session which includes a 'rebuild' as i thought it
worth trying to build Clique _after_ i had 'built' Tangelo.
I will paste in the (logically) first session (in this mail after the
second one) and it includes the Tangelo demo (succesfully running), then
below that the Clique ( my attempt to invoke it with 'gulp serve'). The
snip includes quite a bit of server message from Tangelo whilst i was
trying out different pages in the demo.
Below that is the few attempts at reaching Clique (as you can see from the
message including localhost:3000).
Much appreciated - if you would prefer me to share this (from google drive
or any other platform) do let me know, I don't want to clog up the mail
forum unnecessarily.

cheers!
rollo

Pastes:
second session: including 'build' notes

[rollom at Tosh18A ~]$ su
Password:
[root at Tosh18A rollom]# cd
[root at Tosh18A ~]# ls
anaconda-ks.cfg  node-js  tangelo
[root at Tosh18A ~]# cd node-js/
[root at Tosh18A node-js]# ls
clique-master  clique-master.zip  node_modules
[root at Tosh18A node-js]# cd clique-master/
[root at Tosh18A clique-master]# ls
bower_components  clique.min.js        LICENSE       tangelo
bower.json        clique-views.js      node_modules  tangelo-config.yaml
build             clique-views.min.js  package.json
clique            data                 README.md
clique.js         gulpfile.js          src
[root at Tosh18A clique-master]# gulp
[21:21:06] Using gulpfile ~/node-js/clique-master/gulpfile.js
[21:21:06] Starting 'lint'...
[21:21:06] Starting 'style'...
[21:21:07] Starting 'stylus'...
[21:21:07] Starting 'uglify-index'...
[21:21:07] Starting 'jade-templates'...
[21:21:07] Starting 'uglify-clique'...
[21:21:07] Starting 'jade'...
[21:21:07] Starting 'assets'...
[21:21:07] Finished 'assets' after 2.62 ms
[21:21:07] Starting 'bower'...
[21:21:07] Using cwd:  /root/node-js/clique-master
[21:21:07] Using bower dir:  ./bower_components
[21:21:11] Finished 'stylus' after 3.57 s
[21:21:11] Finished 'jade' after 3.66 s
[21:21:12] Finished 'jade-templates' after 4.62 s
[21:21:12] Starting 'uglify-templates'...
[21:21:12] Finished 'uglify-templates' after 7.7 ms
[21:21:12] Finished 'uglify-index' after 4.68 s
[21:21:14] Finished 'lint' after 7.91 s
[21:21:14] Finished 'style' after 7.89 s
[21:21:14] Finished 'uglify-clique' after 7.31 s
[21:21:14] Starting 'uglify'...
[21:21:14] Finished 'uglify' after 7.68 μs
[21:21:19] Finished 'bower' after 12 s
[21:21:19] Starting 'default'...
[21:21:19] Finished 'default' after 11 μs
[root at Tosh18A clique-master]# comment :::run with ' gulp serve '

[root at Tosh18A clique-master]# gulp serve
[21:23:36] Using gulpfile ~/node-js/clique-master/gulpfile.js
[21:23:36] Starting 'serve'...
[16/Feb/2016:21:23:38] TANGELO Logging level: INFO (20)
[16/Feb/2016:21:23:38] TANGELO Using configuration file
/root/node-js/clique-master/tangelo-config.yaml
[16/Feb/2016:21:23:38] TANGELO Access authentication enabled
[16/Feb/2016:21:23:38] TANGELO Sessions enabled
[16/Feb/2016:21:23:38] TANGELO Directory content serving disabled
[16/Feb/2016:21:23:38] TANGELO Web service source code serving disabled
[16/Feb/2016:21:23:38] TANGELO Hostname: localhost
[16/Feb/2016:21:23:38] TANGELO Port: 3000
[16/Feb/2016:21:23:38] TANGELO Privilege drop enabled (if necessary)
[16/Feb/2016:21:23:38] TANGELO     User: nobody
[16/Feb/2016:21:23:38] TANGELO     Group: nobody
[16/Feb/2016:21:23:38] TANGELO HTTPS disabled
[16/Feb/2016:21:23:38] TANGELO Serving content from
/root/node-js/clique-master/build/site
[16/Feb/2016:21:23:38] PLUGIN Loading plugin tangelo (from
/usr/lib/python2.7/site-packages/tangelo/pkgdata/plugin/tangelo)
[16/Feb/2016:21:23:38] TANGELO Plugin tangelo loaded
[16/Feb/2016:21:23:38] PLUGIN Loading plugin mongo (from
/root/node-js/clique-master/tangelo/mongo)
[16/Feb/2016:21:23:38] PLUGIN     ...loading python module content
[16/Feb/2016:21:23:38] TANGELO Plugin mongo loaded
[16/Feb/2016:21:23:38] TANGELO Performing privilege drop
[16/Feb/2016:21:23:38] ENGINE Bus STARTING
[16/Feb/2016:21:23:38] ENGINE Started monitor thread '_TimeoutMonitor'.
[16/Feb/2016:21:23:39] ENGINE Serving on http://localhost:3000
[16/Feb/2016:21:23:39] ENGINE Started as uid: 'root' gid: 'root'
[16/Feb/2016:21:23:39] ENGINE Running as uid: 'nobody' gid: 'nobody'
[16/Feb/2016:21:23:39] ENGINE umask not set
[16/Feb/2016:21:23:39]  Starting WebSocket processing
[16/Feb/2016:21:23:39] ENGINE Bus STARTED
[16/Feb/2016:21:23:39] TANGELO Server is running

pastes: first attempt :  run with gulp serve (build output note included
here)

[root at Tosh18A clique-master]# gulp serve
[22:13:29] Using gulpfile ~/node-js/clique-master/gulpfile.js
[22:13:29] Starting 'serve'...
[15/Feb/2016:22:13:30] TANGELO Logging level: INFO (20)
[15/Feb/2016:22:13:30] TANGELO Using configuration file
/root/node-js/clique-master/tangelo-config.yaml
[15/Feb/2016:22:13:30] TANGELO Access authentication enabled
[15/Feb/2016:22:13:30] TANGELO Sessions enabled
[15/Feb/2016:22:13:30] TANGELO Directory content serving disabled
[15/Feb/2016:22:13:30] TANGELO Web service source code serving disabled
[15/Feb/2016:22:13:30] TANGELO Hostname: localhost
[15/Feb/2016:22:13:30] TANGELO Port: 3000
[15/Feb/2016:22:13:30] TANGELO Privilege drop enabled (if necessary)
[15/Feb/2016:22:13:30] TANGELO     User: nobody
[15/Feb/2016:22:13:30] TANGELO     Group: nobody
[15/Feb/2016:22:13:30] TANGELO HTTPS disabled
[15/Feb/2016:22:13:30] TANGELO Serving content from
/root/node-js/clique-master/build/site
[15/Feb/2016:22:13:30] PLUGIN Loading plugin tangelo (from
/usr/lib/python2.7/site-packages/tangelo/pkgdata/plugin/tangelo)
[15/Feb/2016:22:13:30] TANGELO Plugin tangelo loaded
[15/Feb/2016:22:13:30] PLUGIN Loading plugin mongo (from
/root/node-js/clique-master/tangelo/mongo)
[15/Feb/2016:22:13:30] PLUGIN     ...loading python module content
[15/Feb/2016:22:13:30] TANGELO Plugin mongo loaded
[15/Feb/2016:22:13:30] TANGELO Performing privilege drop
[15/Feb/2016:22:13:30] ENGINE Bus STARTING
[15/Feb/2016:22:13:30] ENGINE Started monitor thread '_TimeoutMonitor'.
[15/Feb/2016:22:13:30] ENGINE Serving on http://localhost:3000
[15/Feb/2016:22:13:30] ENGINE Started as uid: 'root' gid: 'root'
[15/Feb/2016:22:13:30] ENGINE Running as uid: 'nobody' gid: 'nobody'
[15/Feb/2016:22:13:30] ENGINE umask not set
[15/Feb/2016:22:13:30]  Starting WebSocket processing
[15/Feb/2016:22:13:30] ENGINE Bus STARTED
[15/Feb/2016:22:13:30] TANGELO Server is running
127.0.0.1 - - [15/Feb/2016:22:14:37] "GET / HTTP/1.1" 404 731 ""
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:14:38] "GET /favicon.ico HTTP/1.1" 200 2006
"" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:39] "GET /plugin/stream/examples HTTP/1.1"
303 136 "http://localhost:8080/" "Mozilla/5.0 (X11; Fedora; Linux x86_64;
rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:39] "GET
/plugin/stream/examples/index.html HTTP/1.1" 304 - "http://localhost:8080/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:39] "GET /plugin/stream/stream.js
HTTP/1.1" 304 - "http://localhost:8080/plugin/stream/examples/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:39] "GET /plugin/tangelo/tangelo.js
HTTP/1.1" 304 - "http://localhost:8080/plugin/stream/examples/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:39] "GET /plugin/stream/examples/index.js
HTTP/1.1" 304 - "http://localhost:8080/plugin/stream/examples/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/start/plugin/stream/examples/primes HTTP/1.1" 200 43 "
http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 1
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 1
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 1
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 1
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:40] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:41] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:41] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:41] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:42] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:43] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:44] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:45] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:46] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:15:47] "POST
/plugin/stream/stream/next/65f846542a8dbffcc83d55e545483611 HTTP/1.1" 200 2
"http://localhost:8080/plugin/stream/examples/" "Mozilla/5.0 (X11; Fedora;
Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:16:18] "GET
/plugin/vis/examples/parallelcoords HTTP/1.1" 303 160 "
http://localhost:8080/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0)
Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:16:18] "GET
/plugin/vis/examples/parallelcoords/index.html HTTP/1.1" 200 2924 "
http://localhost:8080/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0)
Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:16:18] "GET
/plugin/vis/examples/parallelcoords/index.js HTTP/1.1" 200 4189 "
http://localhost:8080/plugin/vis/examples/parallelcoords/" "Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:16:18] "GET /plugin/vis/parallelCoords.js
HTTP/1.1" 200 5118 "
http://localhost:8080/plugin/vis/examples/parallelcoords/" "Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:16:19] "GET
/plugin/vis/examples/parallelcoords/cars.json HTTP/1.1" 200 43213 "
http://localhost:8080/plugin/vis/examples/parallelcoords/" "Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:17:12] "GET /plugin/vis/examples/correlation
HTTP/1.1" 303 154 "http://localhost:8080/" "Mozilla/5.0 (X11; Fedora; Linux
x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:17:12] "GET
/plugin/vis/examples/correlation/index.html HTTP/1.1" 200 2207 "
http://localhost:8080/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0)
Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:17:12] "GET /plugin/vis/correlationPlot.js
HTTP/1.1" 200 10603 "http://localhost:8080/plugin/vis/examples/correlation/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:17:12] "GET
/plugin/vis/examples/correlation/index.js HTTP/1.1" 200 2853 "
http://localhost:8080/plugin/vis/examples/correlation/" "Mozilla/5.0 (X11;
Fedora; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:17:12] "GET /plugin/tangelo/tangelo.js
HTTP/1.1" 304 - "http://localhost:8080/plugin/vis/examples/correlation/"
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
^Z
[2]+  Stopped                 gulp serve
[root at Tosh18A clique-master]# bg
[2]+ gulp serve &
[root at Tosh18A clique-master]# Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/ws4py/manager.py", line 252, in run
    for fd in polled:
  File "/usr/lib/python2.7/site-packages/ws4py/manager.py", line 138, in
poll
    events = self.poller.poll(timeout=self.timeout)
IOError: [Errno 4] Interrupted system call

jobs
[1]-  Running                 tangelo --examples &  (wd: ~/tangelo)
[2]+  Stopped                 gulp serve
[root at Tosh18A clique-master]# ps
  PID TTY          TIME CMD
 6761 pts/1    00:00:00 su
 6769 pts/1    00:00:00 bash
 7348 pts/1    00:00:03 gulp
 7357 pts/1    00:00:00 clique
 7404 pts/1    00:00:00 ps
[root at Tosh18A clique-master]# jobs
[1]-  Running                 tangelo --examples &  (wd: ~/tangelo)
[2]+  Stopped                 gulp serve
[root at Tosh18A clique-master]# jobs --help
bash: jobs: --: invalid option
jobs: usage: jobs [-lnprs] [jobspec ...] or jobs -x command [args]
[root at Tosh18A clique-master]# jobs -2 fg
bash: jobs: -2: invalid option
jobs: usage: jobs [-lnprs] [jobspec ...] or jobs -x command [args]
[root at Tosh18A clique-master]# bg 2
[2]+ gulp serve &
[root at Tosh18A clique-master]# jobs
[1]-  Running                 tangelo --examples &  (wd: ~/tangelo)
[2]+  Stopped                 gulp serve
[root at Tosh18A clique-master]# jobs
[1]-  Running                 tangelo --examples &  (wd: ~/tangelo)
[2]+  Stopped                 gulp serve
[root at Tosh18A clique-master]# fg 2
gulp serve
127.0.0.1 - - [15/Feb/2016:22:26:54] "GET / HTTP/1.1" 404 731 ""
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"
127.0.0.1 - - [15/Feb/2016:22:27:13] "GET / HTTP/1.1" 404 731 ""
"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0) Gecko/20100101
Firefox/41.0"


On 17 February 2016 at 12:55, Roni Choudhury <roni.choudhury at kitware.com>
wrote:

> Hi Rollo-
>
> Can you show me the command you used to launch Clique? This will help me
> diagnose what's happening.
>
> roni
>
> On Wed, Feb 17, 2016 at 7:45 AM Rollo Moore <rollo.moore at nihr.ac.uk>
> wrote:
>
>> greetings, Roni et al;
>>
>> Tangelo seems to bring a great potential - thank you.
>>
>> I have installed clique first then tangelo; however, clique demo does not
>> work (it gives 404 error and message / not found  (page served by PyCherry
>> (to be confirmed))
>>
>> Basically, should i 'start again' as in - install everything (girder,
>> resonant, etc )?
>>
>> I have _basic_ linux knowledge.
>>
>> all the best
>> Rollo
>>
>> --
>>
>>
>>
>> Confidential information may be contained in this message.If you are not
>> the intended recipient, any reading, printing, storage, disclosure, copying
>> or any other action taken in respect of this e-mail is prohibited and may
>> be unlawful. If you are not the intended recipient, please notify the
>> sender immediately by using the reply function and then permanently delete
>> what you have received._______________________________________________
>> Tangelo-users mailing list
>> Tangelo-users at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/tangelo-users
>>
>


-- 



* Rollo Moore*

  |
 [image: NIHR Logo]
------------------------------

 *e.* rollo.moore at nihr.ac.uk

-- 
Confidential information may be contained in this message.If you are not 
the intended recipient, any reading, printing, storage, disclosure, copying 
or any other action taken in respect of this e-mail is prohibited and may 
be unlawful. If you are not the intended recipient, please notify the 
sender immediately by using the reply function and then permanently delete 
what you have received.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/tangelo-users/attachments/20160218/47ac8d09/attachment-0001.html>


More information about the Tangelo-users mailing list