kiwanami / emacs-skype

Skype UI for emacs users
Other
71 stars 14 forks source link

DBus void #5

Open rocknrollMarc opened 10 years ago

rocknrollMarc commented 10 years ago

Its telling me that my DBus variable is void, I guess I dont have dbus. Im on a mac OSX 10.9.2

How can I get around this? If you help me getting this to work ill help you with the dokumentation. ok?! screenshot

kiwanami commented 10 years ago

Hi @rocknrollMarc As far as I know, many emacs binaries for mac are not built with the dbus option. But, the current implementation should switch to the python interface under no dbus environment. Will you check the startup stacktrace, like command line: emacs --debug-init?

Benaiah commented 9 years ago

I have the same problem on an installation of emacs on OSX. Tried (debug-on-entry (require 'skype)) and got the following backtrace:

Debugger entered--entering a function:
* kill-buffer(#<buffer  *load*>)
* byte-code("\303\211\304\n!\210*\303\207" [kill-buffer-query-functions kill-buffer-hook buffer nil kill-buffer] 2)
  dbus-call-method(:session "com.Skype.API" "/org/freedesktop/DBus" "org.freedesktop.DBus.Peer" "Ping")
  byte-code("\305!\203\306   \n\f\307\310&\202\306  \n\f\307%?\207" [timeout bus service dbus-path-dbus dbus-interface-peer natnump dbus-call-method "Ping" :timeout] 8)
  dbus-ping(:session "com.Skype.API")
  skype--com-dbus-ping()
  apply(skype--com-dbus-ping nil)
  (let ((handlers (symbol-value skype--com-handlers))) (apply (assoc-default name handlers) args))
  skype--com-invoke-handler(ping)
  (not (skype--com-invoke-handler (quote ping)))
  (if (not (skype--com-invoke-handler (quote ping))) nil (skype--com "NAME emacs-skype") (skype--com "PROTOCOL 5") (skype--status-init) (skype--emoticons-init) (skype--init-chatmsg) (skype--cache-clear skype--chat-object-cache) (skype--cache-clear skype--user-object-cache) t)
  skype--init()
  eval-buffer(#<buffer  *load*> nil "/Users/imac2014/.emacs.d/elpa/skype-20131001.2118/skype.el" nil t)
  load-with-code-conversion("/Users/imac2014/.emacs.d/elpa/skype-20131001.2118/skype.el" "/Users/imac2014/.emacs.d/elpa/skype-20131001.2118/skype.el" nil t)
  require(skype)
  eval((require (quote skype)) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
kiwanami commented 9 years ago

Hi @Benaiah Will you try again with following code in your init.el?

(setq skype--com-handlers 'skype--com-handlers-py)
Benaiah commented 9 years ago

That makes (require 'skype) work, but whenever I do anything I get the following error: (setq skype--com-handlers 'skype--com-handlers-py).

kiwanami commented 9 years ago

@Benaiah The python bridge is merged patch, so I'm not sure the further situation. Well, do you have Skype4Py package? https://github.com/awahlig/skype4py