From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Brady Trainor Newsgroups: gmane.emacs.bugs Subject: bug#36499: 26.2.90; file-error spinner-1.7.3.el, Bad Request Date: Wed, 03 Jul 2019 20:39:15 -0700 Message-ID: <20190704033917.1D71980059@mailuser.nyi.internal> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12363"; mail-complaints-to="usenet@blaine.gmane.org" To: 36499@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 17:06:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hj3JQ-00034Y-Sd for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 17:06:17 +0200 Original-Received: from localhost ([::1]:46690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj3JP-0005Vo-Sb for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 11:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35317) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj3JF-0005UP-Tx for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 11:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj3JD-0004QB-Rt for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 11:06:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj3JC-0004Po-L6 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hj3JC-0002ED-F3 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brady Trainor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2019 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36499 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15622527228516 (code B ref -1); Thu, 04 Jul 2019 15:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2019 15:05:22 +0000 Original-Received: from localhost ([127.0.0.1]:51705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj3IX-0002DH-0t for submit@debbugs.gnu.org; Thu, 04 Jul 2019 11:05:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hisai-0003hF-EQ for submit@debbugs.gnu.org; Wed, 03 Jul 2019 23:39:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53825) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hisag-0002Ly-Ey for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 23:39:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hisae-0001px-GR for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 23:39:22 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:52235) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hisae-0001ow-4J for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 23:39:20 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2DE4521C39; Wed, 3 Jul 2019 23:39:18 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 03 Jul 2019 23:39:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tangential.info; h=from:to:subject:date:mime-version:content-type :content-transfer-encoding:message-id; s=fm1; bh=rcotNw6R4/goohZ /t7d59qZHOA3eHlIr6AZUcXsIpa4=; b=Wcn0aGEz0nG57Di+YjKrl+pDpXyy4OZ 0O2iPKZawB2iIEZKf2Gu3C3gZr7YS0tlJGHJtBSjT720Dk3B/c7i8pJbgct7lA3n KPYqB2E4sIuYXckiBwob+ZLm15fTEI3S4tvTaVGzj9VeF4dvG8VAKfcU9a79XhHF rjZElv64bIVULhQqgJi38/8xPmeCE/V05wX6n/11B/msfoSnIRGO/wXnn5uOfrbd cMlP8CA0Pcves/Bk62+rfqCvL9yaAwgLrPleDpHVR7r03fn62HEfRfBl26dqW17D JLU5RhP2ys9gODMDeTg/Ipcw532iORiZk3kj7veo7MKC+cjSd8UyAww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rcotNw 6R4/goohZ/t7d59qZHOA3eHlIr6AZUcXsIpa4=; b=C+HRszgw/XtxDJ0C2Sp+rR ykS4EKhFhl2YhJTCbqCAX7PdwvMOvJafa/1AqqIuGliw2crNPP5q/Q3Jf/RdqdXJ BG7OitG57v0xx3a3DNBZXWiV42K5XzjFNv1V20X8eGmVLWpMr1bRLA3XudSIYIt7 tLcO3vQKtCmTpRMRZAtm+MjlFsyDut/uI9L224YD1/SVx0rSrOoPbsV4tNwA88Gx T7rBUFROypVWpM8FyVfan1nlCQ/ZhbuS9TEhAj4rdTSDARizvKb7IRcwtFjb0TJl TLCqWJJkhzqAnybGpjnSyq3wkTrScc6NYDDd4RtTszqqf55YLDyQh6ocH3zw4NPQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedugdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffgggtgffksehtqheftddttd dtnecuhfhrohhmpeeurhgrugihucfvrhgrihhnohhruceovghmrggtshesthgrnhhgvghn thhirghlrdhinhhfoheqnecuffhomhgrihhnpehjsghlvghvihhnshdrohhrghdpmhgvlh hprgdrohhrghdpghhithhhuhgsrdgtohhmpdhgnhhurdhorhhgnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmrghilhessghrrgguhihtrdgtohhmnecuvehluhhsthgvrhfuihiivg eptd X-ME-Proxy: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Thu, 04 Jul 2019 11:05:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162061 Archived-At: Hello, When I setup lsp-java in a Docker to verify setup steps, I get intermittent errors as package.el tries to install a requirement from elpa.gnu. If I experiment with different OSes, different emacs versions, it is difficult to reproduce. With the description below, of a Dockerfile and an init.el, the issue happens seems to happen more frequently if I have iterated on restart a few times in a row. The init.el is as follows. --8<---------------cut here---------------start------------->8--- (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/"))) (package-initialize) (unless package-archive-contents (package-refresh-contents)) (package-install 'lsp-java) --8<---------------cut here---------------end--------------->8--- The contents of the Dockerfile are as follows. --8<---------------cut here---------------start------------->8--- FROM silex/emacs ADD .emacs.d /root/.emacs.d CMD "emacs" "--debug-init" --8<---------------cut here---------------end--------------->8--- The Dockerfile and the .emacs.d/init.el are in the same directory. Then, in that directory, I call with the following. --8<---------------cut here---------------start------------->8--- docker build . -t this:one && docker run --rm -it this:one --8<---------------cut here---------------end--------------->8--- I then get the following error, but neither 0% nor 100% of the time. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (file-error "https://elpa.gnu.org/packages/sp= inner-1.7.3.el" "Bad Request") signal(file-error ("https://elpa.gnu.org/pac= kages/spinner-1.7.3.el" "Bad Request")) package-install-from-archive(#s(pac= kage-desc :name spinner :version (1 7 3) :summary "Add spinners and progres= s-bars to the mode-line for ongoing operations" :reqs nil :kind single :arc= hive "gnu" :dir nil :extras ((:keywords "processes" "mode-line") (:authors = ("Artur Malabarba" . "emacs@endlessparentheses.com")) (:maintainer "Artur M= alabarba" . "emacs@endlessparentheses.com") (:url . "https://github.com/Mal= abarba/spinner.el")) :signed nil)) mapc(package-install-from-archive (#s(package-desc :name request :version= (20190621 1622) :summary "Compatible layer for URL request in Emacs" :reqs= ((emacs (24 4))) :kind single :archive "melpa" :dir nil :extras ((:commit = . "ef9f509b5579f2b529a20e43f7e0f061e641fec5") (:authors ("Takafumi Arakaki = ")) (:maintainer "Takafumi Arakaki ") (:url . "https://github.com/tkf/emacs-request")) :signed nil) #s(pac= kage-desc :name dash :version (20190424 1804) :summary "A modern list libra= ry for Emacs" :reqs nil :kind single :archive "melpa" :dir nil :extras ((:c= ommit . "77f3bf40c9c85386a50f2dab3dc950513f6f88bd") (:keywords "lists") (:a= uthors ("Magnar Sveen" . "magnars@gmail.com")) (:maintainer "Magnar Sveen" = . "magnars@gmail.com")) :signed nil) #s(package-desc :name dash-functional = :version (20180107 1618) :summary "Collection of useful combinators for Ema= cs Lisp" :reqs ((dash (2 0 0)) (emacs (24))) :kind single :archive "melpa" = :dir nil :extras ((:commit . "77f3bf40c9c85386a50f2dab3dc950513f6f88bd") (:= keywords "lisp" "functions" "combinators")) :signed nil) #s(package-desc :n= ame ht :version (20190611 2131) :summary "The missing hash table library fo= r Emacs" :reqs ((dash (2 12 0))) :kind single :archive "melpa" :dir nil :ex= tras ((:commit . "5650a8cd190badb49d28d21e72a2f55c9380de7b") (:keywords "ha= sh table" "hash map" "hash") (:authors ("Wilfred Hughes" . "me@wilfred.me.u= k")) (:maintainer "Wilfred Hughes" . "me@wilfred.me.uk")) :signed nil) #s(p= ackage-desc :name s :version (20180406 808) :summary "The long lost Emacs s= tring manipulation library." :reqs nil :kind single :archive "melpa" :dir n= il :extras ((:commit . "03410e6a7a2b11e47e1fea3b7d9899c7df26435e") (:keywor= ds "strings") (:authors ("Magnar Sveen" . "magnars@gmail.com")) (:maintaine= r "Magnar Sveen" . "magnars@gmail.com")) :signed nil) #s(package-desc :name= f :version (20190109 906) :summary "Modern API for working with files and = directories" :reqs ((s (1 7 0)) (dash (2 2 0))) :kind single :archive "melp= a" :dir nil :extras ((:commit . "8191672377816a1975414cc1f116fd3b94b30bd0")= (:keywords "files" "directories") (:authors ("Johan Andersson" . "johan.re= jeep@gmail.com")) (:maintainer "Johan Andersson" . "johan.rejeep@gmail.com"= ) (:url . "http://github.com/rejeep/f.el")) :signed nil) #s(package-desc :n= ame markdown-mode :version (20190305 319) :summary "Major mode for Markdown= -formatted text" :reqs ((emacs (24 4)) (cl-lib (0 5))) :kind single :archiv= e "melpa" :dir nil :extras ((:commit . "115f77df9755c6a453f3e5d9623ff885d20= 7ea82") (:keywords "markdown" "github flavored markdown" "itex") (:authors = ("Jason R. Blevins" . "jblevins@xbeta.org")) (:maintainer "Jason R. Blevins= " . "jblevins@xbeta.org") (:url . "https://jblevins.org/projects/markdown-m= ode/")) :signed nil) #s(package-desc :name spinner :version (1 7 3) :summar= y "Add spinners and progress-bars to the mode-line for ongoing operations" = :reqs nil :kind single :archive "gnu" :dir nil :extras ((:keywords "process= es" "mode-line") (:authors ("Artur Malabarba" . "emacs@endlessparentheses.c= om")) (:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:ur= l . "https://github.com/Malabarba/spinner.el")) :signed nil) #s(package-des= c :name lsp-mode :version (20190629 546) :summary "LSP mode" :reqs ((emacs = (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) = (spinner (1 7 3)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir ni= l :extras ((:commit . "9f89a3413865343a1a1f794fe45b31f72e56912e") (:keyword= s "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:= maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://g= ithub.com/emacs-lsp/lsp-mode")) :signed nil) #s(package-desc :name lsp-java= :version (20190623 659) :summary "Java support for lsp-mode" :reqs ((emacs= (25 1)) (lsp-mode (6 0)) (markdown-mode (2 3)) (dash (2 14 1)) (f (0 20 0)= ) (ht (2 0)) (dash-functional (1 2 0)) (request (0 3 0))) :kind tar :archiv= e "melpa" :dir nil :extras ((:commit . "305eb56aecc7180c294cd06ab7a8dd62cba= 40f70") (:keywords "java") (:url . "https://github.com/emacs-lsp/lsp-java")= ) :signed nil))) package-download-transaction((#s(package-desc :name request :version (201= 90621 1622) :summary "Compatible layer for URL request in Emacs" :reqs ((em= acs (24 4))) :kind single :archive "melpa" :dir nil :extras ((:commit . "ef= 9f509b5579f2b529a20e43f7e0f061e641fec5") (:authors ("Takafumi Arakaki ")) (:maintainer "Takafumi Arakaki "= ) (:url . "https://github.com/tkf/emacs-request")) :signed nil) #s(package-= desc :name dash :version (20190424 1804) :summary "A modern list library fo= r Emacs" :reqs nil :kind single :archive "melpa" :dir nil :extras ((:commit= . "77f3bf40c9c85386a50f2dab3dc950513f6f88bd") (:keywords "lists") (:author= s ("Magnar Sveen" . "magnars@gmail.com")) (:maintainer "Magnar Sveen" . "ma= gnars@gmail.com")) :signed nil) #s(package-desc :name dash-functional :vers= ion (20180107 1618) :summary "Collection of useful combinators for Emacs Li= sp" :reqs ((dash (2 0 0)) (emacs (24))) :kind single :archive "melpa" :dir = nil :extras ((:commit . "77f3bf40c9c85386a50f2dab3dc950513f6f88bd") (:keywo= rds "lisp" "functions" "combinators")) :signed nil) #s(package-desc :name h= t :version (20190611 2131) :summary "The missing hash table library for Ema= cs" :reqs ((dash (2 12 0))) :kind single :archive "melpa" :dir nil :extras = ((:commit . "5650a8cd190badb49d28d21e72a2f55c9380de7b") (:keywords "hash ta= ble" "hash map" "hash") (:authors ("Wilfred Hughes" . "me@wilfred.me.uk")) = (:maintainer "Wilfred Hughes" . "me@wilfred.me.uk")) :signed nil) #s(packag= e-desc :name s :version (20180406 808) :summary "The long lost Emacs string= manipulation library." :reqs nil :kind single :archive "melpa" :dir nil :e= xtras ((:commit . "03410e6a7a2b11e47e1fea3b7d9899c7df26435e") (:keywords "s= trings") (:authors ("Magnar Sveen" . "magnars@gmail.com")) (:maintainer "Ma= gnar Sveen" . "magnars@gmail.com")) :signed nil) #s(package-desc :name f :v= ersion (20190109 906) :summary "Modern API for working with files and direc= tories" :reqs ((s (1 7 0)) (dash (2 2 0))) :kind single :archive "melpa" :d= ir nil :extras ((:commit . "8191672377816a1975414cc1f116fd3b94b30bd0") (:ke= ywords "files" "directories") (:authors ("Johan Andersson" . "johan.rejeep@= gmail.com")) (:maintainer "Johan Andersson" . "johan.rejeep@gmail.com") (:u= rl . "http://github.com/rejeep/f.el")) :signed nil) #s(package-desc :name m= arkdown-mode :version (20190305 319) :summary "Major mode for Markdown-form= atted text" :reqs ((emacs (24 4)) (cl-lib (0 5))) :kind single :archive "me= lpa" :dir nil :extras ((:commit . "115f77df9755c6a453f3e5d9623ff885d207ea82= ") (:keywords "markdown" "github flavored markdown" "itex") (:authors ("Jas= on R. Blevins" . "jblevins@xbeta.org")) (:maintainer "Jason R. Blevins" . "= jblevins@xbeta.org") (:url . "https://jblevins.org/projects/markdown-mode/"= )) :signed nil) #s(package-desc :name spinner :version (1 7 3) :summary "Ad= d spinners and progress-bars to the mode-line for ongoing operations" :reqs= nil :kind single :archive "gnu" :dir nil :extras ((:keywords "processes" "= mode-line") (:authors ("Artur Malabarba" . "emacs@endlessparentheses.com"))= (:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:url . "= https://github.com/Malabarba/spinner.el")) :signed nil) #s(package-desc :na= me lsp-mode :version (20190629 546) :summary "LSP mode" :reqs ((emacs (25 1= )) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spin= ner (1 7 3)) (markdown-mode (2 3))) :kind tar :archive "melpa" :dir nil :ex= tras ((:commit . "9f89a3413865343a1a1f794fe45b31f72e56912e") (:keywords "la= nguages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maint= ainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github= .com/emacs-lsp/lsp-mode")) :signed nil) #s(package-desc :name lsp-java :ver= sion (20190623 659) :summary "Java support for lsp-mode" :reqs ((emacs (25 = 1)) (lsp-mode (6 0)) (markdown-mode (2 3)) (dash (2 14 1)) (f (0 20 0)) (ht= (2 0)) (dash-functional (1 2 0)) (request (0 3 0))) :kind tar :archive "me= lpa" :dir nil :extras ((:commit . "305eb56aecc7180c294cd06ab7a8dd62cba40f70= ") (:keywords "java") (:url . "https://github.com/emacs-lsp/lsp-java")) :si= gned nil))) package-install(lsp-java) eval-buffer(# nil "/root/.emacs.d/init.el" nil t) ; Read= ing at buffer position 241 load-with-code-conversion("/root/.emacs.d/init.el" "/root/.emacs.d/init.e= l" t t) load("/root/.emacs.d/init" t t) #f(compiled-function () #)() command-line() normal-top-level() --8<---------------cut here---------------end--------------->8--- I hope someone else can reproduce, and/or give advice on how I can attempt to further isolate the issue. Notes: - It is not idempotent. If I restart emacs in the same image, it does not happen. - If I install interactively, it does not happen. - I tried briefly on macOS, and on Ubuntu in a VPS. It did not happen. - If I use for example (mapc 'package-install '(spinner lsp-java)), it does not happen. Thank you! -Brady Sent from mu4e