conao3 / feather.el

Parallel thread modern Emacs package manager
GNU General Public License v3.0
94 stars 2 forks source link

Bad Request #9

Open contrapunctus-1 opened 3 years ago

contrapunctus-1 commented 3 years ago

To reproduce -

  1. Start Emacs (v26.1 on Debian Stable) with -q or -Q
  2. Add MELPA by evaluating -
    (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
                       (not (gnutls-available-p))))
          (proto (if no-ssl "http" "https")))
     (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
     (when (< emacs-major-version 24)
       (add-to-list 'package-archives '("gnu" . (concat proto "://elpa.gnu.org/packages/")))))
    (package-initialize)
  3. M-x feather-mode
  4. Try to upgrade a package from MELPA. Feather dashboard says -
    ivy error (:message "Bad Request" :url "https://melpa.org/packages/ivy-20201109.1753.tar")
    lua-mode error (:message "Bad Request" :url "https://melpa.org/packages/lua-mode-20201109.2336.tar")

After disabling feather-mode, the packages are upgraded successfully.

conao3 commented 3 years ago

just (package-refresh-contents) issue?

contrapunctus-1 commented 3 years ago

It's possible. My guess is that feather is running Emacs with -Q, which ignores any fixes one may have had in the site Lisp files. 🤔