Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-78512

[image mode] targetcli - SyntaxWarning: invalid escape sequence

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-10.0
    • targetcli
    • None
    • No
    • Moderate
    • rhel-storage-io-2
    • ssg_platform_storage
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Manual
    • None

      What were you trying to do that didn't work?

      Run targetcli in image mode system,

      bash-5.2# uname -r
      6.12.0-48.el10.x86_64
      bash-5.2# bootc status 
        Staged image: localhost/tmtmodified-1739074949
              Digest: sha256:00287057ff6262a87e70dd978916e0ae6634b5e083286a0f2ff62a4f7510173d
             Version: 10.20250208.0 (2025-02-09 04:03:33.275255396 UTC)● Booted image: localhost/tmtmodified-1739074949
              Digest: sha256:00287057ff6262a87e70dd978916e0ae6634b5e083286a0f2ff62a4f7510173d
             Version: 10.20250208.0 (2025-02-09 04:03:33.275255396 UTC)
      bash-5.2# rpm -q targetcli
      targetcli-2.1.58-3.el10.noarch
      bash-5.2# targetcli
      /usr/lib/python3.12/site-packages/targetcli/ui_root.py:163: SyntaxWarning: invalid escape sequence '\s'
        backups = [line for line in prefs.read().splitlines() if re.match('^max_backup_files\s*=', line)]
      /usr/lib/python3.12/site-packages/configshell_fb/console.py:39: SyntaxWarning: invalid escape sequence '\['
        _re_ansi_seq = re.compile('(\033\[..?m)')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:116: SyntaxWarning: invalid escape sequence '\+'
        var = Word(alphanums + '?;&*$!#,=_\+/.<>()~@:-%[]')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:118: SyntaxWarning: invalid escape sequence '\-'
        keyword = Word(alphanums + '_\-')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:124: SyntaxWarning: invalid escape sequence '\['
        pathstd = Regex('([A-Za-z0-9:_.\[\]]|-)*' + '/' + '([A-Za-z0-9:_.\[\]/]|-)*') \
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:124: SyntaxWarning: invalid escape sequence '\['
        pathstd = Regex('([A-Za-z0-9:_.\[\]]|-)*' + '/' + '([A-Za-z0-9:_.\[\]/]|-)*') \
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:131: SyntaxWarning: invalid escape sequence '\|'
        readline.set_completer_delims('\t\n ~!#$^&(){}\|;\'",?')
      targetcli shell version 2.1.58
      Copyright 2011-2013 by Datera, Inc and others.
      For help on commands, type 'help'./> 
      

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      No this waring 'syntaxWarning: invalid escape sequence'

      Actual results

              mlombard@redhat.com Maurizio Lombardi
              rhn-support-zguo Zhaojuan Guo
              Maurizio Lombardi Maurizio Lombardi
              Zhaojuan Guo Zhaojuan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: