From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: emacsq Newsgroups: gmane.emacs.help Subject: Re: What does the error "Process not running" mean? Date: Thu, 03 Feb 2022 05:02:44 +0000 Message-ID: References: Reply-To: emacsq 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="10029"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 03 06:06:33 2022 Return-path: Envelope-to: geh-help-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 1nFUKH-0002Pb-FN for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 06:06:33 +0100 Original-Received: from localhost ([::1]:56012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFUKF-0004Cq-Aq for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 00:06:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFUH0-00047e-3c for help-gnu-emacs@gnu.org; Thu, 03 Feb 2022 00:03:10 -0500 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:36037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFUGj-0003iW-Gg for help-gnu-emacs@gnu.org; Thu, 03 Feb 2022 00:02:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1643864566; bh=D3jAM85b5J1T+la2Z4yjZl9kAt5YrOxcX9StmG4GSGM=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=vvM7MdpDm4jWaWHk3FEwsmFGyID8rjn9rsgSZgdli4AizixBLRKb+1bGr9Udy2fxX 1icPktju3G+VOxV/KZX5FQQaGmoujzrfVpoPhkdB198IxmBcSy+y/JjEMdhy5PCJu0 BOVDGWbYeBvCBAu0LCdMd1fc0l6Q1dd7P7tgOCID+Q1d/rl0vIGAfUijSzfMKAEly4 4j5ro7/2bEveGdjfwUNz/NdBgLiR51n/yYOyMUlNxK7u+et8Edy6dnFtxs3WT2tMv5 SPCq5yliIuVI21E/OzzSCk3NvjmwO1iuwf9aE9AxTKMfpHU1x9RqX/yPy9MVQHvJUX FF/kU02EWr0fA== In-Reply-To: Received-SPF: pass client-ip=185.70.43.24; envelope-from=laszlomail@protonmail.com; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135685 Archived-At: > > What does this error mean? I asked emacs to fetch an url, > > not start a process > > Yeah but I think that's what it does ... It may do that in the background, I meant from the user point of view I told emacs to fetch an url, so it telling me some process is not running does not help me as a user to know what the problem is. > > so why does it tell me this and how can I know from this > > what the actual error is? > > What did you do exactly? I have a document with hundreds of urls in it which needs to be checked if they are still alive and well, so I fetched them one by one with a code like this: (condition-case errmsg (url-retrieve "http://www.example.com" (lambda (status) (let ((error (plist-get status :error))) (if error (print error)) ...do something, then check next url...)) ) (error (print errmsg))) It works for most of the urls, it finds 404, non-existent domains and other errors, but for some urls it returns the error "Process http://www.example.com not running" which I don't know what it means. I tried finding this "process ... not running" text in the lisp code, but I couldn't find it. It's on windows, BTW.