Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Error parsing find request, "unbalanced expr"

    Error parsing find request, "unbalanced expr"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Problem Symptoms:
    Records with the prefix (OCoLC) cannot be retrieved in the xxx01 OPAC or GUI and the message 'error parsing find request' appears. The string (OCoLC)813231857 is retrievable only if a space is inserted i.e. (OCoLC) 813231857.

    The pc_server log shows:

    unbalanced expr
    aleph_ccl_expr_build_stack_c failed
    aleph_ccl_expr_build_tree_c failed
    aleph_ccl_expr_build_normal_tree_c failed
    Info: Empty table /tmp/utf_files/exlibris/aleph/u21_1/alephe/error_eng/pc_sear_c1011
    Info: Empty table /tmp/utf_files/exlibris/aleph/u21_1/alephe/error_eng/global
    Load: /tmp/utf_files/exlibris/aleph/a21_1/aleph/error_eng/pc_sear_c1011

    Cause:
    Program defect; improper handling of right parenthesis not followed by a space.

    Resolution:
    After installing v20 rep_change 3487 or after installing version 22, add the routine "ccl_brackets1" to section 90 of ./[BIB_library]/tab/tab_word_breaking. See rep_change 3487 in Additional information, below.

    Additional Information

    v20 rep_change 3487:

    Description: It is now possible to search for a term that includes opening brackets in the middle of a word, for example - "(e)conomics". See the Implementation Notes and also rep_change #383 (Aleph version 16).

    Implementation Notes:

    To search for a term that includes opening brackets in the middle of a word, add the routine "ccl_brackets1" to section 90 of ./[BIB_library]/tab/tab_word_breaking. The following is an example of section 90:

    90 # ccl_brackets1 c
    90 # to_blank_2 ,.;:

    The following should also be taken into account:

    1. The parameter of the routine "ccl_brackets1" can be either "c" (compress brackets) or "b" (replace by blank). For example, if the serach term is "(e)conomics" and the parameter is "c", the output of the routine is "economics". If the parameter is "b", the output is " e conomics".

    2. If the routine "to_blank" is used before "ccl_brackets1", make sure that the bracket signs - '(' and ')' - are not included. Otherwise, "to_blank" will remove all brackets - both logical and inner-word.

    Category: System Management (500)


    • Article last edited: 7/30/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Error opening library: "such column list already indexed" for Z101_ID
      • Error parsing find request" with parentheses
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. System Management (500)
      5. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved