GNU bug report logs - #22969
24.5; excorporate 0.7.0 split-string failure

Previous Next

Package: emacs;

Reported by: Devon Gleeson <dgleeson <at> tripwire.com>

Date: Wed, 9 Mar 2016 23:04:01 UTC

Severity: normal

Found in version 24.5

Done: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22969 in the body.
You can then email your comments to 22969 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22969; Package emacs. (Wed, 09 Mar 2016 23:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Devon Gleeson <dgleeson <at> tripwire.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 09 Mar 2016 23:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Devon Gleeson <dgleeson <at> tripwire.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 24.5; excorporate 0.7.0 split-string failure
Date: Wed, 9 Mar 2016 21:28:00 +0000
I installed excorporate from elpa. Excorporate connected to my exchange
server and said it was ready. I opened my calendar and hit the 'e' key,
I saw the following error in my mini-buffer and in *Messages*

Scheduled to <2016-03-09 Wed 18:00>
error in process filter: split-string: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil

The org-mode document *Excorporate* rendered, but had an incomplete list
of calendar events.



In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1404
Configured using:
 `configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp''

Important settings:
  locale-coding-system: utf-8-unix

Major mode: Calendar

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  global-auto-complete-mode: t
  ido-ubiquitous-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Contacting host: mail.tripwire.com:443
Opening TLS connection to `mail.tripwire.com'...
Opening TLS connection with `gnutls-cli --insecure -p 443 mail.tripwire.com'...done
Opening TLS connection to `mail.tripwire.com'...done
Contacting host: mail.tripwire.com:443 [2 times]
Excorporate: Connection ("dgleeson <at> tripwire.com" . "https://mail.tripwire.com/ews/exchange.asmx") is ready
Contacting host: mail.tripwire.com:443
Scheduled to <2016-03-09 Wed 18:00>
error in process filter: split-string: Wrong type argument: stringp, nil
error in process filter: Wrong type argument: stringp, nil

Load-path shadows:
/Users/dgleeson/.emacs.d/elpa/helm-20160307.2253/helm-multi-match hides /Users/dgleeson/.emacs.d/elpa/helm-core-20160307.2250/helm-multi-match
/Users/dgleeson/.emacs.d/elpa/soap-client-3.0.2/soap-inspect hides /Applications/Emacs.app/Contents/Resources/lisp/net/soap-inspect
/Users/dgleeson/.emacs.d/elpa/soap-client-3.0.2/soap-client hides /Applications/Emacs.app/Contents/Resources/lisp/net/soap-client
/Users/dgleeson/.emacs.d/elpa/ntlm-2.0.0/ntlm hides /Applications/Emacs.app/Contents/Resources/lisp/net/ntlm

Features:
(shadow sort mail-extr emacsbug sendmail org-element org-rmail org-mhe
org-irc org-info org-gnus org-docview doc-view jka-compr image-mode
org-bibtex bibtex org-bbdb org-w3m excorporate-org mule-util cal-move
mm-archive calc-arith calc-misc calc-bin calc-alg calc-ext calc-menu
calc-aent timezone parse-time network-stream starttls url-cache
excorporate excorporate-calendar fsm soap-client rng-xsd rng-dt rng-util
xsd-regexp xml url-http-ntlm warnings ntlm calc calc-loaddefs calc-macs
hmac-md5 hex-util md4 url-http tls url-gw flymake elisp-slime-nav
paredit saveplace idle-highlight-mode ob-python ob-clojure ob-ruby
powerline powerline-separators color powerline-themes help-mode dired+
image-dired image-file dired-x dired-aux dired dired-details deft
notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello
notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto
notmuch-mua notmuch-address notmuch-wash diff-mode coolj notmuch-query
goto-addr notmuch-tag crm notmuch-lib notmuch-version message rfc822 mml
mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec
smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums ac-cider cider tramp-sh cider-debug cider-browse-ns
cider-inspector cider-mode cider-resolve cider-interaction compile
arc-mode archive-mode cider-overlays cider-repl cider-test
cider-stacktrace cider-doc org-table org-location-google-maps org-agenda
google-maps google-maps-static google-maps-geocode google-maps-base json
org org-macro org-footnote org-pcomplete org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat
org-macs org-loaddefs find-func cider-grimoire cider-popup easy-mmode
cider-eldoc eldoc cider-client cider-common cider-util clojure-mode
align imenu nrepl-client tramp tramp-compat tramp-loaddefs trampver
shell pcomplete comint format-spec queue ewoc ansi-color etags
cider-compat seq spinner auto-complete-config auto-complete popup
multi-term term disp-table ehelp ring cl-macs calfw-ical url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap icalendar diary-lib diary-loaddefs calfw holidays
hol-loaddefs cal-menu calendar cal-loaddefs cl gv
tomorrow-night-bright-theme color-theme-tomorrow org-bullets
clojure-test-mode-autoloads color-theme-autoloads
dired-details-autoloads fiplr-autoloads gnuplot-autoloads
google-maps-autoloads highlight-indentation-autoloads makey-autoloads
muse-autoloads nyan-mode-autoloads pkg-info-autoloads epl-autoloads
queue-autoloads rainbow-delimiters-autoloads sass-mode-autoloads
haml-mode-autoloads slime-repl-autoloads slime-autoloads
starter-kit-bindings-autoloads windmove starter-kit-lisp-autoloads
starter-kit-autoloads smex starter-kit-misc ffap thingatpt
ido-ubiquitous ido-completing-read+ cus-edit cus-start cus-load wid-edit
ido paren starter-kit-defuns starter-kit-ruby-autoloads edmacro kmacro
advice idle-highlight-mode-autoloads paredit-autoloads url-auth
url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra
cl-loaddefs cl-lib cconv eieio-core gnus-util mm-util help-fns
mail-prsvr password-cache url-vars w3m-autoloads info easymenu package
epg-config time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process cocoa ns
multi-tty emacs)

Memory information:
((conses 16 438501 36281)
 (symbols 48 50409 0)
 (miscs 40 96 155)
 (strings 32 122575 14569)
 (string-bytes 1 3592597)
 (vectors 16 46288)
 (vector-slots 8 775872 9919)
 (floats 8 401 182)
 (intervals 56 705 0)
 (buffers 960 18))
<#secure method=pgpmime mode=sign>

-- 
Devon Gleeson
Sr. Software Engineer
TRIPWIRE | CONFIDENCE:SECURED
www.tripwire.com




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22969; Package emacs. (Wed, 09 Mar 2016 23:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 22969 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
To: Devon Gleeson <dgleeson <at> tripwire.com>
Cc: 22969 <at> debbugs.gnu.org
Subject: Re: bug#22969: 24.5; excorporate 0.7.0 split-string failure
Date: Wed, 09 Mar 2016 18:46:19 -0500
Hi Devon,

Devon Gleeson <dgleeson <at> tripwire.com> writes:

> I installed excorporate from elpa. Excorporate connected to my exchange
> server and said it was ready. I opened my calendar and hit the 'e' key,
> I saw the following error in my mini-buffer and in *Messages*
>
> Scheduled to <2016-03-09 Wed 18:00>
> error in process filter: split-string: Wrong type argument: stringp, nil
> error in process filter: Wrong type argument: stringp, nil
>
> The org-mode document *Excorporate* rendered, but had an incomplete list
> of calendar events.

Thanks for the bug report.  This happens when there are no invitees.
This will be fixed in 0.7.3 once I can merge soap-client.el, which
diverged on emacs-master.  In the meantime, I suspect these patches will
fix it for you (apply by hand):

--- ./excorporate.el~
+++ ./excorporate.el
@@ -649,7 +649,9 @@ (defun exco-calendar-item-iterate (response callback)
 				   end 'dateTime)))
 	     (location (cdr (assoc 'Location calendar-item)))
 	     (to-invitees (cdr (assoc 'DisplayTo calendar-item)))
-	     (main-invitees (mapcar 'org-trim (split-string to-invitees ";")))
+	     (main-invitees (when to-invitees
+			      (mapcar 'org-trim
+				      (split-string to-invitees ";"))))
 	     (cc-invitees (cdr (assoc 'DisplayCc calendar-item)))
 	     (optional-invitees (when cc-invitees
 				  (mapcar 'org-trim

--- ./excorporate-org.el~
+++ ./excorporate-org.el
@@ -88,8 +88,9 @@ (defun exco-org-insert-meeting (subject start end location
   (insert (format "+ Duration: %d minutes\n"
 		  (round (/ (float-time (time-subtract end start)) 60.0))))
   (insert (format "+ Location: %s\n" location))
-  (insert "+ Invitees:\n")
-  (exco-org-insert-invitees main-invitees)
+  (when main-invitees
+    (insert "+ Invitees:\n")
+    (exco-org-insert-invitees main-invitees))
   (when optional-invitees
     (insert "+ Optional invitees:\n")
     (exco-org-insert-invitees optional-invitees)))

Thomas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22969; Package emacs. (Thu, 10 Mar 2016 03:56:01 GMT) Full text and rfc822 format available.

Message #11 received at 22969 <at> debbugs.gnu.org (full text, mbox):

From: Devon Gleeson <dgleeson <at> tripwire.com>
To: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Cc: "22969 <at> debbugs.gnu.org" <22969 <at> debbugs.gnu.org>
Subject: Re: bug#22969: 24.5; excorporate 0.7.0 split-string failure
Date: Thu, 10 Mar 2016 03:54:32 +0000
[Message part 1 (text/plain, inline)]
Thomas Fitzsimmons <fitzsim <at> fitzsim.org> writes:

> Thanks for the bug report.  This happens when there are no invitees.
> This will be fixed in 0.7.3 once I can merge soap-client.el, which
> diverged on emacs-master.

Thanks for getting back to me so quickly! The patch fixes my issue!

-- 
Devon Gleeson
Sr. Software Engineer
TRIPWIRE | CONFIDENCE:SECURED
www.tripwire.com
[signature.asc (application/pgp-signature, inline)]

Reply sent to Thomas Fitzsimmons <fitzsim <at> fitzsim.org>:
You have taken responsibility. (Fri, 18 Mar 2016 12:01:01 GMT) Full text and rfc822 format available.

Notification sent to Devon Gleeson <dgleeson <at> tripwire.com>:
bug acknowledged by developer. (Fri, 18 Mar 2016 12:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 22969-done <at> debbugs.gnu.org (full text, mbox):

From: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
To: Devon Gleeson <dgleeson <at> tripwire.com>
Cc: 22969-done <at> debbugs.gnu.org
Subject: Re: bug#22969: 24.5; excorporate 0.7.0 split-string failure
Date: Fri, 18 Mar 2016 08:00:30 -0400
Devon Gleeson <dgleeson <at> tripwire.com> writes:

> Thomas Fitzsimmons <fitzsim <at> fitzsim.org> writes:
>
>> Thanks for the bug report.  This happens when there are no invitees.
>> This will be fixed in 0.7.3 once I can merge soap-client.el, which
>> diverged on emacs-master.
>
> Thanks for getting back to me so quickly! The patch fixes my issue!

This is fixed in 0.7.2, available in GNU ELPA.

Thomas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Apr 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.