[ECB-list] Error when activating ECB

80 views
Skip to first unread message

Arne Schmitz

unread,
Jun 14, 2012, 2:55:50 AM6/14/12
to ecb-...@lists.sourceforge.net
With the new-cedet branch of ECB I sometimes get the following error when trying to do ecb-activate:

ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: file-error, error-data: ("Opening directory" "permission denied" "/home/someuser"))

If I wait for a minute or two and try again, ECB will activate. The directory in question is indeed not readable by me, but I am not even consciously trying to access it.

Best regards,

Arne

Alex Ott

unread,
Jun 14, 2012, 3:15:40 AM6/14/12
to Arne Schmitz, ecb-...@lists.sourceforge.net
Hi

Please, update from repo - I added backtrace generation when error is
caught. When you'll reproduce this error once again, please send
backtrace here
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ecb-list mailing list
> Ecb-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecb-list
>



--
With best wishes,                    Alex Ott
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecb-list mailing list
Ecb-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecb-list

Arne Schmitz

unread,
Jun 14, 2012, 3:27:36 AM6/14/12
to Alex Ott, ecb-...@lists.sourceforge.net
Here it comes:

===================
All requirements for ECB 2.40 fulfilled - Enjoy it!
  backtrace()
  byte-code("Á ˆÂà \"‡" [err-obj backtrace ecb-clean-up-after-activation-failure "Errors during the layout setup of ECB."] 3)
  ecb-activate--impl()
  ecb-activate-internal()
  ecb-minor-mode(1)
  ecb-activate()
  ecb-auto-activate-hook()
  run-hooks(emacs-startup-hook)
  byte-code("...some weird stuff my email client did not want to paste..." [default-directory auto-save-list-file-name auto-save-list-file-prefix system-type inhibit-startup-hooks term-setup-hook abbreviate-file-name ms-dos make-directory file-name-directory t make-temp-name expand-file-name "~" format "%s%d-%s~" emacs-pid system-name run-hooks emacs-startup-hook pc set-face-attribute default nil :font font-spec fboundp frame-notice-user-settings frame-set-background-mode selected-frame font-menu-add-default window-setup-hook frame-initial-frame initial-window-system noninteractive face-font-rescale-alist old-face-font-rescale-alist] 6)
  normal-top-level()

The ECB is now deactivated.
ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: file-error, error-data: ("Opening directory" "permission denied" "/home/admin"))
===================

Best regards,

Arne

Alex Ott

unread,
Jun 14, 2012, 3:32:13 AM6/14/12
to Arne Schmitz, ecb-...@lists.sourceforge.net
Ok, thank you, although it's not so much useful information... I'll
look (hopefully today) onto error-handling code & will do more changes
there, and will notify you

Arne Schmitz

unread,
Jul 4, 2012, 8:35:47 AM7/4/12
to Alex Ott, ecb-...@lists.sourceforge.net
Hi Alex,

did you get any chance to look at this issue? I am getting this error more and more often. Only sometimes I can now activate ECB.
Best regards,

Arne

Arne Schmitz

unread,
Jul 4, 2012, 8:39:04 AM7/4/12
to ecb-...@lists.sourceforge.net
For your information: with only the *scratch* buffer in existence, I get a different error:

ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: wrong-type-argument, error-data: (stringp nil))

Regards,

Arne

Alex Ott

unread,
Jul 4, 2012, 8:42:48 AM7/4/12
to Arne Schmitz, ecb-...@lists.sourceforge.net
Hadn't looked, sorry - not so much free time

Alex Ott

unread,
Jul 4, 2012, 8:43:17 AM7/4/12
to Arne Schmitz, ecb-...@lists.sourceforge.net
Can you send me backtrace for this error (enable Debug on Error before
activating ECB)

Arne Schmitz

unread,
Jul 5, 2012, 3:24:57 AM7/5/12
to ecb-...@lists.sourceforge.net
Am 04. Juli 2012 um 14:43 schrieb Alex Ott <ale...@gmail.com>:

Can you send me backtrace for this error (enable Debug on Error before
activating ECB)
 
I have just gotten a new Emacs version at work, and can't reproduce the problem currently anymore! If it comes back, I will do that. But maybe the new Emacs version fixed it!

Best regards,

Arne

Arne Schmitz

unread,
Jul 5, 2012, 4:33:29 AM7/5/12
to Alex Ott, ecb-...@lists.sourceforge.net
Am 04. Juli 2012 um 14:43 schrieb Alex Ott <ale...@gmail.com>:
Can you send me backtrace for this error (enable Debug on Error before
activating ECB)

I've got the error again. The backtrace I get after toggle-debug-on-error is:
 

Debugger entered--Lisp error: (error "ECB 2.40: Errors during the layout setup of ECB. (error-type: wrong-type-argument, error-data: (stringp nil))")
  signal(error ("ECB 2.40: Errors during the layout setup of ECB. (error-type: wrong-type-argument, error-data: (stringp nil))"))
  error("ECB %s: %s (error-type: %S, error-data: %S)" "2.40" "Errors during the layout setup of ECB." wrong-type-argument (stringp nil))
  ecb-clean-up-after-activation-failure("Errors during the layout setup of ECB." (wrong-type-argument stringp nil))
  ecb-activate--impl()
  ecb-activate-internal()
  ecb-minor-mode(1)
  ecb-activate()
  call-interactively(ecb-activate t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

Best regards,

Arne

Alex Ott

unread,
Jul 5, 2012, 4:37:19 AM7/5/12
to Arne Schmitz, ecb-...@lists.sourceforge.net
ok, thank you - I'll try to debug it

Rob Reid

unread,
Dec 4, 2013, 3:15:13 PM12/4/13
to ecb-...@lists.sourceforge.net
I have started getting this error too after a recent reboot. Another user
on the system has their ~/ non world readable, and I guess they didn't
before.

I was able to get around it by switching to a buffer that was *NOT* in
/home, running ecb-activate, and then changing the ecb window layout to
"left11". That layout does not have the directory tree window. I find I
prefer it anyway, but I was surprised that the directory tree window would
care whether directories were readable if I was not trying to read them.

Best regards,

Rob




--
View this message in context: http://emacs.1067599.n5.nabble.com/Error-when-activating-ECB-tp235500p304985.html
Sent from the ecb-list mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk

Alex Ott

unread,
Feb 10, 2014, 10:14:27 AM2/10/14
to Rob Reid, ecb-...@lists.sourceforge.net
Hi Rob

Can you check the fresh snapshot - I've checked in the some changes yesterday that should prevent this error...
--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Skype: alex.ott

Rob Reid

unread,
Feb 10, 2014, 4:34:43 PM2/10/14
to ecb-...@lists.sourceforge.net
Thanks, but it didn't work.

The ECB 2.40 version might be wrong, but it is the ecb from the zip file of
https://github.com/alexott/ecb - which is the only ecb I left in my
~/site-lisp/, as ecb-snap. It seems to be finding the new version - C-h f
on ecb-directory-files goes to ~/site-lisp/ecb-common-browser.el, and the
help string says "Wrapper for directory-files that fixes the file name &
catch file errors".

Also, I had to remove the require ecb-autoloads from my ~/.emacs.el. This
is with GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9) of
2012-03-01 on c6b18n3.bsys.dev.centos.org (CentOS 6)

Here's the error message:

