Unable to setup Hello.cpp

#1

I have been having trouble with setting up the hellocpp example. Installed all the necessary packages.

2015-12-01T11:04:53+0530 [Router 74486] An exception was raised from application code while processing a reactor selectable

Traceback (most recent call last):

File “/Library/Python/2.7/site-packages/twisted/python/log.py”, line 101, in callWithLogger

return callWithContext({“system”: lp}, func, *args, **kw)

File “/Library/Python/2.7/site-packages/twisted/python/log.py”, line 84, in callWithContext

return context.call({ILogContext: newCtx}, func, *args, **kw)

File “/Library/Python/2.7/site-packages/twisted/python/context.py”, line 118, in callWithContext

return self.currentContext().callWithContext(ctx, func, *args, **kw)

File “/Library/Python/2.7/site-packages/twisted/python/context.py”, line 81, in callWithContext

return func(*args,**kw)

— —

File “/Library/Python/2.7/site-packages/twisted/internet/kqreactor.py”, line 293, in _doWriteOrRead

why = selectable.doRead()

File “/Library/Python/2.7/site-packages/twisted/internet/tcp.py”, line 209, in doRead

return self._dataReceived(data)

File “/Library/Python/2.7/site-packages/twisted/internet/tcp.py”, line 215, in _dataReceived

rval = self.protocol.dataReceived(data)

File “/Library/Python/2.7/site-packages/autobahn/twisted/rawsocket.py”, line 202, in dataReceived

self.abort()

File “/Library/Python/2.7/site-packages/autobahn/twisted/rawsocket.py”, line 178, in abort

raise TransportLost()

autobahn.wamp.exception.TransportLost:

2015-12-01T11:04:53+0530 [Guest 74487] ASIO I/O loop ended

``

I am setting this on my MAC. There were other problems earlier which I found a work around. Could someone tell me what I can do about this.

0 Likes

#2

Versions of all the things that I am running

Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.


/ |__)/ \/__/`|) /\ |__) |/ \

_,| \/././|)/~~| . |_/

Crossbar.io : 0.11.1

Autobahn : 0.10.9

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

JSON Codec : ujson-1.33

MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.4.0-KQueueReactor

Python : 2.7.10/CPython

OS : Darwin-14.5.0-x86_64-i386-64bit

Machine : x86_64

0 Likes

#3

Hi Deepak,

Did you use crossbar to generate the hellocpp template? Last time I looked, the templates had not been updated to account for recent changes in AutobahnCpp. Not sure if this is the problem, and I’m on my phone right now, but just an idea.

Elvis

···

Den 1 dec 2015 8:23 fm skrev deep...@stayzilla.com:

Versions of all the things that I am running

Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.


/ |__)/ \/__/`|) /\ |__) |/ \

_,| \/././|)/~~| . |_/

Crossbar.io : 0.11.1

Autobahn : 0.10.9

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

JSON Codec : ujson-1.33

MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.4.0-KQueueReactor

Python : 2.7.10/CPython

OS : Darwin-14.5.0-x86_64-i386-64bit

Machine : x86_64

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/7a377b2a-4741-4195-8d2b-d3fdb9dc2b4f%40googlegroups.com.

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

0 Likes

#4

I used the crossbar template generator to generate the template. Had to fix a few configs in the SConstruct to solve previous errors that had come. Still stuck with this problem.

···

On Tuesday, December 1, 2015 at 1:07:36 PM UTC+5:30, Elvis Stansvik wrote:

Hi Deepak,

Did you use crossbar to generate the hellocpp template? Last time I looked, the templates had not been updated to account for recent changes in AutobahnCpp. Not sure if this is the problem, and I’m on my phone right now, but just an idea.

Elvis

Den 1 dec 2015 8:23 fm skrev dee...@stayzilla.com:

Versions of all the things that I am running

Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.


/ |__)/ \/__/`|) /\ |__) |/ \

_,| \/././|)/~~| . |_/

Crossbar.io : 0.11.1

Autobahn : 0.10.9

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

JSON Codec : ujson-1.33

MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.4.0-KQueueReactor

Python : 2.7.10/CPython

OS : Darwin-14.5.0-x86_64-i386-64bit

Machine : x86_64

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/7a377b2a-4741-4195-8d2b-d3fdb9dc2b4f%40googlegroups.com.

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

0 Likes

#5

Okay. Then the problem might simply that the templates have not been kept up to date. I would perhaps try to use examples from AutobahnCpp as a starting point instead. I think there should be some. On my phone in class right now so can’t check. But look at GitHub for AutobahnCpp.

Elvis

···

Den 14 dec 2015 6:28 fm skrev deep...@stayzilla.com:

I used the crossbar template generator to generate the template. Had to fix a few configs in the SConstruct to solve previous errors that had come. Still stuck with this problem.

On Tuesday, December 1, 2015 at 1:07:36 PM UTC+5:30, Elvis Stansvik wrote:

Hi Deepak,

Did you use crossbar to generate the hellocpp template? Last time I looked, the templates had not been updated to account for recent changes in AutobahnCpp. Not sure if this is the problem, and I’m on my phone right now, but just an idea.

Elvis

Den 1 dec 2015 8:23 fm skrev dee...@stayzilla.com:

Versions of all the things that I am running

Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.


/ |__)/ \/__/`|) /\ |__) |/ \

_,| \/././|)/~~| . |_/

Crossbar.io : 0.11.1

Autobahn : 0.10.9

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

JSON Codec : ujson-1.33

MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.4.0-KQueueReactor

Python : 2.7.10/CPython

OS : Darwin-14.5.0-x86_64-i386-64bit

Machine : x86_64

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/7a377b2a-4741-4195-8d2b-d3fdb9dc2b4f%40googlegroups.com.

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

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/3c1649ee-e2e3-42fe-a8f7-0f72aec8da3b%40googlegroups.com.

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

0 Likes

#6

If it is outdated templates, then could somebody either start a pull request for an update or point me to a current version which can be used?

···

Am Montag, 14. Dezember 2015 13:05:02 UTC+1 schrieb Elvis Stansvik:

Okay. Then the problem might simply that the templates have not been kept up to date. I would perhaps try to use examples from AutobahnCpp as a starting point instead. I think there should be some. On my phone in class right now so can’t check. But look at GitHub for AutobahnCpp.

Elvis

Den 14 dec 2015 6:28 fm skrev deep...@stayzilla.com:

I used the crossbar template generator to generate the template. Had to fix a few configs in the SConstruct to solve previous errors that had come. Still stuck with this problem.

On Tuesday, December 1, 2015 at 1:07:36 PM UTC+5:30, Elvis Stansvik wrote:

Hi Deepak,

Did you use crossbar to generate the hellocpp template? Last time I looked, the templates had not been updated to account for recent changes in AutobahnCpp. Not sure if this is the problem, and I’m on my phone right now, but just an idea.

Elvis

Den 1 dec 2015 8:23 fm skrev dee...@stayzilla.com:

Versions of all the things that I am running

Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.


/ |__)/ \/__/`|) /\ |__) |/ \

_,| \/././|)/~~| . |_/

Crossbar.io : 0.11.1

Autobahn : 0.10.9

UTF8 Validator : wsaccel-0.6.2

XOR Masker : wsaccel-0.6.2

JSON Codec : ujson-1.33

MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.4.0-KQueueReactor

Python : 2.7.10/CPython

OS : Darwin-14.5.0-x86_64-i386-64bit

Machine : x86_64

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/7a377b2a-4741-4195-8d2b-d3fdb9dc2b4f%40googlegroups.com.

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

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

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

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

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/3c1649ee-e2e3-42fe-a8f7-0f72aec8da3b%40googlegroups.com.

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

0 Likes