Launchpad has imported 2 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=475521.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2023-10-12T15:27:45+00:00 Henrikau wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kate/+bug/2086572/comments/0

------------------------------------------------------------------------
On 2023-10-14T14:51:38+00:00 9-christoph wrote:

Git commit 5ea1d5df75685505bd5c08cf9328a51dd2968845 by Christoph Cullmann.
Committed on 14/10/2023 at 16:51.
Pushed by cullmann into branch 'master'.

better handling of ctags process starting

M  +7    -8    addons/kate-ctags/kate_ctags_plugin.cpp
M  +9    -8    addons/kate-ctags/kate_ctags_view.cpp

https://invent.kde.org/utilities/kate/-/commit/5ea1d5df75685505bd5c08cf9328a51dd2968845

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kate/+bug/2086572/comments/1


** Changed in: kate
       Status: Unknown => Fix Released

** Changed in: kate
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kate in Ubuntu.
https://bugs.launchpad.net/bugs/2086572

Title:
  kate fails to update ctags index

To manage notifications about this bug go to:
https://bugs.launchpad.net/kate/+bug/2086572/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to