Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Who's Online

Interface Gateways Issues

You are here: Home > Forum > Customising SimSig > Interface Gateway > Interface Gateways Issues

Page 1 of 1

Interface Gateways Issues 17/02/2019 at 21:25 #115819
LucasLCC
Avatar
94 posts
Been trying to get the Python code working for the Interface Gateway, but with no luck.

Using the code on Headshot119's GitHub Here Gives the followin error:

Quote:
Traceback (most recent call last):
File "SimSig.py", line 18, in <module>
conn.send_frame('CONNECT',body='accept-version:1.1')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\stomp\protocol.py", line 250, in send_frame
self.transport.transmit(frame)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\stomp\transport.py", line 278, in transmit
self.send(packed_frame)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\stomp\transport.py", line 643, in send
raise exception.NotConnectedException()
stomp.exception.NotConnectedException
We've checked and the port is definitely open.

Any thoughts?

Lucas

Log in to reply
Interface Gateways Issues 17/02/2019 at 22:16 #115825
headshot119
Avatar
4869 posts
See https://www.SimSig.co.uk/Forum/ThreadView/49165?postId=112492
"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply