Votegame WAMPlet Help

#1

I’m trying to put together a demo for a presentation at a local user group meeting. I’m going to talk about Crossbar.io and WAMP.

I have access to the website demos and I’ve also installed the python:hello template on my local machine.

But what I’d really like to do is live demo the AutobahnPython votegame. I’ve installed this on my local machine and it works.

Now I want to deploy to my digital ocean Ubuntu instance.

I’ve installed pypy and crossbar per instructions.

I’ve copied the votegame directory to /root on Ubuntu instance.

The topmost votegame directory contains the config.json file with the good settings.

I’m not sure what to do next.

Do I run crossbar init in this topmost votegame directory? Then crossbar start? I tried that and it says no WAMPlets in the evironment.

Also, the DNS for my ip address points to nownetworking.org. Once working what URL should the browsers point to?

Thank you for you help!

My best,

Jay

P.S. I edited the Wiki docs I read with some minor grammar corrections but otherwise the docs are great! : )

0 Likes

#2

Hi!

As is happens, current Crossbar contains a template for the votes demo. This allows you to set up two versions of the votes demo - one just using the browser (backend runs in a browser tab) and one with a Node.js backend.

These are not yet in the version available on PyPi, so you’ll need to clone the Crossbar.io GitHub repo (https://github.com/crossbario/crossbar) and then install from this:

In the Crossbar repo directory, go to the crossbar subdirectory, and in this do

python setup.py install

To set up the demo, do

crossbar init --template votes:browser --appdir votes

or

crossbar init --template votes:nodejs --appdir votes

depending on which version you want. This creates the subdirectory ‘votes’ which contains everything necessary to run the demo.

To start the demo, just go into the created directory and do

crossbar start

You can then access the demo under ‘http://localhost:8080’.

Just tested both on my machine - but let me know if you run into any trouble.

Regards,

Alex

···

2014-08-13 22:49 GMT+02:00 Jay Martin james....@gmail.com:

I’m trying to put together a demo for a presentation at a local user group meeting. I’m going to talk about Crossbar.io and WAMP.

I have access to the website demos and I’ve also installed the python:hello template on my local machine.

But what I’d really like to do is live demo the AutobahnPython votegame. I’ve installed this on my local machine and it works.

Now I want to deploy to my digital ocean Ubuntu instance.

I’ve installed pypy and crossbar per instructions.

I’ve copied the votegame directory to /root on Ubuntu instance.

The topmost votegame directory contains the config.json file with the good settings.

I’m not sure what to do next.

Do I run crossbar init in this topmost votegame directory? Then crossbar start? I tried that and it says no WAMPlets in the evironment.

Also, the DNS for my ip address points to nownetworking.org. Once working what URL should the browsers point to?

Thank you for you help!

My best,

Jay

P.S. I edited the Wiki docs I read with some minor grammar corrections but otherwise the docs are great! : )

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#3

Jay,

I'm trying to put together a demo for a presentation at a local user
group meeting. I'm going to talk about Crossbar.io and WAMP.

Awesome!!

I have access to the website demos and I've also installed the
python:hello template on my local machine.

But what I'd really like to do is live demo the AutobahnPython votegame
<https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/wamplet/votegame>.

Let me add a Crossbar.io app template for this.

As Alex mentioned, there are templates for Votegame already, but only JS backend. I'll add the Py backend.

You'll then simply can do

cd /tmp/somedir
crossbar init --template votes:python
crossbar start

I've installed this on my local machine and it works.

Now I want to deploy to my digital ocean Ubuntu instance.

I've installed pypy and crossbar per instructions.

I've copied the votegame directory to /root on Ubuntu instance.

The topmost votegame directory contains theconfig.json
<https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/wamplet/votegame/config.json>
file with the good settings.

I'm not sure what to do next.

Do I run crossbar init in this topmost votegame directory? Then crossbar
start? I tried that and it says no WAMPlets in the evironment.

Can you send me the output of

ls -la

from within the directory where copied things into? It's most likely simply a config / dir structure issue.

Also, the DNS for my ip address points to nownetworking.org. Once
working what URL should the browsers point to?

With most of the demos, Crossbar.io is configured to serve static Web assets on port 8080 and have WebSocket/WAMP on path "ws".

Assuming that, and further assumed you don't run Crossbar.io configured for TLS, you would point browsers to

http://nownetworking.org:8080

The browser will fetch "index.html" then. That HTML will the load the demo's JS file.

In that JS file a WebSocket connection will then open

ws://nownetworking.org:8080/ws

···

Am 13.08.2014 22:49, schrieb Jay Martin:

==

I'll add the template. That makes it easier.

Thank you for you help!

My best,

Jay

P.S. I edited the Wiki docs I read with some minor grammar corrections
but otherwise the docs are great! : )

Oh, thanks!!

I've deployed your corrections to the live web site.

Also thanks for feedback on docs in general. This is good to know, since I am kinda blind rgd where users might get stuck;)

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#4

Jay,

alright, just published

https://pypi.python.org/pypi/crossbar/0.9.7-4

that includes an app template for the Votes demo with a Python backend.

Could please try the following?

pip install -U crossbar
cd somedir
crossbar init --template votes:python
crossbar start

Open browser at http://localhost:8080

Thanks!
Tobias

···

Am 13.08.2014 22:49, schrieb Jay Martin:

I'm trying to put together a demo for a presentation at a local user
group meeting. I'm going to talk about Crossbar.io and WAMP.

I have access to the website demos and I've also installed the
python:hello template on my local machine.

But what I'd really like to do is live demo the AutobahnPython votegame
<https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/wamplet/votegame>.
I've installed this on my local machine and it works.

Now I want to deploy to my digital ocean Ubuntu instance.

I've installed pypy and crossbar per instructions.

I've copied the votegame directory to /root on Ubuntu instance.

The topmost votegame directory contains theconfig.json
<https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/wamplet/votegame/config.json>
file with the good settings.

I'm not sure what to do next.

Do I run crossbar init in this topmost votegame directory? Then crossbar
start? I tried that and it says no WAMPlets in the evironment.

Also, the DNS for my ip address points to nownetworking.org. Once
working what URL should the browsers point to?

Thank you for you help!

My best,

Jay

P.S. I edited the Wiki docs I read with some minor grammar corrections
but otherwise the docs are great! : )

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#5

Tobias, I’ve included two sets of slightly differing outputs, one from an Ubuntu Server, one local system. I’ll reply to your previous post’s question seperately. Thanks again!

Here’s the output of crossbar start on my Ubuntu server:

root@crossbar:~/autobahn-votegame# crossbar start

2014-08-14 12:37:25-0400 [Controller 29068] Log opened.

2014-08-14 12:37:25-0400 [Controller 29068] ============================== Crossbar.io ==============================

2014-08-14 12:37:25-0400 [Controller 29068] Crossbar.io 0.9.7-4 starting

2014-08-14 12:37:28-0400 [Controller 29068] Running on PyPy using EPollReactor reactor

2014-08-14 12:37:28-0400 [Controller 29068] Starting from node directory /root/autobahn-votegame/.crossbar

2014-08-14 12:37:28-0400 [Controller 29068] Starting from local configuration ‘/root/autobahn-votegame/.crossbar/config.json’

2014-08-14 12:37:28-0400 [Controller 29068] No WAMPlets detected in enviroment.

2014-08-14 12:37:28-0400 [Controller 29068] Starting Router with ID ‘worker1’ …

2014-08-14 12:37:28-0400 [Router 29079] Log opened.

2014-08-14 12:37:31-0400 [Router 29079] Running under PyPy using EPollReactor reactor

2014-08-14 12:37:32-0400 [Router 29079] Entering event loop …

2014-08-14 12:37:32-0400 [Controller 29068] Router with ID ‘worker1’ and PID 29079 started

2014-08-14 12:37:32-0400 [Controller 29068] Router ‘worker1’: PYTHONPATH extended

2014-08-14 12:37:32-0400 [Controller 29068] Router ‘worker1’: realm ‘realm1’ started

2014-08-14 12:37:32-0400 [Controller 29068] Router ‘worker1’: role ‘role1’ started on realm ‘realm1’

2014-08-14 12:37:32-0400 [Router 29079] VotesBackend: 3 procedures registered!

2014-08-14 12:37:32-0400 [Controller 29068] Router ‘worker1’: component ‘component1’ started

2014-08-14 12:37:32-0400 [Controller 29068] Traceback (most recent call last):

2014-08-14 12:37:32-0400 [Controller 29068] File “/root/pypy-2.3.1-linux64/site-packages/crossbar/controller/node.py”, line 188, in run_node_config

2014-08-14 12:37:32-0400 [Controller 29068] yield self._run_node_config(config)

2014-08-14 12:37:32-0400 [Controller 29068] ApplicationError: ApplicationError(‘wamp.error.runtime_error’, args = (‘setProtocolOptions() got 3 unexpected keyword arguments’,), kwargs = {})

2014-08-14 12:37:32-0400 [Controller 29068] Main loop terminated.

And this is the output on my local system (mac):

(pypy-env)jay-air.airjay.crossbar-votegame.$ crossbar start

2014-08-14 12:58:24-0400 [Controller 40023] Log opened.

2014-08-14 12:58:24-0400 [Controller 40023] ============================== Crossbar.io ==============================

2014-08-14 12:58:24-0400 [Controller 40023] Crossbar.io 0.9.7-4 starting

2014-08-14 12:58:24-0400 [Controller 40023] Running on PyPy using KQueueReactor reactor

2014-08-14 12:58:24-0400 [Controller 40023] Starting from node directory /Users/airjay/crossbar-votegame/.crossbar

2014-08-14 12:58:24-0400 [Controller 40023] Starting from local configuration ‘/Users/airjay/crossbar-votegame/.crossbar/config.json’

2014-08-14 12:58:24-0400 [Controller 40023] Warning, could not set process title (setproctitle not installed)

2014-08-14 12:58:24-0400 [Controller 40023] Warning: process utilities not available

2014-08-14 12:58:24-0400 [Controller 40023] No WAMPlets detected in enviroment.

2014-08-14 12:58:24-0400 [Controller 40023] Starting Router with ID ‘worker1’ …

2014-08-14 12:58:25-0400 [Router 40024] Log opened.

2014-08-14 12:58:25-0400 [Router 40024] Warning: could not set worker process title (setproctitle not installed)

2014-08-14 12:58:25-0400 [Router 40024] Running under PyPy using KQueueReactor reactor

2014-08-14 12:58:26-0400 [Router 40024] Entering event loop …

2014-08-14 12:58:26-0400 [Router 40024] Warning: process utilities not available

2014-08-14 12:58:26-0400 [Controller 40023] Router with ID ‘worker1’ and PID 40024 started

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: PYTHONPATH extended

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: realm ‘realm1’ started

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: role ‘role1’ started on realm ‘realm1’

2014-08-14 12:58:26-0400 [Router 40024] VotesBackend: 3 procedures registered!

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: component ‘component1’ started

2014-08-14 12:58:26-0400 [Controller 40023] Traceback (most recent call last):

2014-08-14 12:58:26-0400 [Controller 40023] File “/Users/airjay/pypy-env/site-packages/crossbar/controller/node.py”, line 188, in run_node_config

2014-08-14 12:58:26-0400 [Controller 40023] yield self._run_node_config(config)

2014-08-14 12:58:26-0400 [Controller 40023] ApplicationError: ApplicationError(‘wamp.error.runtime_error’, args = (u’setProtocolOptions() got 3 unexpected keyword arguments’,), kwargs = {})

2014-08-14 12:58:26-0400 [Controller 40023] Main loop terminated.

···

