eqyiel / circe-notifications

Add desktop notifications to Circe.
25 stars 11 forks source link

Can't make `circe-notifications` work #4

Closed soupault closed 8 years ago

soupault commented 8 years ago

Hello! I've an issue running circe-notifications. Emacs starts fine without any warning, but once I execute circe the following message is being shown:

Loading /home/user/.emacs.d/rc/rc-circe.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Error running event "irc.registered" handler circe--irc-conn-registered: (file-error Cannot open load file no such file or directory alert) (args were (#<process irc.freenode.net> "irc.registered" "user"))

In rc-circe.el I have circe-notifications configured by:

(autoload 'enable-circe-notifications "circe-notifications" nil t)
(add-hook 'circe-server-connected-hook 'enable-circe-notifications)

If I remove circe-notifications and run pure circe, I get no warnings.

eqyiel commented 8 years ago

Hi @soupault, it sounds like you don't have alert installed. Do you still see this error after putting that somewhere in your load-path?

soupault commented 8 years ago

@eqyiel after installing alert I'm getting a whole lot of different errors (separate error for each message in the channels):

For information about GNU Emacs and the GNU system, type C-h C-a.
Error running event nil handler circe--irc-display-event: (wrong-type-argument stringp t) (args were (#<process irc.freenode.net> "JOIN" "soupault!~user@ip-66-66-66-66.bb.netbynet.ru" "#emacs" "soupault" "user")) 
Error running event nil handler circe--irc-display-event: (wrong-type-argument stringp t) (args were (#<process irc.freenode.net> "irc.message" "patricles!~user@cpe-69-206-251-11.nyc.res.rr.com" "#emacs" "twb: it seems good but if i sexp eval a malformed statement it does nothing"))
Error running event nil handler circe--irc-display-event: (wrong-type-argument stringp t) (args were (#<process irc.freenode.net> "irc.message" "fsbot!~fsbot@unaffiliated/deego/bot/fsbot" "#emacs" "\"Doctor! Doctor! It hurts when I do <this>!\""))
Error running event nil handler circe--irc-display-event: (wrong-type-argument stringp t) (args were (#<process irc.freenode.net> "irc.message" "fsbot!~fsbot@unaffiliated/deego/bot/fsbot" "#emacs" "\"Well, don't do <that>, then!\""))
...
eqyiel commented 8 years ago

Hey @soupault, do you still see this issue after the changes in #5?

soupault commented 8 years ago

@eqyiel Seems to be fixed now. I need to configure something, but the popup notifications do work. Thanks!