ejc-sql icon indicating copy to clipboard operation
ejc-sql copied to clipboard

direx.el no longer works after Emacs master commit d65534d254 on Dec 26 2021

Open mbarton98 opened this issue 4 years ago • 3 comments

After compiling Emacs from master, I got an error in my init file loading direx.el.

d65534d254 master * lisp/emacs-list/eieio-compat.el: Really move to obsolete

The database tree view did not work for me anyway, so I just commented out the (require 'ejc-direx) from ejc-sql.el

That allowed me to continue to use ejc-sql to connect and query my SnowFlake database from org mode. Looks like direx.el has not been updated in over six years and was relying on eieio-compat.el

mbarton98 avatar Dec 27 '21 23:12 mbarton98

I got error warning cl-generic-ensure-function: direx:tree-name is already defined as something else than a generic function when execute command ejc-connect.

stardiviner avatar Dec 30 '21 09:12 stardiviner

Got the same issue, but on installation of ejc-sql. Commenting out ejc-direx helped to get rid of this error for me.

kirill-gerasimenko-da avatar Sep 30 '22 09:09 kirill-gerasimenko-da

Maybe add an if condition to check on Emacs version? @kostafey

(when (version<= emacs-version "28")
  (require 'ejc-direx))

stardiviner avatar Sep 30 '22 10:09 stardiviner

Issue fixed. Sorry for the late response. Database tree will be constructed via different tree UI.

kostafey avatar Dec 08 '22 22:12 kostafey