On Thursday, August 14, 2014 10:27:29 AM UTC-4, Tobias Oberstein wrote:

Jay,

alright, just published

https://pypi.python.org/pypi/crossbar/0.9.7-4

that includes an app template for the Votes demo with a Python backend.

Could please try the following?

pip install -U crossbar

cd somedir

crossbar init --template votes:python

crossbar start

0 Likes

#6

Can you send me the output of

ls -la

from within the directory where copied things into? It’s most likely
simply a config / dir structure issue.

Tobias, here’s the output of ls -la:

rroot@crossbar:~/votegame# ls -la

total 40

drwxr-xr-x 4 root root 4096 Aug 13 16:41 .

drwx------ 9 root root 4096 Aug 14 12:35

-rw-r–r-- 1 root root 1869 Aug 13 16:16 config.json

drwxr-xr-x 2 root root 4096 Aug 13 16:41 .crossbar

-rw-r–r-- 1 root root 33 Aug 13 16:16 .gitignore

-rw-r–r-- 1 root root 164 Aug 13 16:16 Makefile

-rw-r–r-- 1 root root 33 Aug 13 16:16 MANIFEST.in

-rw-r–r-- 1 root root 1107 Aug 13 16:16 README.md

-rw-r–r-- 1 root root 363 Aug 13 16:16 setup.py

drwxr-xr-x 4 root root 4096 Aug 13 16:24 votegame

0 Likes

#7

I don’t have the warnings, but the rest of the output is virtually identical on my Mac.
Regards,

Roger

···

Op donderdag 14 augustus 2014 19:15:58 UTC+2 schreef Jay Martin:

Tobias, I’ve included two sets of slightly differing outputs, one from an Ubuntu Server, one local system. I’ll reply to your previous post’s question seperately. Thanks again!

And this is the output on my local system (mac):

(pypy-env)jay-air.airjay.crossbar-votegame.$ crossbar start

2014-08-14 12:58:24-0400 [Controller 40023] Log opened.

2014-08-14 12:58:24-0400 [Controller 40023] ============================== Crossbar.io ==============================

2014-08-14 12:58:24-0400 [Controller 40023] Crossbar.io 0.9.7-4 starting

2014-08-14 12:58:24-0400 [Controller 40023] Running on PyPy using KQueueReactor reactor

2014-08-14 12:58:24-0400 [Controller 40023] Starting from node directory /Users/airjay/crossbar-votegame/.crossbar

2014-08-14 12:58:24-0400 [Controller 40023] Starting from local configuration ‘/Users/airjay/crossbar-votegame/.crossbar/config.json’

2014-08-14 12:58:24-0400 [Controller 40023] Warning, could not set process title (setproctitle not installed)

2014-08-14 12:58:24-0400 [Controller 40023] Warning: process utilities not available

2014-08-14 12:58:24-0400 [Controller 40023] No WAMPlets detected in enviroment.

2014-08-14 12:58:24-0400 [Controller 40023] Starting Router with ID ‘worker1’ …

2014-08-14 12:58:25-0400 [Router 40024] Log opened.

2014-08-14 12:58:25-0400 [Router 40024] Warning: could not set worker process title (setproctitle not installed)

2014-08-14 12:58:25-0400 [Router 40024] Running under PyPy using KQueueReactor reactor

2014-08-14 12:58:26-0400 [Router 40024] Entering event loop …

2014-08-14 12:58:26-0400 [Router 40024] Warning: process utilities not available

2014-08-14 12:58:26-0400 [Controller 40023] Router with ID ‘worker1’ and PID 40024 started

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: PYTHONPATH extended

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: realm ‘realm1’ started

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: role ‘role1’ started on realm ‘realm1’

2014-08-14 12:58:26-0400 [Router 40024] VotesBackend: 3 procedures registered!

2014-08-14 12:58:26-0400 [Controller 40023] Router ‘worker1’: component ‘component1’ started

2014-08-14 12:58:26-0400 [Controller 40023] Traceback (most recent call last):

2014-08-14 12:58:26-0400 [Controller 40023] File “/Users/airjay/pypy-env/site-packages/crossbar/controller/node.py”, line 188, in run_node_config

2014-08-14 12:58:26-0400 [Controller 40023] yield self._run_node_config(config)

2014-08-14 12:58:26-0400 [Controller 40023] ApplicationError: ApplicationError(‘wamp.error.runtime_error’, args = (u’setProtocolOptions() got 3 unexpected keyword arguments’,), kwargs = {})

2014-08-14 12:58:26-0400 [Controller 40023] Main loop terminated.

0 Likes

#8

Hi Roger,

>2014-08-14 12:58:24-0400 [Controller 40023] Crossbar.io 0.9.7-4 starting
...

    2014-08-14 12:58:26-0400 [Controller 40023] File
    "/Users/airjay/pypy-env/site-packages/crossbar/controller/node.py",
    line 188, in run_node_config
    2014-08-14 12:58:26-0400 [Controller 40023] yield
    self._run_node_config(config)
    2014-08-14 12:58:26-0400 [Controller 40023] ApplicationError:
    ApplicationError('wamp.error.runtime_error', args =
    (u'setProtocolOptions() got 3 unexpected keyword arguments',),
    kwargs = {})
    2014-08-14 12:58:26-0400 [Controller 40023] Main loop terminated.

