Skip to content

simpolserver cautionary tale

Forums Forums SIMPOL Programming simpolserver cautionary tale

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #273
    JD Kromkowski
    Participant

    I kept having some trouble getting ppcs files to open. The error message had this curious spacing in describing the file that couldn’t be opened which lead me to discover the problem. Here is error log: 2010.11.11-14:31:07.000000: Initializing server 2010.11.11-14:31:07.046000: Listening on port number 4000, txfactor=0 2010.11.11-14:31:07.046000: Listening on port number 4001, txfactor=0 2010.11.11-14:31:07.062000: TCP/IP Listener on port number 24000 2010.11.11-14:31:07.062000: Sharing start at 14:31:07.062000 2010.11.11-14:31:07.062000: Sharing C:Program FilesSIMPOLDatacase1.sbm FilesSIMPOLDatacase1.sbm”: Database ” C:Program FilesSIMPOLDatacase1.sbm” not found! Note the space between ” and C:Program … etc. That lead me to more carefully inspect the Sample.cfg text. This causes problem: [Files] 1= C:Program FilesSIMPOLDatacase1.sbm,240000000 This does not cause problem [Files] 1=C:Program FilesSIMPOLDatacase1.sbm,240000000

    #1578
    Michael
    Keymaster

    On 19/11/2010 15:32, JDK wrote:
    > I kept having some trouble getting ppcs files to open. The error
    > message had this curious spacing in describing the file that couldn't
    > be opened which lead me to discover the problem.
    >
    > Here is error log:
    >
    > 2010.11.11-14:31:07.000000: Initializing server
    > 2010.11.11-14:31:07.046000: Listening on port number 4000,
    > txfactor=0 2010.11.11-14:31:07.046000: Listening on port number 4001,
    > txfactor=0 2010.11.11-14:31:07.062000: TCP/IP Listener on port number
    > 24000 2010.11.11-14:31:07.062000: Sharing start at 14:31:07.062000
    > 2010.11.11-14:31:07.062000: Sharing C:Program
    > FilesSIMPOLDatacase1.sbm FilesSIMPOLDatacase1.sbm": Database "
    > C:Program FilesSIMPOLDatacase1.sbm" not found!
    >
    > Note the space between " and C:Program … etc.
    >
    > That lead me to more carefully inspect the Sample.cfg text.
    >
    > This causes problem:
    >
    > [Files] 1= C:Program FilesSIMPOLDatacase1.sbm,240000000
    >
    > This does not cause problem
    >
    > [Files] 1=C:Program FilesSIMPOLDatacase1.sbm,240000000

    That is true. But it is also true of any entry in an ini file as
    supported by the conflib.sml project. It is arguable that the code using
    this should ltrim() the result that it reads.

    Ciao, Neil

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.