all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacsq <laszlomail@protonmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: What does the error "Process <URL> not running" mean?
Date: Thu, 03 Feb 2022 06:59:45 +0100	[thread overview]
Message-ID: <8735l0o518.fsf@gnu.org> (raw)
In-Reply-To: <vl280vhntPNdQDUmsLhLgkG8zH86PcD27XprpOWC3NVO9YAXZUPP3WHGSyMNMMm_NyLjGXfRoBmhVKvqoQxqerxDUdAZYqOnbqOk9ym2JQI=@protonmail.com>

emacsq <laszlomail@protonmail.com> writes:

>> 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)))

I'd start by printing the complete status plist and see if that sheds
some light.  I assume that you might be hitting some kind of "max number
of child processes" limit since you are talking about hundreds of URLs,
and `url-retrieve' is asynchronous.

You might want to check if `url-retrieve-synchronously' works.  If it
does (but takes much longer, obviously), then the above is most probably
the cause.  In that case, you could try to structure your code so that
it doesn't retrieve all URLs in one go but in chunks of, say, 20 and
starts the next chunk not before the previous is finished.

Bye,
Tassilo



  reply	other threads:[~2022-02-03  5:59 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02 19:52 What does the error "Process <URL> not running" mean? emacsq
2022-02-03  0:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-03  5:02 ` emacsq
2022-02-03  5:59   ` Tassilo Horn [this message]
     [not found]     ` <5Opci81-9PcO6g1ljSQMCeDxh03cTnw4IEQWRzc2QInT4V52Ph2nB2WyyrBkSR11O8A9W4Coh1Wz=5FJ9v-JeqnFC3melWsBOK2-hU9f2tyWQ=3D@protonmail.com>
     [not found]       ` <Ckg2a8v34NSsrKnpfXhAXAOdIOvwsFqlv12BoMp9tr1AiSOzlmoJFCSu7I3hi5c2c-Kv3A3L175kXYQZHG8PVQfp7EpUWK8Vj21kFYx21Mo=3D@protonmail.com>
     [not found]         ` <TalBxoV5qsEqukLpxb9v9C3cjNPPN86=5FH3ruOHNa1PAofx8PLEGFBsC=5FVE8Jye18zcNRLar9mbeAoNguQshYRZ-kjdPWLK=5FTE0uggtyb2Lg=3D@protonmail.com>
2022-02-03  6:18     ` emacsq
2022-02-03  8:08       ` emacsq
2022-02-03  8:49         ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-03  9:27         ` Eli Zaretskii
2022-02-03 10:10         ` emacsq
2022-02-03 10:35           ` Eli Zaretskii
2022-02-03 13:32             ` Robert Pluim
2022-02-03 15:05           ` emacsq
2022-02-03 20:07             ` Tassilo Horn
     [not found]               ` <3qySp5xSA2V0n9C8vwql9UbGKia8POa7OZcDnXg6e8jvW59uKuICMg8MMi5o-drq2sIcWWOejQJhal9aBXZaZM09a6oyenNylYn n5Qjp-H8=3D@protonmail.com>
     [not found]                 ` <6Ox0QxOSiVddeNsCaACeldkV9F-Nh9dM-rRERWveYqhG8t126cIm2MGmadX7Uy8YL-IQX9-Y=5F=5FZjAwEKArVB5v81UoZWZ7U4=5F1R70ywhZZY=3D@protonmail.com>
     [not found]                   ` <kQ5WkoUp-ir-MeV9eFbiOXYaopRMN0pcwlurXw1SD72U?= =?us-ascii?Q?PJ-pcb1MUYYK3T5ucsurROJMoHHQJ0wR9=5FVRECOWyuXe95B3PJgZ-phCdgdUpHk=3D@protonmail.com>
     [not found]                     ` <8jy--UTf4wNbxysxHArjzE3ADfF5mB=5FZsfnFd7sgKpf=5FGM=5F9O5YqVK1PH1QbnoizHbb6HonK-BeQEQx0OpCmSRnMSpJzNTcHHXASGOoiD9I=3D@protonmail.com>
     [not found]                       ` <waNRXNl-vCnaC-u0F0hzugc4OjmLVw35PmjluKisu6G9euFh2IXTKrhR=5FVY1CJ0II2LP49ybLHsvIiu-d6TuwIa0vdN rLJ8ULCaBk=5FR38O8=3D@protonmail.com>
     [not found]                       ` <waNRXNl-vCnaC-u0F0hzugc4OjmLVw35PmjluKisu6G9euFh2IXTKrhR=5FVY1CJ0II2LP49ybLHsvIiu-d6TuwIa0vdNrLJ8ULCaBk=5FR38O8=3D@protonmail.com>
     [not found]               ` <3qySp5xSA2V0n9C8vwql9UbGKia8POa7OZcDnXg6e8jvW59uKuICMg8MMi5o-drq2sIcWWOejQJhal9aBXZaZM09a6oyenNylYnn5Qjp-H8=3D@protonmail.com>
2022-02-03 20:34               ` emacsq
2022-02-03 20:47                 ` emacsq
2022-02-06 16:24                   ` emacsq
2022-02-06 16:54                     ` Eli Zaretskii
2022-02-06 18:25                     ` emacsq
2022-02-06 19:20                       ` emacsq
2022-02-07 17:35                         ` emacsq
2022-02-07 19:48                           ` Tassilo Horn
     [not found]                             ` <=3D5FcUGEWwwd0FeA1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BYH-YMsVim1q3G8b3ZNnmPMGB0ZgQP7=3D5F2Ib5vLqAHln3bVDUOqT3eU=3D3D@protonmail.com>
     [not found]                             ` <=5FcUGEWwwd0FeA1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BYH-YMsVim1q3G8b3ZNnmPMGB0ZgQP7=5F2Ib5vLqAHln3bVDUOqT3eU=3D@protonmail.com>
     [not found]                             ` <=3D5FcUGEWwwd0FeA1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BY H-YMsVim1q3G8b3ZNnmPMGB0ZgQP7=3D5F2Ib5vLqAHln3bVDUOqT3eU=3D3D@protonmail.com>
2022-02-07 20:10                             ` Eli Zaretskii
2022-02-08  5:55                               ` Tassilo Horn
2022-02-08 12:33                                 ` Eli Zaretskii
2022-02-08 13:24                               ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-08 16:20                                 ` Robert Pluim
2022-02-08 17:49                                   ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-08 18:35                                   ` Eli Zaretskii
2022-02-09  8:43                                     ` Robert Pluim
2022-02-09  9:34                                       ` Po Lu
2022-02-09  9:45                                         ` Po Lu
2022-02-09  9:53                                         ` Robert Pluim
2022-02-09 14:17                                       ` Eli Zaretskii
2022-02-10 14:20                                         ` Robert Pluim
2022-02-07 20:33                             ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-07 20:36                             ` emacsq
2022-02-08  6:01                               ` emacsq
2022-02-08  7:10                                 ` emacsq
2022-02-08 10:37                                   ` Robert Pluim
     [not found]                                     ` <IVE50-HMjFHOAVjWY7EGgqGQqfr-ZFf5Tf gkjsYU8KSrVGPgKO4MNzEy=5F7AvZE2oqDAoCj8N6todiJhbx1XeBMIgs96uTgqJmi9jGp9QsOQ=3D@protonmail.com>
     [not found]                                       ` <aR8DUrM=5FqNL0D1t-H38HOJZjxSN8FuTKFSAWf9JOBl2o1hIf02Br-jh7m6mGKbs0vq8kpBP=5FeYvQ=5FaHuaLzfMTC3308MIPh7JXJB=5Fm2?= =?us-ascii?Q?WlPs=3D@protonmail.com>
2022-02-08 13:06                                     ` Eli Zaretskii
2022-02-08 16:22                                     ` emacsq
2022-02-08 18:27                                       ` emacsq
2022-02-09 11:28                                         ` emacsq
2022-02-09 12:55                                           ` emacsq
2022-02-03  7:34   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-03 15:27   ` [External] : " Drew Adams
2022-02-03 16:54     ` emacsq
2022-02-03  6:57 ` Eli Zaretskii
     [not found] <BphWlZUu16KoEBDHOcSV5zR7MGU13qm4O-VpG0Vpd5AMTu4mSvvKAZaViOFHQiwbNBLfIMCNPCTYtheBJQBycFHtEPeacyUDSN-rlu=3D5FUWQw=3D3D@protonmail.com>
     [not found] ` <6Ox0QxOSiVddeNsCaACeldkV9F-Nh9dM-rRERWveYqhG8t126cIm2MGmadX7Uy8YL-IQX9-Y=3D5F=3D5FZjAwEKArVB5v81UoZWZ7U4=3D5F1R70ywhZZY=3D3D@protonmail.com>
     [not found]   ` <kQ5WkoUp-ir-MeV9eFbiOXYaopRMN0pcwlurXw1SD72UPJ-pcb1MUYYK3T5ucsurROJMoHHQJ0wR9=3D5FVRECOWyuXe95B3PJgZ-phCdgdUpHk=3D3D@protonmail.com>
     [not found]     ` <8jy--UTf4wNbxysxHArjzE3ADfF5mB=3D5FZsfnFd7sgKpf=3D5FGM=3D5F9O5YqVK1PH1QbnoizHbb6HonK-BeQEQx0OpCmSRnMSpJzNTcHHXASGOoiD9I=3D3D@protonmail.com>
     [not found] <BphWlZUu16KoEBDHOcSV5zR7MGU13qm4O-VpG0Vpd5AMTu4mSvvKAZaViOFHQiwbNBLfIMCNPCTYtheBJQBycFHtEPeacyUDSN-rlu=5FUWQw=3D@protonmail.com>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735l0o518.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=laszlomail@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.