Uups. I forgot to update the dependency to new version of AutobahnPython in Crossbar;(

Could you please try again (I pushed new versions to PyPi):

pip install -U crossbar

That should give you Crossbar.io 0.9.7-5 and no errors.

Sorry for the hassles. Guess there is a price for moving fast ..

/Tobias

0 Likes

#9

Hi Jay,

prenote: as mentioned in my reply to Roger, I made a mistake, please do

pip install -U crossbar

again to get Crossbar.io 0.9.7-5. Sorry.

Regarding the dir structure below:

The "config.json" needs to reside _inside_ the dir ".crossbar" (at least thats where it is looked up by default).

I have checked on a different machine that the following works for me:

oberstet@COREI7 /c/Temp
$ ls -la
total 10
drwxr-xr-x 2 oberstet Administ 4096 Aug 14 17:51 .
drwxr-xr-x 1 oberstet Administ 16384 Aug 13 13:30 ..
oberstet@COREI7 /c/Temp
$ crossbar version

Crossbar.io software versions:

Crossbar.io : 0.9.7-5
Autobahn : 0.8.14
Twisted : 14.0.0-IOCPReactor
Python : 2.7.8
UTF8 Validator : wsaccel-0.6.2
XOR Masker : wsaccel-0.6.2

oberstet@COREI7 /c/Temp
$ crossbar init --template votes:python
Initializing application template 'votes:python' in directory 'c:\Temp'
Using templates from 'c:/python27/lib/site-packages/crossbar/templates/votes/python'
Creating directory c:\Temp\.crossbar
Creating directory c:\Temp\web
Creating file c:\Temp\votes.py
Creating file c:\Temp\.crossbar\config.json
Creating directory c:\Temp\web\css
Creating directory c:\Temp\web\img
Creating directory c:\Temp\web\js
Creating file c:\Temp\web\index.html
Creating file c:\Temp\web\css\vote.css
Creating file c:\Temp\web\img\banana_small.png
Creating file c:\Temp\web\img\chocolate_small.png
Creating file c:\Temp\web\img\crossbar_icon_inverted.png
Creating file c:\Temp\web\img\favicon.ico
Creating file c:\Temp\web\img\lemon_small.png
Creating file c:\Temp\web\js\autobahn.min.js
Creating file c:\Temp\web\js\frontend.js
Application template initialized

To start your node, run 'crossbar start --cbdir c:\Temp\.crossbar'

oberstet@COREI7 /c/Temp
$ find .
.
./.crossbar
./.crossbar/config.json
./votes.py
./votes.pyc
./web
./web/css
./web/css/vote.css
./web/img
./web/img/banana_small.png
./web/img/chocolate_small.png
./web/img/crossbar_icon_inverted.png
./web/img/favicon.ico
./web/img/lemon_small.png
./web/index.html
./web/js
./web/js/autobahn.min.js
./web/js/frontend.js
oberstet@COREI7 /c/Temp
$

oberstet@COREI7 /c/Temp
$ crossbar start
2014-08-14 19:51:58+0200 [Controller 2824] Log opened.
2014-08-14 19:51:58+0200 [Controller 2824] ============================== Crossbar.io ==============================

2014-08-14 19:51:58+0200 [Controller 2824] Crossbar.io 0.9.7-5 starting
2014-08-14 19:51:58+0200 [Controller 2824] Running on CPython using IOCPReactor reactor
2014-08-14 19:51:58+0200 [Controller 2824] Starting from node directory c:\Temp\.crossbar
2014-08-14 19:51:59+0200 [Controller 2824] Starting from local configuration 'c:\Temp\.crossbar\config.json'
2014-08-14 19:51:59+0200 [Controller 2824] Warning, could not set process title (setproctitle not installed)
2014-08-14 19:51:59+0200 [Controller 2824] Detected 4 WAMPlets in environment:
2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.irc
2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.main
2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.rss
2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.twitter
2014-08-14 19:51:59+0200 [Controller 2824] Starting Router with ID 'worker1' ..
2014-08-14 19:52:00+0200 [Router 5420] Log opened.
2014-08-14 19:52:00+0200 [Router 5420] Warning: could not set worker process title (setproctitle not installed)
2014-08-14 19:52:00+0200 [Router 5420] Running under CPython using IOCPReactor reactor
2014-08-14 19:52:01+0200 [Router 5420] Entering event loop ..
2014-08-14 19:52:01+0200 [Controller 2824] Router with ID 'worker1' and PID 5420 started
2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': PYTHONPATH extended
2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': realm 'realm1' started
2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': role 'role1' started on realm 'realm1'
2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': component 'component1' started
2014-08-14 19:52:01+0200 [Router 5420] VotesBackend: 3 procedures registered!
2014-08-14 19:52:01+0200 [Router 5420] Site starting on 8080
2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': transport 'transport1' started

2014-08-14 19:52:05+0200 [Controller 2824] Received SIGINT, shutting down.
2014-08-14 19:52:05+0200 [Controller 2824] Main loop terminated.
...

···

Am 14.08.2014 19:24, schrieb Jay Martin:

    Can you send me the output of

    ls -la

    from within the directory where copied things into? It's most likely
    simply a config / dir structure issue.

*Tobias, here's the output of ls -la:*

rroot@crossbar:~/votegame# ls -la

total 40

drwxr-xr-x 4 root root 4096 Aug 13 16:41 *.*

drwx------ 9 root root 4096 Aug 14 12:35 *..*

-rw-r--r-- 1 root root 1869 Aug 13 16:16 config.json

drwxr-xr-x 2 root root 4096 Aug 13 16:41 *.crossbar*

-rw-r--r-- 1 root root 33 Aug 13 16:16 .gitignore

-rw-r--r-- 1 root root 164 Aug 13 16:16 Makefile

-rw-r--r-- 1 root root 33 Aug 13 16:16 MANIFEST.in

-rw-r--r-- 1 root root 1107 Aug 13 16:16 README.md

-rw-r--r-- 1 root root 363 Aug 13 16:16 setup.py

drwxr-xr-x 4 root root 4096 Aug 13 16:24 *votegame*

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#10

Thanks Alex! I’ve tested the browser to browser and it works. The polyglot nature of crossbar is neat because anyone you show it to can have a language of interest to get excited about.

···

On Thursday, August 14, 2014 5:49:20 AM UTC-4, Alexander Gödde wrote:

Hi!

As is happens, current Crossbar contains a template for the votes demo. This allows you to set up two versions of the votes demo - one just using the browser (backend runs in a browser tab) and one with a Node.js backend.

These are not yet in the version available on PyPi, so you’ll need to clone the Crossbar.io GitHub repo (https://github.com/crossbario/crossbar) and then install from this:

In the Crossbar repo directory, go to the crossbar subdirectory, and in this do

python setup.py install

To set up the demo, do

crossbar init --template votes:browser --appdir votes

or

crossbar init --template votes:nodejs --appdir votes

depending on which version you want. This creates the subdirectory ‘votes’ which contains everything necessary to run the demo.

To start the demo, just go into the created directory and do

crossbar start

You can then access the demo under ‘http://localhost:8080’.

Just tested both on my machine - but let me know if you run into any trouble.

Regards,

Alex

2014-08-13 22:49 GMT+02:00 Jay Martin jame...@gmail.com:

I’m trying to put together a demo for a presentation at a local user group meeting. I’m going to talk about Crossbar.io and WAMP.

I have access to the website demos and I’ve also installed the python:hello template on my local machine.

But what I’d really like to do is live demo the AutobahnPython votegame. I’ve installed this on my local machine and it works.

Now I want to deploy to my digital ocean Ubuntu instance.

I’ve installed pypy and crossbar per instructions.

I’ve copied the votegame directory to /root on Ubuntu instance.

The topmost votegame directory contains the config.json file with the good settings.

I’m not sure what to do next.

Do I run crossbar init in this topmost votegame directory? Then crossbar start? I tried that and it says no WAMPlets in the evironment.

Also, the DNS for my ip address points to nownetworking.org. Once working what URL should the browsers point to?

Thank you for you help!

My best,

Jay

P.S. I edited the Wiki docs I read with some minor grammar corrections but otherwise the docs are great! : )

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to auto...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/6a9af711-9af9-4169-8340-0aed81b8487f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#11

Yes! Sweet, sweet success! Thank you so much for your help Tobias. I’ll pass it on by creating some screencast training and posting links here in the group.

You guys can try the demo out yourself at nownetworking.org:8080

I’ll leave it up for a few days…

My best and thanks again!

Jay

webapphero.org

···

On Thursday, August 14, 2014 1:53:22 PM UTC-4, Tobias Oberstein wrote:

Hi Jay,

prenote: as mentioned in my reply to Roger, I made a mistake, please do

pip install -U crossbar

again to get Crossbar.io 0.9.7-5. Sorry.

Regarding the dir structure below:

The “config.json” needs to reside inside the dir “.crossbar” (at least
thats where it is looked up by default).

I have checked on a different machine that the following works for me:

oberstet@COREI7 /c/Temp

$ ls -la

total 10

drwxr-xr-x 2 oberstet Administ 4096 Aug 14 17:51 .

drwxr-xr-x 1 oberstet Administ 16384 Aug 13 13:30 …

oberstet@COREI7 /c/Temp

$ crossbar version

Crossbar.io software versions:

Crossbar.io : 0.9.7-5

Autobahn : 0.8.14

Twisted : 14.0.0-IOCPReactor

Python : 2.7.8

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

oberstet@COREI7 /c/Temp

$ crossbar init --template votes:python

Initializing application template ‘votes:python’ in directory ‘c:\Temp’

Using templates from
‘c:/python27/lib/site-packages/crossbar/templates/votes/python’

Creating directory c:\Temp.crossbar

Creating directory c:\Temp\web

Creating file c:\Temp\votes.py

Creating file c:\Temp.crossbar\config.json

Creating directory c:\Temp\web\css

Creating directory c:\Temp\web\img

Creating directory c:\Temp\web\js

Creating file c:\Temp\web\index.html

Creating file c:\Temp\web\css\vote.css

Creating file c:\Temp\web\img\banana_small.png

Creating file c:\Temp\web\img\chocolate_small.png

Creating file c:\Temp\web\img\crossbar_icon_inverted.png

Creating file c:\Temp\web\img\favicon.ico

Creating file c:\Temp\web\img\lemon_small.png

Creating file c:\Temp\web\js\autobahn.min.js

Creating file c:\Temp\web\js\frontend.js

Application template initialized

To start your node, run ‘crossbar start --cbdir c:\Temp.crossbar’

oberstet@COREI7 /c/Temp

$ find .

.

./.crossbar

./.crossbar/config.json

./votes.py

./votes.pyc

./web

./web/css

./web/css/vote.css

./web/img

./web/img/banana_small.png

./web/img/chocolate_small.png

./web/img/crossbar_icon_inverted.png

./web/img/favicon.ico

./web/img/lemon_small.png

./web/index.html

./web/js

./web/js/autobahn.min.js

./web/js/frontend.js

oberstet@COREI7 /c/Temp

$

oberstet@COREI7 /c/Temp

$ crossbar start

2014-08-14 19:51:58+0200 [Controller 2824] Log opened.

2014-08-14 19:51:58+0200 [Controller 2824]
============================== Crossbar.io ==============================

2014-08-14 19:51:58+0200 [Controller 2824] Crossbar.io 0.9.7-5 starting

2014-08-14 19:51:58+0200 [Controller 2824] Running on CPython using
IOCPReactor reactor

2014-08-14 19:51:58+0200 [Controller 2824] Starting from node
directory c:\Temp.crossbar

2014-08-14 19:51:59+0200 [Controller 2824] Starting from local
configuration ‘c:\Temp.crossbar\config.json’

2014-08-14 19:51:59+0200 [Controller 2824] Warning, could not set
process title (setproctitle not installed)

2014-08-14 19:51:59+0200 [Controller 2824] Detected 4 WAMPlets in
environment:

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.irc

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.main

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.rss

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.twitter

2014-08-14 19:51:59+0200 [Controller 2824] Starting Router with ID
‘worker1’ …

2014-08-14 19:52:00+0200 [Router 5420] Log opened.

2014-08-14 19:52:00+0200 [Router 5420] Warning: could not set
worker process title (setproctitle not installed)

2014-08-14 19:52:00+0200 [Router 5420] Running under CPython using
IOCPReactor reactor

2014-08-14 19:52:01+0200 [Router 5420] Entering event loop …

2014-08-14 19:52:01+0200 [Controller 2824] Router with ID ‘worker1’
and PID 5420 started

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’:
PYTHONPATH extended

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: realm
‘realm1’ started

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: role
‘role1’ started on realm ‘realm1’

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: component
‘component1’ started

2014-08-14 19:52:01+0200 [Router 5420] VotesBackend: 3 procedures
registered!

2014-08-14 19:52:01+0200 [Router 5420] Site starting on 8080

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: transport
‘transport1’ started

2014-08-14 19:52:05+0200 [Controller 2824] Received SIGINT, shutting down.

2014-08-14 19:52:05+0200 [Controller 2824] Main loop terminated.

Am 14.08.2014 19:24, schrieb Jay Martin:

Can you send me the output of
ls -la
from within the directory where copied things into? It's most likely
simply a config / dir structure issue.

Tobias, here’s the output of ls -la:

rroot@crossbar:~/votegame# ls -la

total 40

drwxr-xr-x 4 root root 4096 Aug 13 16:41 .

drwx------ 9 root root 4096 Aug 14 12:35

-rw-r–r-- 1 root root 1869 Aug 13 16:16 config.json

drwxr-xr-x 2 root root 4096 Aug 13 16:41 .crossbar

-rw-r–r-- 1 root root 33 Aug 13 16:16 .gitignore

-rw-r–r-- 1 root root 164 Aug 13 16:16 Makefile

-rw-r–r-- 1 root root 33 Aug 13 16:16 MANIFEST.in

-rw-r–r-- 1 root root 1107 Aug 13 16:16 README.md

-rw-r–r-- 1 root root 363 Aug 13 16:16 setup.py

drwxr-xr-x 4 root root 4096 Aug 13 16:24 votegame

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

To post to this group, send email to auto...@googlegroups.com

mailto:autob...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com

<https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#12

Nice demo, Jay!

-g

···

On Thursday, August 14, 2014 1:17:16 PM UTC-5, Jay Martin wrote:

Yes! Sweet, sweet success! Thank you so much for your help Tobias. I’ll pass it on by creating some screencast training and posting links here in the group.

You guys can try the demo out yourself at nownetworking.org:8080

I’ll leave it up for a few days…

My best and thanks again!

Jay

webapphero.org

On Thursday, August 14, 2014 1:53:22 PM UTC-4, Tobias Oberstein wrote:

Hi Jay,

prenote: as mentioned in my reply to Roger, I made a mistake, please do

pip install -U crossbar

again to get Crossbar.io 0.9.7-5. Sorry.

Regarding the dir structure below:

The “config.json” needs to reside inside the dir “.crossbar” (at least
thats where it is looked up by default).

I have checked on a different machine that the following works for me:

oberstet@COREI7 /c/Temp

$ ls -la

total 10

drwxr-xr-x 2 oberstet Administ 4096 Aug 14 17:51 .

drwxr-xr-x 1 oberstet Administ 16384 Aug 13 13:30 …

oberstet@COREI7 /c/Temp

$ crossbar version

Crossbar.io software versions:

Crossbar.io : 0.9.7-5

Autobahn : 0.8.14

Twisted : 14.0.0-IOCPReactor

Python : 2.7.8

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

oberstet@COREI7 /c/Temp

$ crossbar init --template votes:python

Initializing application template ‘votes:python’ in directory ‘c:\Temp’

Using templates from
‘c:/python27/lib/site-packages/crossbar/templates/votes/python’

Creating directory c:\Temp.crossbar

Creating directory c:\Temp\web

Creating file c:\Temp\votes.py

Creating file c:\Temp.crossbar\config.json

Creating directory c:\Temp\web\css

Creating directory c:\Temp\web\img

Creating directory c:\Temp\web\js

Creating file c:\Temp\web\index.html

Creating file c:\Temp\web\css\vote.css

Creating file c:\Temp\web\img\banana_small.png

Creating file c:\Temp\web\img\chocolate_small.png

Creating file c:\Temp\web\img\crossbar_icon_inverted.png

Creating file c:\Temp\web\img\favicon.ico

Creating file c:\Temp\web\img\lemon_small.png

Creating file c:\Temp\web\js\autobahn.min.js

Creating file c:\Temp\web\js\frontend.js

Application template initialized

To start your node, run ‘crossbar start --cbdir c:\Temp.crossbar’

oberstet@COREI7 /c/Temp

$ find .

.

./.crossbar

./.crossbar/config.json

./votes.py

./votes.pyc

./web

./web/css

./web/css/vote.css

./web/img

./web/img/banana_small.png

./web/img/chocolate_small.png

./web/img/crossbar_icon_inverted.png

./web/img/favicon.ico

./web/img/lemon_small.png

./web/index.html

./web/js

./web/js/autobahn.min.js

./web/js/frontend.js

oberstet@COREI7 /c/Temp

$

oberstet@COREI7 /c/Temp

$ crossbar start

2014-08-14 19:51:58+0200 [Controller 2824] Log opened.

2014-08-14 19:51:58+0200 [Controller 2824]
============================== Crossbar.io ==============================

2014-08-14 19:51:58+0200 [Controller 2824] Crossbar.io 0.9.7-5 starting

2014-08-14 19:51:58+0200 [Controller 2824] Running on CPython using
IOCPReactor reactor

2014-08-14 19:51:58+0200 [Controller 2824] Starting from node
directory c:\Temp.crossbar

2014-08-14 19:51:59+0200 [Controller 2824] Starting from local
configuration ‘c:\Temp.crossbar\config.json’

2014-08-14 19:51:59+0200 [Controller 2824] Warning, could not set
process title (setproctitle not installed)

2014-08-14 19:51:59+0200 [Controller 2824] Detected 4 WAMPlets in
environment:

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.irc

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.main

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.rss

2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.twitter

2014-08-14 19:51:59+0200 [Controller 2824] Starting Router with ID
‘worker1’ …

2014-08-14 19:52:00+0200 [Router 5420] Log opened.

2014-08-14 19:52:00+0200 [Router 5420] Warning: could not set
worker process title (setproctitle not installed)

2014-08-14 19:52:00+0200 [Router 5420] Running under CPython using
IOCPReactor reactor

2014-08-14 19:52:01+0200 [Router 5420] Entering event loop …

2014-08-14 19:52:01+0200 [Controller 2824] Router with ID ‘worker1’
and PID 5420 started

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’:
PYTHONPATH extended

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: realm
‘realm1’ started

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: role
‘role1’ started on realm ‘realm1’

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: component
‘component1’ started

2014-08-14 19:52:01+0200 [Router 5420] VotesBackend: 3 procedures
registered!

2014-08-14 19:52:01+0200 [Router 5420] Site starting on 8080

2014-08-14 19:52:01+0200 [Controller 2824] Router ‘worker1’: transport
‘transport1’ started

2014-08-14 19:52:05+0200 [Controller 2824] Received SIGINT, shutting down.

2014-08-14 19:52:05+0200 [Controller 2824] Main loop terminated.

Am 14.08.2014 19:24, schrieb Jay Martin:

Can you send me the output of
ls -la
from within the directory where copied things into? It's most likely
simply a config / dir structure issue.

Tobias, here’s the output of ls -la:

rroot@crossbar:~/votegame# ls -la

total 40

drwxr-xr-x 4 root root 4096 Aug 13 16:41 .

drwx------ 9 root root 4096 Aug 14 12:35

-rw-r–r-- 1 root root 1869 Aug 13 16:16 config.json

drwxr-xr-x 2 root root 4096 Aug 13 16:41 .crossbar

-rw-r–r-- 1 root root 33 Aug 13 16:16 .gitignore

-rw-r–r-- 1 root root 164 Aug 13 16:16 Makefile

-rw-r–r-- 1 root root 33 Aug 13 16:16 MANIFEST.in

-rw-r–r-- 1 root root 1107 Aug 13 16:16 README.md

-rw-r–r-- 1 root root 363 Aug 13 16:16 setup.py

drwxr-xr-x 4 root root 4096 Aug 13 16:24 votegame

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

To post to this group, send email to auto...@googlegroups.com

mailto:autob...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com

<https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#13

Hi Jay,

Yes! Sweet, sweet success! Thank you so much for your help Tobias. I'll

Great! Good to hear it works for you ..

pass it on by creating some screencast training and posting links here
in the group.

Oh, that is highly welcome! Please do. We need more promo and distribution.

You guys can try the demo out yourself at nownetworking.org:8080

Yep, works. From Germany here over the ocean:

$ tracert nownetworking.org

Routenverfolgung zu nownetworking.org [107.170.53.199] über maximal 30 Abschnitte:

   1 <1 ms <1 ms <1 ms DD-WRT.office.tavendo.de [192.168.1.1]
   2 5 ms 5 ms 6 ms ppp-default.m-online.net [82.135.16.28]
   3 14 ms 9 ms 8 ms ae1.rt-decix-2.m-online.net [82.135.16.137]
   4 9 ms 9 ms 10 ms 213.198.72.237
   5 10 ms 13 ms 16 ms ae-5.r21.frnkge03.de.bb.gin.ntt.net [129.250.4.162]
   6 * 96 ms * ae-3.r23.nycmny01.us.bb.gin.ntt.net [129.250.3.180]
   7 103 ms 102 ms 99 ms ae-1.r06.nycmny01.us.bb.gin.ntt.net [129.250.4.149]
   8 98 ms 102 ms 132 ms xe-0-3-0-21.r05.nycmny01.us.ce.gin.ntt.net [129.250.203.86]
   9 93 ms 104 ms 103 ms 192.241.164.238
  10 98 ms 102 ms 102 ms 107.170.53.199

Cheers,
/Tobias

···

Am 14.08.2014 20:17, schrieb Jay Martin:

I'll leave it up for a few days...

My best and thanks again!

Jay
webapphero.org

On Thursday, August 14, 2014 1:53:22 PM UTC-4, Tobias Oberstein wrote:

    Hi Jay,

    prenote: as mentioned in my reply to Roger, I made a mistake, please do

    pip install -U crossbar

    again to get Crossbar.io 0.9.7-5. Sorry.

    Regarding the dir structure below:

    The "config.json" needs to reside _inside_ the dir ".crossbar" (at
    least
    thats where it is looked up by default).

    I have checked on a different machine that the following works for me:

    oberstet@COREI7 /c/Temp
    $ ls -la
    total 10
    drwxr-xr-x 2 oberstet Administ 4096 Aug 14 17:51 .
    drwxr-xr-x 1 oberstet Administ 16384 Aug 13 13:30 ..
    oberstet@COREI7 /c/Temp
    $ crossbar version

    Crossbar.io software versions:

    Crossbar.io : 0.9.7-5
    Autobahn : 0.8.14
    Twisted : 14.0.0-IOCPReactor
    Python : 2.7.8
    UTF8 Validator : wsaccel-0.6.2
    XOR Masker : wsaccel-0.6.2

    oberstet@COREI7 /c/Temp
    $ crossbar init --template votes:python
    Initializing application template 'votes:python' in directory 'c:\Temp'
    Using templates from
    'c:/python27/lib/site-packages/crossbar/templates/votes/python'
    Creating directory c:\Temp\.crossbar
    Creating directory c:\Temp\web
    Creating file c:\Temp\votes.py
    Creating file c:\Temp\.crossbar\config.json
    Creating directory c:\Temp\web\css
    Creating directory c:\Temp\web\img
    Creating directory c:\Temp\web\js
    Creating file c:\Temp\web\index.html
    Creating file c:\Temp\web\css\vote.css
    Creating file c:\Temp\web\img\banana_small.png
    Creating file c:\Temp\web\img\chocolate_small.png
    Creating file c:\Temp\web\img\crossbar_icon_inverted.png
    Creating file c:\Temp\web\img\favicon.ico
    Creating file c:\Temp\web\img\lemon_small.png
    Creating file c:\Temp\web\js\autobahn.min.js
    Creating file c:\Temp\web\js\frontend.js
    Application template initialized

    To start your node, run 'crossbar start --cbdir c:\Temp\.crossbar'

    oberstet@COREI7 /c/Temp
    $ find .
    .
    ./.crossbar
    ./.crossbar/config.json
    ./votes.py
    ./votes.pyc
    ./web
    ./web/css
    ./web/css/vote.css
    ./web/img
    ./web/img/banana_small.png
    ./web/img/chocolate_small.png
    ./web/img/crossbar_icon_inverted.png
    ./web/img/favicon.ico
    ./web/img/lemon_small.png
    ./web/index.html
    ./web/js
    ./web/js/autobahn.min.js
    ./web/js/frontend.js
    oberstet@COREI7 /c/Temp
    $

    oberstet@COREI7 /c/Temp
    $ crossbar start
    2014-08-14 19:51:58+0200 [Controller 2824] Log opened.
    2014-08-14 19:51:58+0200 [Controller 2824]
    ============================== Crossbar.io
    ==============================

    2014-08-14 19:51:58+0200 [Controller 2824] Crossbar.io 0.9.7-5
    starting
    2014-08-14 19:51:58+0200 [Controller 2824] Running on CPython using
    IOCPReactor reactor
    2014-08-14 19:51:58+0200 [Controller 2824] Starting from node
    directory c:\Temp\.crossbar
    2014-08-14 19:51:59+0200 [Controller 2824] Starting from local
    configuration 'c:\Temp\.crossbar\config.json'
    2014-08-14 19:51:59+0200 [Controller 2824] Warning, could not set
    process title (setproctitle not installed)
    2014-08-14 19:51:59+0200 [Controller 2824] Detected 4 WAMPlets in
    environment:
    2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.irc
    2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.main
    2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.rss
    2014-08-14 19:51:59+0200 [Controller 2824] WAMPlet clandeck.twitter
    2014-08-14 19:51:59+0200 [Controller 2824] Starting Router with ID
    'worker1' ..
    2014-08-14 19:52:00+0200 [Router 5420] Log opened.
    2014-08-14 19:52:00+0200 [Router 5420] Warning: could not set
    worker process title (setproctitle not installed)
    2014-08-14 19:52:00+0200 [Router 5420] Running under CPython
    using
    IOCPReactor reactor
    2014-08-14 19:52:01+0200 [Router 5420] Entering event loop ..
    2014-08-14 19:52:01+0200 [Controller 2824] Router with ID 'worker1'
    and PID 5420 started
    2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1':
    PYTHONPATH extended
    2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': realm
    'realm1' started
    2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1': role
    'role1' started on realm 'realm1'
    2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1':
    component
    'component1' started
    2014-08-14 19:52:01+0200 [Router 5420] VotesBackend: 3 procedures
    registered!
    2014-08-14 19:52:01+0200 [Router 5420] Site starting on 8080
    2014-08-14 19:52:01+0200 [Controller 2824] Router 'worker1':
    transport
    'transport1' started

    2014-08-14 19:52:05+0200 [Controller 2824] Received SIGINT,
    shutting down.
    2014-08-14 19:52:05+0200 [Controller 2824] Main loop terminated.
    ...

    Am 14.08.2014 19:24, schrieb Jay Martin:
     > Can you send me the output of
     >
     > ls -la
     >
     > from within the directory where copied things into? It's most
    likely
     > simply a config / dir structure issue.
     >
     > *Tobias, here's the output of ls -la:*
     >
     > rroot@crossbar:~/votegame# ls -la
     >
     > total 40
     >
     > drwxr-xr-x 4 root root 4096 Aug 13 16:41 *.*
     >
     > drwx------ 9 root root 4096 Aug 14 12:35 *..*
     >
     > -rw-r--r-- 1 root root 1869 Aug 13 16:16 config.json
     >
     > drwxr-xr-x 2 root root 4096 Aug 13 16:41 *.crossbar*
     >
     > -rw-r--r-- 1 root root 33 Aug 13 16:16 .gitignore
     >
     > -rw-r--r-- 1 root root 164 Aug 13 16:16 Makefile
     >
     > -rw-r--r-- 1 root root 33 Aug 13 16:16 MANIFEST.in
     >
     > -rw-r--r-- 1 root root 1107 Aug 13 16:16 README.md
     >
     > -rw-r--r-- 1 root root 363 Aug 13 16:16 setup.py
     >
     > drwxr-xr-x 4 root root 4096 Aug 13 16:24 *votegame*
     >
     > --
     > You received this message because you are subscribed to the Google
     > Groups "Autobahn" group.
     > To unsubscribe from this group and stop receiving emails from it,
    send
     > an email to autobah...@googlegroups.com <javascript:>
     > <mailto:autobahnws+...@googlegroups.com <javascript:>>.
     > To post to this group, send email to auto...@googlegroups.com
    <javascript:>
     > <mailto:auto...@googlegroups.com <javascript:>>.
     > To view this discussion on the web visit
     >
    https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com
    <https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com>

     >
    <https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com?utm_medium=email&utm_source=footer
    <https://groups.google.com/d/msgid/autobahnws/59574ecf-d413-4c41-8a33-06bae0cf8370%40googlegroups.com?utm_medium=email&utm_source=footer>>.

     > For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/9f18cd77-615e-411d-a1e2-ff23301890d0%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/9f18cd77-615e-411d-a1e2-ff23301890d0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes