Hi,
I read several times the readme file, but I missed something.
I have local HL7 files I want to send thru socket to an other computer. On the second one, a tool (not socketreader) is listening on a port (21110), firewall is off on both computers.
[outgoing_socket]
queuename = file-to-socket
transtech = socket
transdir = out
messagedir=D:/socket/files
usehl7 = true
useack = True
queuedb = D:/socket/queue
createserversocket = False
ipaddr = localhost
port = 21110
I tried different cases with ipaddr and createserversocket. Is the section correct ?
When I run socketReader32.exe, I get this error in the log file :
2014-08-28 10:12:28,447 - Main - CRITICAL - socketReader 1.2.4 is starting up.
2014-08-28 10:12:28,447 - Main - CRITICAL - Python Interpreter: CPython 2.7.5 32bit
2014-08-28 10:12:28,447 - Main - CRITICAL - Host System: Windows marc XP 5.1.2600 x86 x86 Family 6 Model 23 Stepping 6, GenuineIntel
2014-08-28 10:12:28,447 - Main - CRITICAL - Command: D:\socket\socketReader32.exe
2014-08-28 10:12:28,447 - Main - ERROR - socketReader encountered an unexpected exception:
Traceback (most recent call last):
File "<string>", line 405, in <module>
File "<string>", line 334, in startAll
File "<string>", line 122, in spawnThreads
AttributeError: 'NoneType' object has no attribute 'keys'
Thanks for your help !
Marc
Hi Marc,
it seems that you missed a few statements in your config. In addition to your outgoing-socket adapter, you need to configure a file-in adapter. Please see example.cfg for a template (there it is named incoming_file). Also, please do set up the [general] section of your config accordingly.
Best regards!