From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: frances frederic Newsgroups: gmane.emacs.bugs Subject: bug#12981: list-packages (void-function mailcap-parse-mailcaps) due to an old mailcap.el file Date: Sat, 24 Nov 2012 15:27:30 +0000 (GMT) Message-ID: <1353770850.40719.YahooMailNeo@web171603.mail.ir2.yahoo.com> Reply-To: frances frederic NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="-357169082-910562162-1353770850=:40719" X-Trace: ger.gmane.org 1353781894 1007 80.91.229.3 (24 Nov 2012 18:31:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2012 18:31:34 +0000 (UTC) To: 12981@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 24 19:31:46 2012 Return-path: Envelope-to: geb-bug-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 1TcKW1-0002jl-KS for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2012 19:31:45 +0100 Original-Received: from localhost ([::1]:56209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcKVq-0004iP-RO for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2012 13:31:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcKVn-0004iI-6W for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 13:31:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcKVl-0006EY-Ny for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 13:31:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcKVl-0006EK-DA for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 13:31:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TcKXF-00029s-Tk for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 13:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: frances frederic Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2012 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12981 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.13537819628266 (code B ref -1); Sat, 24 Nov 2012 18:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2012 18:32:42 +0000 Original-Received: from localhost ([127.0.0.1]:36915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcKWu-00029G-SN for submit@debbugs.gnu.org; Sat, 24 Nov 2012 13:32:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43871) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcHfJ-0006PK-1I for submit@debbugs.gnu.org; Sat, 24 Nov 2012 10:29:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcHdn-0002U7-IF for submit@debbugs.gnu.org; Sat, 24 Nov 2012 10:27:36 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:60467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcHdn-0002U3-Ee for submit@debbugs.gnu.org; Sat, 24 Nov 2012 10:27:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcHdm-0005WA-4j for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 10:27:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcHdk-0002Tn-SU for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 10:27:34 -0500 Original-Received: from nm15-vm0.bullet.mail.ird.yahoo.com ([77.238.189.216]:26617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcHdk-0002Tb-8A for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2012 10:27:32 -0500 Original-Received: from [77.238.189.57] by nm15.bullet.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 15:27:30 -0000 Original-Received: from [212.82.109.129] by tm10.bullet.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 15:27:30 -0000 Original-Received: from [127.0.0.1] by omp1036.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 15:27:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 514914.70051.bm@omp1036.mail.ird.yahoo.com Original-Received: (qmail 55413 invoked by uid 60001); 24 Nov 2012 15:27:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1353770850; bh=8kG4s8eEpK8fXqCWKKJvhWTj1ofD7CToJ32EQttxVSc=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Ul/ksRTCQBA61q/myudY4UCLTfTgKxVJz5qJXJE5JA0olTmJ0tWFp91JQjaI6FI8U7U/gvCRCho013dIwVCGChEGwzv255LRF2n0ta809KTSQp9Y0tQeI4kGmpEO2++eWeiDw9agHFQKBPTQfkF/UExN2R4DY6mTozLelc8neyM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=FRg7HwfL++f1+llwKlBrUC66BbuwbVeR/jbAU8rJFPdoLWbwQDzxEYT+umYPm9fStk9LMqSLtosLTxOfmnOoB1+QS7Xnx0EckuxqvSqFVUAOD3zKSguCJjsb7SMNrq9lmpS4147ksACWxaUW9c0wVTKPM/E1Y5UMaFOyac1/2eo=; X-YMail-OSG: ip5vUg8VM1kcQRUAwT8QW1AZVgK7l4x06d3pXHVBrF_DJVm tmwlmGsM3ZFN01zeKx1U2jP3N1AlZME_dPOAjT5HhiNjuz0xcPx34zcnJ3E. FPpOe.Z9aqBcG8iJjUGij1.MV1PzGk1EzoznauQ62w_ePyyQLBYvzMkacGTW K9vdixKxYHTndcFzavU2.Jqe8odU72qfiaDg4kJaqkZa6eZGMak7TEAbUmDm VjWwAY6X2njGrzPLGpzFJeBx5j6xUqu6yzc02NRg3rRssrvIhUtSWbq8131E yUKRHXiOU5vJAscKH2iP6Z5n3.DoGL9X5.xo8lfYnCsOVsBdvFOh7X12W5Yg KDAz_EhyRrdbSUDGjs5KgAGKocr056mKLOK92RdjNtw6IcVvR5tIi7q23zey 7xqU10wFabYfBKk8QWVqKwHvKdNprZ6KfkPwPVwgZTOHNoYKQkqkNPwUj8qK _1gDgtP2HOch6L8CrIcF_GLCB2.gLhJ4GbMzWyEXNsyb_1N4AUUB.OCWIbWr YQ.pKsEMo4HzAQafboY9BUQulRCss Original-Received: from [86.75.67.18] by web171603.mail.ir2.yahoo.com via HTTP; Sat, 24 Nov 2012 15:27:30 GMT X-Rocket-MIMEInfo: 001.001, SGnCoAoKSSd2ZSByZWNlbnRseSBpbnN0YWxsZWQgZW1hY3MgMjQuMiBvbiBhIGRlYmlhbiB2aXJ0dWFsLWJveAoKQWZ0ZXIgY29uZmlndXJpbmcgZWxwYSB0aGVyZSB3YXMgZXJyb3JzIHdoZW4gcnVubmluZyBsaXN0LXBhY2thZ2VzClNvIEkndmUgdXNlZCB0b2dnbGUtb24tZXJyb3IgYW5kIGdvdCB0aGUgZm9sbG93aW5nIHRyYWNlOgoKLS0tLS0tLS0tLS0tLQpEZWJ1Z2dlciBlbnRlcmVkLS1MaXNwIGVycm9yOiAodm9pZC1mdW5jdGlvbiBtYWlsY2FwLXBhcnNlLW1haWxjYXBzKQrCoMKgbWFpbGNhcC1wYXIBMAEBAQE- X-Mailer: YahooMailWebService/0.8.123.460 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 24 Nov 2012 13:32:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67404 Archived-At: ---357169082-910562162-1353770850=:40719 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi=A0=0A=0AI've recently installed emacs 24.2 on a debian virtual-box=0A=0A= After configuring elpa there was errors when running list-packages=0ASo I'v= e used toggle-on-error and got the following trace:=0A=0A-------------=0ADe= bugger entered--Lisp error: (void-function mailcap-parse-mailcaps)=0A=A0=A0= mailcap-parse-mailcaps()=0A=A0=A0url-do-setup()=0A=A0=A0url-retrieve-synchr= onously("http://elpa.gnu.org/packages/archive-contents")=0A=A0=A0package--d= ownload-one-archive(("gnu" . "http://elpa.gnu.org/packages/") "archive-cont= ents")=0A=A0=A0#[nil "\301\302\"\207" [archive package--download-one-archiv= e "archive-contents"] 3]()=0A=A0=A0package-refresh-contents()=0A=A0=A0list-= packages(nil)=0A=A0=A0call-interactively(list-packages t nil)=0A=A0=A0execu= te-extended-command(nil)=0A=A0=A0call-interactively(execute-extended-comman= d nil nil)=0A---------------=0A=0AThen I tried to locate mailcap lisp libra= ry using M-x locate-library and found two locations:=0AM-x locate-library = =A0mailcap=0A=A0=A0- /usr/share/emacs/site-lisp/flim/attic/mailcap.el =A0 (= this one did not contains =A0=A0mailcap-parse-mailcaps)=0A=0A=0AM-x locate-= library mailcap.el.gz=0A=A0=A0 - /usr/share/emacs/24.2/lisp/gnus/mailcap.el= .gz=0A=0A=0Aonly the second one contains the function required by list-pack= age but the first one is loaded probably because of load-path=A0=0A=0Afinal= ly I remove the oldest version of mailcap.el and elpa works fine now.=0A=0A= I don't know if the old package comes from an old installation or if mailca= p.el is included twice with 2 locations and one has not been updated.=0A=0A= Regards=0Afrederic=0A ---357169082-910562162-1353770850=:40719 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi 

