Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBus void #5

Open
rocknrollMarc opened this issue Mar 25, 2014 · 5 comments
Open

DBus void #5

rocknrollMarc opened this issue Mar 25, 2014 · 5 comments

Comments

@rocknrollMarc
Copy link

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
Copy link
Owner

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
Copy link

Benaiah commented Sep 29, 2014

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
Copy link
Owner

kiwanami commented Oct 2, 2014

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

(setq skype--com-handlers 'skype--com-handlers-py)

@Benaiah
Copy link

Benaiah commented Oct 16, 2014

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

@kiwanami
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants