From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.help Subject: "Wrong type argument" with latest emacs-snapshot Date: Fri, 21 Jun 2013 23:29:05 +0200 Organization: Nautilus Entertainments Message-ID: <874ncr17by.fsf@nautilus.nautilus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1371850165 23423 80.91.229.3 (21 Jun 2013 21:29:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2013 21:29:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 21 23:29:27 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uq8tY-0003dT-Vs for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jun 2013 23:29:25 +0200 Original-Received: from localhost ([::1]:52282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq8tY-0004M0-IY for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jun 2013 17:29:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq8tL-0004Ke-7s for help-gnu-emacs@gnu.org; Fri, 21 Jun 2013 17:29:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq8tI-0007hr-6x for help-gnu-emacs@gnu.org; Fri, 21 Jun 2013 17:29:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq8tI-0007he-1A for help-gnu-emacs@gnu.org; Fri, 21 Jun 2013 17:29:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uq8tF-0003Ir-6a for help-gnu-emacs@gnu.org; Fri, 21 Jun 2013 23:29:05 +0200 Original-Received: from 151.62.75.73 ([151.62.75.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jun 2013 23:29:05 +0200 Original-Received: from lele by 151.62.75.73 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jun 2013 23:29:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.62.75.73 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:EJnTxKWEDvdjWxqSKYiGzerDgFA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91661 Archived-At: Hi all, today a friend asked me some help, since while trying to install Emacs on a new Debian "sid" machine, he got some wierd error when bootstrapping my own variation of the popular starter-kit setup. Effectively, after upgrading my own machine from emacs-snapshot 2:20130603 to 2:20130618, I was able to replicate the problem, narrowing the setup to the following ~/.emacs: (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (package-initialize) (defvar packages (list 'auto-complete 'darcsum)) (defun install-packages () (interactive) (dolist (package packages) (unless (or (member package package-activated-list) (functionp package)) (message "Installing %s" (symbol-name package)) (package-install package)))) (install-packages) which while working perfectly with the previous version, triggers the following error with the latest version: Wrong type argument: arrayp, auto-complete I tried using the "--debug-init" option, as well as digging a little with the elisp debugger, but I was not able to understand what is going wrong with the new version: as soon as I reach (and execute) the following lines of the `package-install` function I get the error (package-download-transaction ;; FIXME: Use (list pkg-desc) instead of just the name. (package-compute-transaction (list (package-desc-name pkg-desc)) (package-desc-reqs pkg-desc)))) If I install the packages interactively with M-x package-install everything works as expected, and Emacs starts up without errors with the setup above. Do you have any hint about the possible reason for the reported error? Thanks a lot in advance, bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.