Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Bulk Export via WebAdmin fails with "Failure opening input file"

    • Article Type: General
    • Product: Voyager
    • Product Version: 9.1

     

    Problem Symptoms:

    • Submit MarcExport job from WebAdmin and receive error message:

    Failure opening input file /m1/voyager/tmp/cgipost-Example

    MARC EXPORT -- TERMINATED

    • Export fails

    Cause

    The file name contains a space.

    Resolution

    Change file name on PC to not contain any spaces. Can remove, or substitute underscore or dash.

    Additional Information

    Windows allows and is able to handle spaces in file names.

    The server, on the other hand, does not know that text that comes after the space is still part of the file name.

     

    In Voyager 9.1.0 and higher, files submitted via WebAdmin retain their file names (previously, the system had assigned a file name instead). So, when a file name contains a space, the server is unable to process and complete the job.

    Example:

    1. File name on PC: Example Bibs.txt
    2. Submit file as an input file of IDs for MarcExport.
    3. Receive error:

    Failure opening input file /m1/voyager/tmp/cgipost-Example

    MARC EXPORT -- TERMINATED

    1. Note that the file name is truncated where the space occurs. This is how the server reads the file.
    2. Rename file on PC: Example_Bibs.txt
    3. Submit via WebAdmin; this time, file can be read and the job completes successfully.

    See also Bulk import via Webadmin fails, no log file generated


    • Article last edited: 24-Aug-2016