Debugger entered--Lisp error: (error "ECB 2.40: Errors during the layout
setup of ECB. (error-type: void-variable, error-data:
(display-buffer-alist))")
signal(error ("ECB 2.40: Errors during the layout setup of ECB.
(error-type: void-variable, error-data: (display-buffer-alist))"))
error("ECB %s: %s (error-type: %S, error-data: %S)" "2.40" "Errors during
the layout setup of ECB." void-variable (display-buffer-alist))
ecb-clean-up-after-activation-failure("Errors during the layout setup of
ECB." (void-variable display-buffer-alist))
(condition-case err-obj (let (... ...)
(ecb-enable-temp-buffer-shrink-to-fit ecb-compile-window-height) (if
use-last-win-conf ...) (ecb-redraw-layout-full ... nil ... ...) (if ... ...)
(when ... ... ...) (ecb-window-sync) (ecb-mode-line-format)) (error
(ecb-clean-up-after-activation-failure "Errors during the layout setup of
ECB." err-obj)))
(progn (when (< max-specpdl-size 3000) (ecb-modify-emacs-variable ... ...
3000)) (when (< max-lisp-eval-depth 1000) (ecb-modify-emacs-variable ... ...
1000)) (when (and ecb-running-xemacs ...) (ecb-modify-emacs-variable ... ...
t)) (ecb-check-cedet-load) (ecb-check-semantic-load)
(ecb-check-requirements) (condition-case err-obj (progn ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ...) (error ...)) (condition-case err-obj
(run-hooks ...) (error ...)) (setq ecb-minor-mode t) (condition-case err-obj
(let ... ... ... ... ... ... ... ...) (error ...)) (condition-case err-obj
(let ... ...) (error ...)) (condition-case err-obj (run-hooks ...) (error
...)) (condition-case err-obj (if ... ...) (error ...)) (setq ecb-minor-mode
t) (message "The ECB is now activated.") (condition-case err-obj (if ... ...
...) (error ...)) (ignore-errors (when ... ...)) (ignore-errors
(ecb-show-tip-of-the-day)) (ecb-enable-advices (quote
ecb-layout-basic-adviced-functions)) (condition-case err-obj (setq
ecb-activated-window-configuration ...) (error ...)))
(if (run-hook-with-args-until-failure (quote ecb-before-activate-hook))
(progn (when ... ...) (when ... ...) (when ... ...) (ecb-check-cedet-load)
(ecb-check-semantic-load) (ecb-check-requirements) (condition-case err-obj
... ...) (condition-case err-obj ... ...) (setq ecb-minor-mode t)
(condition-case err-obj ... ...) (condition-case err-obj ... ...)
(condition-case err-obj ... ...) (condition-case err-obj ... ...) (setq
ecb-minor-mode t) (message "The ECB is now activated.") (condition-case
err-obj ... ...) (ignore-errors ...) (ignore-errors ...) (ecb-enable-advices
...) (condition-case err-obj ... ...)))
(when (run-hook-with-args-until-failure (quote ecb-before-activate-hook))
(when (< max-specpdl-size 3000) (ecb-modify-emacs-variable ... ... 3000))
(when (< max-lisp-eval-depth 1000) (ecb-modify-emacs-variable ... ... 1000))
(when (and ecb-running-xemacs ...) (ecb-modify-emacs-variable ... ... t))
(ecb-check-cedet-load) (ecb-check-semantic-load) (ecb-check-requirements)
(condition-case err-obj (progn ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ...) (error ...)) (condition-case err-obj (run-hooks ...) (error
...)) (setq ecb-minor-mode t) (condition-case err-obj (let ... ... ... ...
... ... ... ...) (error ...)) (condition-case err-obj (let ... ...) (error
...)) (condition-case err-obj (run-hooks ...) (error ...)) (condition-case
err-obj (if ... ...) (error ...)) (setq ecb-minor-mode t) (message "The ECB
is now activated.") (condition-case err-obj (if ... ... ...) (error ...))
(ignore-errors (when ... ...)) (ignore-errors (ecb-show-tip-of-the-day))
(ecb-enable-advices (quote ecb-layout-basic-adviced-functions))
(condition-case err-obj (setq ecb-activated-window-configuration ...) (error
...)))
(let ((debug-on-error debug-on-error)) (when
(run-hook-with-args-until-failure ...) (when ... ...) (when ... ...) (when
... ...) (ecb-check-cedet-load) (ecb-check-semantic-load)
(ecb-check-requirements) (condition-case err-obj ... ...) (condition-case
err-obj ... ...) (setq ecb-minor-mode t) (condition-case err-obj ... ...)
(condition-case err-obj ... ...) (condition-case err-obj ... ...)
(condition-case err-obj ... ...) (setq ecb-minor-mode t) (message "The ECB
is now activated.") (condition-case err-obj ... ...) (ignore-errors ...)
(ignore-errors ...) (ecb-enable-advices ...) (condition-case err-obj ...
...)))
(if ecb-minor-mode (when (and ... ...) (ecb-select-ecb-frame)
(ecb-update-directories-buffer)) (let (...) (when ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))
ecb-activate--impl()
(if ecb-use-recursive-edit (if ecb-minor-mode (progn ... ...) (catch ...
... ...)) (ecb-activate--impl))
ecb-activate-internal()
(if new-state (ecb-activate-internal) (ecb-deactivate-internal))
(let ((new-state ...)) (if new-state (ecb-activate-internal)
(ecb-deactivate-internal)))
ecb-minor-mode(1)
ecb-activate()
call-interactively(ecb-activate t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)




--
View this message in context: http://emacs.1067599.n5.nabble.com/Error-when-activating-ECB-tp235500p313822.html
Sent from the ecb-list mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
Reply all
Reply to author
Forward
0 new messages