= I've recently installed emacs 24.2 on a debian virtual-box

Afte= r configuring elpa there was errors when running list-packages
So I've u= sed toggle-on-error and got the following trace:

-------------
Debugger entered--Lisp error: (v= oid-function mailcap-parse-mailcaps)
  mailcap-parse-mailcaps()
  url-do-setup()
  url-retrieve-synchronously("htt= p://elpa.gnu.org/packages/archive-contents")
  package--download-one-archive(("gnu" . "http://elpa.gnu.org/packages/") "archive-contents")
  #[nil "\301\302\"\207" [archive = package--download-one-archive "archive-contents"] 3]()
  package-refresh-contents()
  list-packages(n= il)
  call-in= teractively(list-packages t nil)
  execute-extended-command(nil)
  call-interactively(execute-extende= d-command nil nil)
---------------

Then = I tried to locate mailcap lisp library using M-x locate-library and found t= wo locations:
M-x locate-library  mailcap
 &n= bsp;- /usr/share/emacs/site-lisp/flim/attic/mailcap.el   (this one did= not contains   mailcap-parse-mailcaps)

= M-x locate-library mailcap.el.gz
   - /usr/share/emacs/= 24.2/lisp/gnus/mailcap.el.gz

only the second o= ne contains the function required by list-package but the first one is load= ed probably because of load-path 

finally I r= emove the oldest version of mailcap.el and elpa works fine now.
<= br>
I don't know if the old package comes from an old installatio= n or if mailcap.el is included twice with 2 locations and one has not been = updated.

Regards
frederic

=
---357169082-910562162-1353770850=:40719--