From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 17:39:52 2016 Received: (at submit) by debbugs.gnu.org; 26 Feb 2016 22:39:52 +0000 Received: from localhost ([127.0.0.1]:47967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZR3A-0001UB-CE for submit@debbugs.gnu.org; Fri, 26 Feb 2016 17:39:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33563) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZR1g-0001Rp-CA for submit@debbugs.gnu.org; Fri, 26 Feb 2016 17:38:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZR1a-0001dK-4c for submit@debbugs.gnu.org; Fri, 26 Feb 2016 17:38:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZR1a-0001dC-1v for submit@debbugs.gnu.org; Fri, 26 Feb 2016 17:38:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZR1Z-0005U4-0g for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 17:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZR1X-0001bU-SE for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 17:38:12 -0500 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:33864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZR1X-0001b9-Mz for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 17:38:11 -0500 Received: by mail-qg0-x231.google.com with SMTP id b67so76844238qgb.1 for ; Fri, 26 Feb 2016 14:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=RYPovrb7mfm9syTyHqYaZ62BBrJqKEUBWhBN5/iVOsk=; b=snRfL/YmEcxXmgDQoRQyBbfoYQDxH1yxkhG+v44ZLzh75Si3J7UIuOCLbOJjvInNG4 4b0o9WyyeUfSFog2s8JOAXC4zK4Hf9LAicbx7e2VLBZZ2eBsVERuMd0OHCMDDpNpAYe4 NHR5fgM32qDToxlZhAguYwkXFYFlSDVXkRTt/bpDmpAbzVUkRA2tfL6i6XNfgO4MFDHv Nx69osh8dYSi+z8Ejo7BoUmRVLUZCroh7b+/1dh/xL5NWIFnYXePmrgTvKNAy2Jmv+7S Ag1H6KxLsJqNUKd6FqB9qEGGAMytuhTE0EuXoWMc/g57AnLzlg6YAO4FV+4ExNrljO87 1koA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=RYPovrb7mfm9syTyHqYaZ62BBrJqKEUBWhBN5/iVOsk=; b=HC4XQPBgfTlJuzPKV/qfDSxl7Bqy+bw1iIPtQpYQV8/4z45mAVtJ8A75et12oryGlR GlmTui5n7oT2IWTBV8P75ShBDLj97qbvYuk752WTu82CHoQ+FaMGq3G8oystogeUSRNb YxqVzRRTSv+uVYgqTB8880Ky7dYKs1aqNwQ8+ViQeKsbjSEBt5ZErdy2iQrJFo1u2eIT EDfUrGLsbtOKXBooK86DoFqQqM7/qsJkwFA7oiFNWkpvbXz7PE9/DePN6kTIiAW0YHjV 3Tbnv2vuoqrW/M6XqMZkJyMi4wU+4+m6dfJcddrT42WZQf4dWf9oldT3DYGkmW9lVrcp 77fA== X-Gm-Message-State: AD7BkJJlFEW7wpvrnc/fdU9IVmu9VfYGhBVt/I6QFlgwoo+n+kibruRvMFsaglc4SRYYrtg6wUqsNUISNKOT6Q== MIME-Version: 1.0 X-Received: by 10.140.97.202 with SMTP id m68mr5148879qge.102.1456526291101; Fri, 26 Feb 2016 14:38:11 -0800 (PST) Received: by 10.55.43.138 with HTTP; Fri, 26 Feb 2016 14:38:11 -0800 (PST) Date: Fri, 26 Feb 2016 17:38:11 -0500 Message-ID: Subject: 25.0.50; Excorporate 0.7: incorrect number of parameters to EWS FindItem From: Aaron Jacobs To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 26 Feb 2016 17:39:51 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This seems to be a bug in the `excorporate' package, version 0.7 as released yesterday on GNU ELPA I believe. The author has indicated that bugs should be reported using `M-x report-emacs-bug' (see release blog post at https://www.fitzsim.org/blog/?p=313), and so here one is: I have been unable to retrieve calendar events from our Exchange server. The relevant *fsm-debug* output for the event is as follows: Fri Feb 26 16:45:45 2016: exco--fsm [redacted] server version is Exchange2010_SP1 Fri Feb 26 16:47:36 2016: Sent "FindItem" to exco--fsm in state :retrieving-data Fri Feb 26 16:47:36 2016: Error in exco--fsm/:retrieving-data: Wrong number of parameters for FindItem: expected 5, got 6 This is my first time using the package. Autodiscovery was successful in my case, as evidenced by the successful retrieval of the server version. Any advice on this matter would be appreciated. In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-10-05 Repository revision: 1fa9f860564d1b7f223c73395b77efeab3b48555 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 20:39:11 2016 Received: (at 22823) by debbugs.gnu.org; 27 Feb 2016 01:39:11 +0000 Received: from localhost ([127.0.0.1]:48032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZTqh-0005XN-7A for submit@debbugs.gnu.org; Fri, 26 Feb 2016 20:39:11 -0500 Received: from mail-ig0-f177.google.com ([209.85.213.177]:35347) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZTqf-0005X9-6I for 22823@debbugs.gnu.org; Fri, 26 Feb 2016 20:39:09 -0500 Received: by mail-ig0-f177.google.com with SMTP id hb3so45579976igb.0 for <22823@debbugs.gnu.org>; Fri, 26 Feb 2016 17:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8XUIvdlaweT8XhLtsu68kEgjA9BB9pQTvuu6b6Ftxjw=; b=Crwiz45aJIE6BZrkERKX2kxfYkN/yEuGAzp0Y6NOHGpBpmB6JaaRaR3Xp78gMz79PH PhR7tGLFhLVZM865NdtfiwjG+w4Gjl8Wm0h6L59ubloVhjNOnxLrqjkPKb8kY3BiQ6o2 Wumc97bNZhKlg1zjYnLQX8q1hPSnPnByohUxgH8f+mZ3/7FxF1RmeAzNWXqj0tdbBPOT 7YwtTJL1aUbEbncBS967uPgeqhU/yuTnx+qfCatFfbJhsHoEWPCUY2+0UdHi+oen6DBW newHKCKuLz7MV3ODC9dWNtow3Q09/uL5748ueBaf1LLv52b6fTzJ7bhy8US7viz/pM/b VvXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8XUIvdlaweT8XhLtsu68kEgjA9BB9pQTvuu6b6Ftxjw=; b=f3V0ep5kCYNNrlPqWJ+fXtm0po4gsm6RrcnkRDBvAtoB646fk1nEo3eSslLOewqjMF bxi8F1X4TTaLM4A0ugSygHH1jS34V/okaIAxm6apXPGMPf/6HgtM45ESImgAKL/LFT53 CMqA8nBYbK9E4wKYEY8m9BrhWg6JwZ3LAtGvaNXmJkKnrXStDCd7lrgxVUm9N3xWRsyw EeLUYSspF/ruJfcEsd+bSqsIyXcGygDQdbXiv+OM4LvF9/BWEG52unUi5p/GpETisKEd +sJ+8IRuoSEjwtqsCpFZFMm/QnPzIpurrbs5j6k1KoC4oQ4ASITUhYypMoOn1KFWo4Hw VcGA== X-Gm-Message-State: AD7BkJIHRawMDfxHJk6jx918e2hP2JgzpWfkir6uF4wmhb4ga1VGXR3qhSAA7KNPDiNe8w== X-Received: by 10.50.178.148 with SMTP id cy20mr687734igc.61.1456537143760; Fri, 26 Feb 2016 17:39:03 -0800 (PST) Received: from hp-dv5t (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id ee9sm2498345igb.7.2016.02.26.17.39.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2016 17:39:03 -0800 (PST) From: Thomas Fitzsimmons To: Aaron Jacobs Subject: Re: bug#22823: 25.0.50; Excorporate 0.7: incorrect number of parameters to EWS FindItem References: Date: Fri, 26 Feb 2016 20:39:02 -0500 In-Reply-To: (Aaron Jacobs's message of "Fri, 26 Feb 2016 17:38:11 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22823 Cc: 22823@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Aaron, Aaron Jacobs writes: > This seems to be a bug in the `excorporate' package, version 0.7 as > released yesterday on GNU ELPA I believe. The author has indicated that > bugs should be reported using `M-x report-emacs-bug' (see release blog > post at https://www.fitzsim.org/blog/?p=313), and so here one is: > > I have been unable to retrieve calendar events from our Exchange server. > The relevant *fsm-debug* output for the event is as follows: > > Fri Feb 26 16:45:45 2016: exco--fsm [redacted] server version is > Exchange2010_SP1 > Fri Feb 26 16:47:36 2016: Sent "FindItem" to exco--fsm in state :retrieving-data > Fri Feb 26 16:47:36 2016: Error in exco--fsm/:retrieving-data: Wrong > number of parameters for FindItem: expected 5, got 6 > > This is my first time using the package. Autodiscovery was successful in > my case, as evidenced by the successful retrieval of the server version. > > Any advice on this matter would be appreciated. Thanks for the report. Can you try this patch (untested)? Thanks, Thomas --- ./excorporate.el~ +++ ./excorporate.el @@ -706,11 +706,14 @@ (defun exco-get-meetings-for-day (identifier month day year callback) (ParentFolderIds (DistinguishedFolderId (Id . "calendar")))) ;; Empty arguments. - ,@(let ((server-major-version - (string-to-number - (substring (exco-server-version identifier) 8 12)))) + ,@(let* ((server-version (exco-server-version identifier)) + (server-major-version (string-to-number + (substring server-version 8 12)))) (cond - ((<= server-major-version 2007) + ((or (<= server-major-version 2007) + ;; The FindItem argument count changed between + ;; Exchange2010_SP1 and Exchange2010_SP2. + (equal server-version "Exchange2010_SP1")) '(nil nil nil nil)) ((< server-major-version 2013) '(nil nil nil nil nil)) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 18 08:02:21 2016 Received: (at 22823-done) by debbugs.gnu.org; 18 Mar 2016 12:02:21 +0000 Received: from localhost ([127.0.0.1]:51817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agt6j-0007ID-Br for submit@debbugs.gnu.org; Fri, 18 Mar 2016 08:02:21 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:36330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agt6h-0007Hx-31 for 22823-done@debbugs.gnu.org; Fri, 18 Mar 2016 08:02:19 -0400 Received: by mail-ig0-f178.google.com with SMTP id nk17so20023985igb.1 for <22823-done@debbugs.gnu.org>; Fri, 18 Mar 2016 05:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=PZVLDFnGKXB1zbtFb0qPAUvTzoLlMUFOfaaaXc0RDfg=; b=w45B3CRaYc8MUcWyGJDNHeJtCF1xoFgDmXXI9S3S/3PgzG4csXNeG8y3uKQyPWVNMX vh2shHJg6llkAk7fU6zRVS/3rhsImR66o88bH/v3tO+9WVv+UaTBoy8o4xY81qYjCLh9 fM+5WpHq+co0w0D0QB33Sr7kgCjYF4tBKf4ICS1Vm1lZvgAEW8KffvJZ5m587mR80/OX RNRRclmLu0WzZHTRnLW7uzcyM1TUmBdbGf3BZUHl1aSetSUKU3vmNH2W9vE2xDPpTrZv 8GbUKMu3PgnPnHauhMa3JsvVC+qmkVwKrYXbLEo6vEmg1pvrW8m9uGajMctiMexOfbw8 YfTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=PZVLDFnGKXB1zbtFb0qPAUvTzoLlMUFOfaaaXc0RDfg=; b=l+N82RuT0pkaYrAR+JAv1mKtdPXPWnWfgBFFIHyiBcfiB1QKF9BRYUjW0yjUO942MS pMNGbqWMvZWGbX07/4H/1EU9Y/sTX9iSItcqzYdSK0XopWwExDbnqnD4RXZIB24RihYf pJNFZbNFFtUQJoRdSzKqnEPWktLephXR2Su/bkbKDbzcq6SipqMu+FsyHlLHoqrfodbB Ykf3GWxXw/IYXaPlMZVcQGqIoMv5shVkqaLlhfM9pxlIfXclaw1qqyC2G5qWbPoGcvPV U9ABBH54+LxnwNIiriAjszP03uwoxyBs39ibU0wvssCXqAG9KCj1klp/i2bNxITyWted l9bQ== X-Gm-Message-State: AD7BkJL3in2DKEapGzDTw2WZD673jfw9Slw0ZAtYmhYA8mO6iKZX134K5MFoiuNQRKdCmg== X-Received: by 10.50.50.234 with SMTP id f10mr23575234igo.37.1458302533590; Fri, 18 Mar 2016 05:02:13 -0700 (PDT) Received: from hp-dv5t (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id hv3sm14574477igb.13.2016.03.18.05.02.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Mar 2016 05:02:12 -0700 (PDT) From: Thomas Fitzsimmons To: Aaron Jacobs Subject: Re: bug#22823: 25.0.50; Excorporate 0.7: incorrect number of parameters to EWS FindItem References: Date: Fri, 18 Mar 2016 08:02:12 -0400 In-Reply-To: (Aaron Jacobs's message of "Fri, 26 Feb 2016 17:38:11 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22823-done Cc: 22823-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Aaron, This is fixed in Excorporate 0.7.2, now available in GNU ELPA. Thomas From unknown Sat Aug 16 21:12:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Apr 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator