https://bugs.kde.org/show_bug.cgi?id=475521

            Bug ID: 475521
           Summary: Updating Ctags session index: [CTags Error] Failed to
                    run. Error: execvp: No such file or directory
    Classification: Applications
           Product: kate
           Version: 23.08.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: henri...@posteo.net
  Target Milestone: ---

Updating *session* index for any directory causes error:

[CTags Error] Failed to run. Error: execvp: No such file or directory, exit
code: 255.

Adding same directories to *common* index from Settings -> Ctags and updating
works fine. "/home/henri/.local/share/kate/katectags/common_db" is created and
for example "Go to local symbol" works.

STEPS TO REPRODUCE
1. Install (universal) ctags
2. Enable Ctags plugin
3. Open Ctags session index from bottom panel's Ctags -tab.
4. Under "Index target" click "+ Add"
5. Choose any directory
6. Click "Update index"

OBSERVED RESULT

Error: [CTags Error] Failed to run. Error: execvp: No such file or directory,
exit code: 255.

EXPECTED RESULT

Shouldn't get error and indexing should work.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

$ ctags --version
Universal Ctags 6.0.0, Copyright (C) 2015-2022 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Feb  1 2023, 00:00:00
  URL: https://ctags.io/
  Output version: 0.0
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory,
+xpath, +json, +interactive, +sandbox, +yaml, +packcc, +optscript

Ctags is installed with DNF from official Fedora repo.

ADDITIONAL INFORMATION

Seems to happen with any directory. No spaces or special characters in file
path. Directory for datebase "$HOME/.local/share/kate/katectags/" exists. 

$ which ctags
/usr/bin/ctags

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to