From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#38034: Date: Sun, 19 Jul 2020 22:18:44 +0200 Message-ID: <874kq3l0m3.fsf@gnus.org> References: <20191102172250.GA17750@nuno-solus> <87sgland0r.fsf@atmarama.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11063"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38034@debbugs.gnu.org To: =?UTF-8?Q?Sa=C5=A1a_?= =?UTF-8?Q?Jani=C5=A1ka?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 19 22:20:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxFn7-0002js-De for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 22:20:09 +0200 Original-Received: from localhost ([::1]:38752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxFn5-0003c2-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 16:20:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxFn0-0003ai-Cw for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxFn0-000462-3Y for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxFmz-0004Ju-Ua for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 16:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jul 2020 20:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38034 X-GNU-PR-Package: emacs Original-Received: via spool by 38034-submit@debbugs.gnu.org id=B38034.159518994316529 (code B ref 38034); Sun, 19 Jul 2020 20:20:01 +0000 Original-Received: (at 38034) by debbugs.gnu.org; 19 Jul 2020 20:19:03 +0000 Original-Received: from localhost ([127.0.0.1]:33118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxFlz-0004IC-NN for submit@debbugs.gnu.org; Sun, 19 Jul 2020 16:19:03 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxFlw-0004Hx-ME for 38034@debbugs.gnu.org; Sun, 19 Jul 2020 16:18:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=KD4VkZd9fGkdnosq7KK6jN/aVTVnN+3w4eyDEp+l4j8=; b=qWtWElKEj6YxqFw+6CzXodPPZY H4j2U1GW1pCVRwTeE+nxEYS2pg1uxfxTjrysZrISV9AeJN5IiSUUzwkts6IceTkTfMo29RamyxZ/e 41dxglUyvHP+dKwbhwfkbAnIfyjDyYR8BCgIcPWWlx0OOKjfkfYj7jNPDOX0fXSM1qBc=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxFll-0004aX-Fo; Sun, 19 Jul 2020 22:18:50 +0200 In-Reply-To: <87sgland0r.fsf@atmarama.com> ("=?UTF-8?Q?Sa=C5=A1a_?= =?UTF-8?Q?Jani=C5=A1ka?="'s message of "Tue, 24 Dec 2019 13:06:44 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183266 Archived-At: Sa=C5=A1a Jani=C5=A1ka writes: > I'm exepriencing the same problem and did comment in > https://github.com/dengste/org-caldav/issues/189 > > Here is the output when using NextCloud-17.x: > > tree=E2=80=99s value is > ((DAV:error > (((#1=3D"http://www.w3.org/2000/xmlns/" . "d") > . "DAV:") > ((#1# . "s") > . "http://sabredav.org/ns")) > (http://sabredav\.org/nsexception nil "Sabre\\DAV\\Exception\\NotFo= und") > (http://sabredav\.org/nsmessage nil "Calendar object not found"))) Right, so you're getting back an error message, which means that we hit the "else" bit here. (if (eq (xml-node-name (car tree)) 'DAV:multistatus) (url-dav-dispatch-node (car tree)) (url-debug 'dav "Got back singleton response for URL(%S)" url) (let ((properties (url-dav-dispatch-node (car tree)))) ;; We need to make sure we have a DAV:status node in there for ;; higher-level code; (setq properties (plist-put properties 'DAV:status overall-status)) ;; Make this look like a DAV:multistatus parse tree so that ;; nobody but us needs to know the difference. (list (cons url properties)))))) And (url-dav-dispatch-node (car tree)) =3D> " " which means that the plist-put fails, of course. But I'm totally unfamiliar with url-dav (and DAV), so I have no idea what it really should be doing here. It says that it tries to return a DAV:multistatus parse tree... but what do those look like (when you don't have an error)? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no