#2 "Process cleartool not running" error

closed-fixed
Alex Harsanyi
5
2007-01-02
2006-09-25
Anonymous
No

After I kill all other buffer but the current buffer
using following function:

(defun kill-other-buffers ()
"Kill all other buffers."
(interactive)
(mapc 'kill-buffer (delq (current-buffer) (buffer-
list))))

I get following error while trying to open a file:

tq-enqueue: Process cleartool not running [2 times]

or

byte-code: Process cleartool not running

Discussion

  • Alex Harsanyi
    Alex Harsanyi
    2006-09-25

    Logged In: YES
    user_id=158922

    Thanks for the bug report.

    The vc-clearcase package uses a hidden buffer to communicate with
    cleartool. This buffer is maintained internally by vc-clearcase and there is a
    bug in the recovery code when it is killed from outside vc-clearcase.

    I will prepare a patch in a few days, but meanwhile you might want to re-
    write kill-other-buffers to ignore hidden buffers -- several other packages
    use hidden buffers for their own purposes. A hidden buffer is simply a
    buffer whose name starts with a space character. Here is a sample
    implementation:

    (defun kill-other-buffers ()
    (interactive)
    (dolist (b (buffer-list))
    (unless (or (eq b (current-buffer))
    (and (buffer-name b)
    (eq ? (aref (buffer-name b) 0))))
    (kill-buffer b))))

    Best regards,
    Alex.

     
  • Alex Harsanyi
    Alex Harsanyi
    2006-09-25

    • assigned_to: nobody --> haral
    • status: open --> open-accepted
     
  • Alex Harsanyi
    Alex Harsanyi
    2006-10-04

    Logged In: YES
    user_id=158922

    Attached a patch that fixes this problem.

     
  • Alex Harsanyi
    Alex Harsanyi
    2006-10-04

    Patch to fix this problem

     
  • Alex Harsanyi
    Alex Harsanyi
    2006-10-04

    • status: open-accepted --> open-fixed
     
  • Alex Harsanyi
    Alex Harsanyi
    2007-01-02

    Logged In: YES
    user_id=158922
    Originator: NO

    This is fixed in release 1.95

     
  • Alex Harsanyi
    Alex Harsanyi
    2007-01-02

    • status: open-fixed --> closed-fixed