djcb / mu

maildir indexer/searcher + emacs mail client + guile bindings
http://www.djcbsoftware.nl/code/mu
GNU General Public License v3.0
1.62k stars 391 forks source link

Weird error when trying to send an email #1480

Closed nanounanue closed 5 years ago

nanounanue commented 5 years ago

Expected or desired behavior

Send an email

Actual behavior

When tried to send and email I got the following error:

Debugger entered--Lisp error: (wrong-number-of-arguments #f(compiled-function (msg is-move maybe-view) #<bytecode 0x155b870bed81>) 2)
  #f(compiled-function (msg is-move maybe-view) #<bytecode 0x155b870bed81>)((:docid 244003 :subject "Test" :date (0 0 0) :size 356 :message-id "%016 lx@fake-msgid" :path "/home/nanounanue/Maildir/nanounanue-gmail/[nanouna..." :maildir "/nanounanue-gmail/[nanounanue].Borradores" :priority normal :flags (draft seen) :parts ((:index 1 :name "1.msgpart" :mime-type "text/plain" :type (leaf) :attachment nil :size 233)) :from (("Adolfo De Unánue" . "nanounanue@gmail.com")) :to ((nil . "adolfoaz@gmail.com")) :user-agent "mu4e 1.3.4; emacs 27.0.50" :body-txt "<#multipart type=alternative><#part type=text/plai...") nil)
  apply(#f(compiled-function (msg is-move maybe-view) #<bytecode 0x155b870bed81>) ((:docid 244003 :subject "Test" :date (0 0 0) :size 356 :message-id "%016 lx@fake-msgid" :path "/home/nanounanue/Maildir/nanounanue-gmail/[nanouna..." :maildir "/nanounanue-gmail/[nanounanue].Borradores" :priority normal :flags (draft seen) :parts ((:index 1 :name "1.msgpart" :mime-type "text/plain" :type (leaf) :attachment nil :size 233)) :from (("Adolfo De Unánue" . "nanounanue@gmail.com")) :to ((nil . "adolfoaz@gmail.com")) :user-agent "mu4e 1.3.4; emacs 27.0.50" :body-txt "<#multipart type=alternative><#part type=text/plai...") nil))
  mu4e~headers-update-handler((:docid 244003 :subject "Test" :date (0 0 0) :size 356 :message-id "%016 lx@fake-msgid" :path "/home/nanounanue/Maildir/nanounanue-gmail/[nanouna..." :maildir "/nanounanue-gmail/[nanounanue].Borradores" :priority normal :flags (draft seen) :parts ((:index 1 :name "1.msgpart" :mime-type "text/plain" :type (leaf) :attachment nil :size 233)) :from (("Adolfo De Unánue" . "nanounanue@gmail.com")) :to ((nil . "adolfoaz@gmail.com")) :user-agent "mu4e 1.3.4; emacs 27.0.50" :body-txt "<#multipart type=alternative><#part type=text/plai...") nil)
  mu4e-conversation--proc-filter(#<process  *mu4e-proc*> "\37697\377(:info add :path \"/home/nanounanue/Maildir/nan...")
  apply(mu4e-conversation--proc-filter (#<process  *mu4e-proc*> "\37697\377(:info add :path \"/home/nanounanue/Maildir/nan..."))
  mu4e~proc-filter(#<process  *mu4e-proc*> "\37697\377(:info add :path \"/home/nanounanue/Maildir/nan...")
  accept-process-output(#<process smtpmail> 0.05)
  network-stream-get-response(#<process smtpmail> 1 "^[0-9]+ .*\15\n")
  network-stream-open-starttls("smtpmail" #<buffer *trace of SMTP session to smtp.gmail.com*> "smtp.gmail.com" 587 (:type nil :return-list t :warn-unless-encrypted nil :capability-command "EHLO stafford-beer\15\n" :end-of-command "^[0-9]+ .*\15\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #f(compiled-function (capabilities) #<bytecode 0x155b8704dfbd>) :client-certificate t :use-starttls-if-possible t))
  open-network-stream("smtpmail" #<buffer *trace of SMTP session to smtp.gmail.com*> "smtp.gmail.com" 587 :type nil :return-list t :warn-unless-encrypted nil :capability-command "EHLO stafford-beer\15\n" :end-of-command "^[0-9]+ .*\15\n" :success "^2.*\n" :always-query-capabilities t :starttls-function #f(compiled-function (capabilities) #<bytecode 0x155b8704dfbd>) :client-certificate t :use-starttls-if-possible t)
  smtpmail-via-smtp(("XXXXXXX@gmail.com") #<buffer  smtpmail temp>)
  smtpmail-send-it()
  message-multi-smtp-send-mail()
  message--send-mail-maybe-partially()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  funcall-interactively(message-send-and-exit nil)
  call-interactively(message-send-and-exit nil nil)
  command-execute(message-send-and-exit)

(I obfuscate my email)

It happens with al my accounts, use to work before upgrading to the last version in github.

Steps to reproduce

Create an email and then press C-c C-c at the header to send it

Versions of mu, mu4e/emacs, operating system etc.

GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-08-10

mu4e - mu for emacs version 1.3.4 C

Any other detail

None

djcb commented 5 years ago

Probably some old code / new code mix up. Make sure you run ./autogen.sh before (re)building mu, and make no older versions are still lying around.

nanounanue commented 5 years ago

Thanks for your quick answer @djcb , I tried your suggestion but I am still having the same issue.

How can I guarantee that I don't have any other version around?

djcb commented 5 years ago

Ah, wait, there's mu4e-conversation--proc-filter, which is not part of mu4e, and which calls mu4e~headers-update-handler, perhaps the internal API changed.

Probably best file an issue again mu4e-conversation, https://gitlab.com/ambrevar/mu4e-conversation.

nanounanue commented 5 years ago

You are right! Thank you