Menu

#2 Output Directory Error

open
None
5
2015-05-18
2015-05-18
No

I have configured my .cfg file and started the services. However, each time I run the debug command I receive the following error message:

C:\Program Files\SocketReader>SocketReaderService32.exe debug --configfile "C:\P
rogram Files\SocketReader\SocketReader.cfg"
Debugging service hl7socketreader_configfile - press Ctrl+C to stop.
Info 0x400000FF - HL7-SocketReader starting up.

SocketReader 1.2.4 - an open source project in Python. License: GPLv3.0
Copyright 2010 until today: Sebastian Weigmann
SourceForge URL: http://sourceforge.net/projects/hl7socketreader/
Python Interpreter: CPython 2.7.5 32bit
Host System: Windows JRA_PROXY XP 5.1.2600 x86 x86 Family 15 Model 6 Stepping 5,
GenuineIntel

This project uses python-hl7 by John Paulett. More info is available at:
http://johnpaulett.com/2009/01/10/parsing-hl7-with-python/

Error: Please specify a valid output directory using the "messagedir = DIR" opti
on.

Below is my .cfg:
[general]
logfile = c:/RadAdv_log/SocketReader.log
loglvl = debug
useconnections = incoming_socket, incoming_file

[incoming_socket]
queuename = socket-to-file
transtech = file
transdir = in
usehl7 = True
useack = True
createserversocket = True
ipaddr =
port = 5005

[incoming_file]
queuename = file-to-socket
transtech = file
transdir = in
usehl7 = False
messagedir = C:/RadAdvocate/filein
filemask = *.dat
cycletime = 120
maxfiles = 50

My goal is to listen on port 5005 for a file to be dropped into the C:/RadAdvocate/filein directory.

--Clayton

Related

Feedback: #2

Discussion

  • Sebastian Weigmann

    Hi Clayton,

    thanks for your feedback.

    Your config is buggy. Please see below.

    Best regards,
    Sebastian

    [general]
    logfile = c:/RadAdv_log/SocketReader.log
    loglvl = debug
    useconnections = incoming_socket, incoming_file

    [incoming_socket]
    queuename = socket-to-file
    transtech = file (should be socket as you want to open ports here)
    transdir = in
    usehl7 = True
    useack = True
    createserversocket = True
    ipaddr = (MUST be given or you will end up in a mess)
    port = 5005

    [incoming_file] (should be named outgoing_file to reflect your intentions)
    queuename = file-to-socket (MUST be named the same as above
    "socket-to-file", so both connectors work on the same queue)
    transtech = file
    transdir = in (MUST be "out" as you want to dump stuff to disk)
    usehl7 = False
    messagedir = C:/RadAdvocate/filein (please use "" around the path.
    Does the path exist? Is messagedir suitable for a file-out connector?
    Please consult the README.)
    filemask = *.dat (Is filemask suitable for a file-out connector?
    Please consult the README.)
    cycletime = 120 (Is cycletime suitable for a file-out connector?
    Please consult the README.)
    maxfiles = 50 (Is maxfiles suitable for a file-out connector? Please
    consult the README.)

    PGP-Key Fingerprint:
    A9DB 35EF D353 A79E 7CEA 3DC5 8474 8C67 84CF DA58

    On 18.05.2015 22:54, Clayton Phillips wrote:


    [feedback:#2] Output Directory Error

    Status: open
    Group:
    Created: Mon May 18, 2015 08:54 PM UTC by Clayton Phillips
    Last Updated: Mon May 18, 2015 08:54 PM UTC
    Owner: Sebastian Weigmann

    I have configured my .cfg file and started the services. However, each time I run the debug command I receive the following error message:

    C:\Program Files\SocketReader>SocketReaderService32.exe debug --configfile "C:\P
    rogram Files\SocketReader\SocketReader.cfg"
    Debugging service hl7socketreader_configfile - press Ctrl+C to stop.
    Info 0x400000FF - HL7-SocketReader starting up.

    SocketReader 1.2.4 - an open source project in Python. License: GPLv3.0
    Copyright 2010 until today: Sebastian Weigmann
    SourceForge URL: http://sourceforge.net/projects/hl7socketreader/
    Python Interpreter: CPython 2.7.5 32bit
    Host System: Windows JRA_PROXY XP 5.1.2600 x86 x86 Family 15 Model 6 Stepping 5,
    GenuineIntel

    This project uses python-hl7 by John Paulett. More info is available at:
    http://johnpaulett.com/2009/01/10/parsing-hl7-with-python/

    Error: Please specify a valid output directory using the "messagedir = DIR" opti
    on.

    Below is my .cfg:
    [general]
    logfile = c:/RadAdv_log/SocketReader.log
    loglvl = debug
    useconnections = incoming_socket, incoming_file

    [incoming_socket]
    queuename = socket-to-file
    transtech = file
    transdir = in
    usehl7 = True
    useack = True
    createserversocket = True
    ipaddr =
    port = 5005

    [incoming_file]
    queuename = file-to-socket
    transtech = file
    transdir = in
    usehl7 = False
    messagedir = C:/RadAdvocate/filein
    filemask = *.dat
    cycletime = 120
    maxfiles = 50

    My goal is to listen on port 5005 for a file to be dropped into the C:/RadAdvocate/filein directory.

    --Clayton


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hl7socketreader/feedback/2/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Feedback: #2

    • Clayton Phillips

      Hello Sebastian,

      Thanks for the assistance. I made the necessary changes. Still getting the
      same result:

      C:\Program Files\SocketReader>SocketReaderService32.exe debug --configfile
      "c:/P

      rogram FIles/SocketReader/SocketReader.cfg"

      Debugging service hl7socketreader_configfile - press Ctrl+C to stop.

      Info 0x400000FF - HL7-SocketReader starting up.

      SocketReader 1.2.4 - an open source project in Python. License: GPLv3.0

      Copyright 2010 until today: Sebastian Weigmann

      SourceForge URL: http://sourceforge.net/projects/hl7socketreader/

      Python Interpreter: CPython 2.7.5 32bit

      Host System: Windows JRA_PROXY XP 5.1.2600 x86 x86 Family 15 Model 6
      Stepping 5,

      GenuineIntel

      This project uses python-hl7 by John Paulett. More info is available at:

      http://johnpaulett.com/2009/01/10/parsing-hl7-with-python/

      Error: Please specify a valid output directory using the "messagedir = DIR"
      opti

      on.

      Any ideas?

      --Clayton

      From: Sebastian Weigmann [mailto:jackkane@users.sf.net]
      Sent: Tuesday, May 19, 2015 12:21 AM
      To: [hl7socketreader:feedback]
      Subject: [hl7socketreader:feedback] Re: #2 Output Directory Error

      Hi Clayton,

      thanks for your feedback.

      Your config is buggy. Please see below.

      Best regards,
      Sebastian

      [general]
      logfile = c:/RadAdv_log/SocketReader.log
      loglvl = debug
      useconnections = incoming_socket, incoming_file

      [incoming_socket]
      queuename = socket-to-file
      transtech = file (should be socket as you want to open ports here)
      transdir = in
      usehl7 = True
      useack = True
      createserversocket = True
      ipaddr = (MUST be given or you will end up in a mess)
      port = 5005

      [incoming_file] (should be named outgoing_file to reflect your intentions)
      queuename = file-to-socket (MUST be named the same as above
      "socket-to-file", so both connectors work on the same queue)
      transtech = file
      transdir = in (MUST be "out" as you want to dump stuff to disk)
      usehl7 = False
      messagedir = C:/RadAdvocate/filein (please use "" around the path.
      Does the path exist? Is messagedir suitable for a file-out connector?
      Please consult the README.)
      filemask = *.dat (Is filemask suitable for a file-out connector?
      Please consult the README.)
      cycletime = 120 (Is cycletime suitable for a file-out connector?
      Please consult the README.)
      maxfiles = 50 (Is maxfiles suitable for a file-out connector? Please
      consult the README.)

      PGP-Key Fingerprint:
      A9DB 35EF D353 A79E 7CEA 3DC5 8474 8C67 84CF DA58

      On 18.05.2015 22:54, Clayton Phillips wrote:


      [feedback:#2] http://sourceforge.net/p/hl7socketreader/feedback/2 Output
      Directory Error

      Status: open
      Group:
      Created: Mon May 18, 2015 08:54 PM UTC by Clayton Phillips
      Last Updated: Mon May 18, 2015 08:54 PM UTC
      Owner: Sebastian Weigmann

      I have configured my .cfg file and started the services. However, each time
      I run the debug command I receive the following error message:

      C:\Program Files\SocketReader>SocketReaderService32.exe debug --configfile
      "C:\P
      rogram Files\SocketReader\SocketReader.cfg"
      Debugging service hl7socketreader_configfile - press Ctrl+C to stop.
      Info 0x400000FF - HL7-SocketReader starting up.

      SocketReader 1.2.4 - an open source project in Python. License: GPLv3.0
      Copyright 2010 until today: Sebastian Weigmann
      SourceForge URL: http://sourceforge.net/projects/hl7socketreader/
      http://sourceforge.net/projects/hl7socketreader
      Python Interpreter: CPython 2.7.5 32bit
      Host System: Windows JRA_PROXY XP 5.1.2600 x86 x86 Family 15 Model 6
      Stepping 5,
      GenuineIntel

      This project uses python-hl7 by John Paulett. More info is available at:
      http://johnpaulett.com/2009/01/10/parsing-hl7-with-python/
      http://johnpaulett.com/2009/01/10/parsing-hl7-with-python

      Error: Please specify a valid output directory using the "messagedir = DIR"
      opti
      on.

      Below is my .cfg:
      [general]
      logfile = c:/RadAdv_log/SocketReader.log
      loglvl = debug
      useconnections = incoming_socket, incoming_file

      [incoming_socket]
      queuename = socket-to-file
      transtech = file
      transdir = in
      usehl7 = True
      useack = True
      createserversocket = True
      ipaddr =
      port = 5005

      [incoming_file]
      queuename = file-to-socket
      transtech = file
      transdir = in
      usehl7 = False
      messagedir = C:/RadAdvocate/filein
      filemask = *.dat
      cycletime = 120
      maxfiles = 50

      My goal is to listen on port 5005 for a file to be dropped into the
      C:/RadAdvocate/filein directory.

      --Clayton


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/hl7socketreader/feedback/2/
      https://sourceforge.net/p/hl7socketreader/feedback/2

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions


      [feedback:#2] http://sourceforge.net/p/hl7socketreader/feedback/2 Output
      Directory Error

      Status: open
      Group:
      Created: Mon May 18, 2015 08:54 PM UTC by Clayton Phillips
      Last Updated: Mon May 18, 2015 08:54 PM UTC
      Owner: Sebastian Weigmann

      I have configured my .cfg file and started the services. However, each time
      I run the debug command I receive the following error message:

      C:\Program Files\SocketReader>SocketReaderService32.exe debug --configfile
      "C:\P
      rogram Files\SocketReader\SocketReader.cfg"
      Debugging service hl7socketreader_configfile - press Ctrl+C to stop.
      Info 0x400000FF - HL7-SocketReader starting up.

      SocketReader 1.2.4 - an open source project in Python. License: GPLv3.0
      Copyright 2010 until today: Sebastian Weigmann
      SourceForge URL: http://sourceforge.net/projects/hl7socketreader/
      http://sourceforge.net/projects/hl7socketreader
      Python Interpreter: CPython 2.7.5 32bit
      Host System: Windows JRA_PROXY XP 5.1.2600 x86 x86 Family 15 Model 6
      Stepping 5,
      GenuineIntel

      This project uses python-hl7 by John Paulett. More info is available at:
      http://johnpaulett.com/2009/01/10/parsing-hl7-with-python/
      http://johnpaulett.com/2009/01/10/parsing-hl7-with-python

      Error: Please specify a valid output directory using the "messagedir = DIR"
      opti
      on.

      Below is my .cfg:
      [general]
      logfile = c:/RadAdv_log/SocketReader.log
      loglvl = debug
      useconnections = incoming_socket, incoming_file

      [incoming_socket]
      queuename = socket-to-file
      transtech = file
      transdir = in
      usehl7 = True
      useack = True
      createserversocket = True
      ipaddr =
      port = 5005

      [incoming_file]
      queuename = file-to-socket
      transtech = file
      transdir = in
      usehl7 = False
      messagedir = C:/RadAdvocate/filein
      filemask = *.dat
      cycletime = 120
      maxfiles = 50

      My goal is to listen on port 5005 for a file to be dropped into the
      C:/RadAdvocate/filein directory.

      --Clayton


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/hl7socketreader/feedback/2/
      https://sourceforge.net/p/hl7socketreader/feedback/2

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions


      This email has been checked for viruses by Avast antivirus software.
      http://www.avast.com

       

      Related

      Feedback: #2


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.