emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Stemplinger <mstemplinger@gmx.de>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Installing Orgmode through ELPA-tarball
Date: Fri, 05 Nov 2010 22:21:35 +0100	[thread overview]
Message-ID: <8162wbsbz4.fsf@gmx.de> (raw)
In-Reply-To: <81d3qokhfp.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 02 Nov 2010 00:19:30 +0530")

Hallo Jambunathan K.,

> Thanks for trying out ELPA.

It looks pretty interesting and is an ideaa long overdue IMHO!
>
>
>>>    2. Use the Emacs package manager's =M-x list-packages= to browse
>>>       and install the latest version.
>>
>> Failed with the error message: Failed to download `Orgmode' archive.
>>
>
> This is expected. Orgmode cannot act as ELPA repo. There are some minor
> things to be fixed.  Tarball is the way to go atleast for next few days
> ...
OK
>
>>>    3. Do =M-x package-install-file=. When prompted for =Package file
>>>       name=, point it to .tar file downloaded in step 2.
>>>
>> Failed with the error message: package-read-from-string: Can't read whole string
>
> Questions:
> =========
>
> What package.el you are using? I hope it is the one that is bundled in
> to Emacs and *not* the one distributed from http://tromey.com.
Yes. It says in the header

;; Author: Tom Tromey <tromey@redhat.com>
;; Created: 10 Mar 2007
;; Version: 0.9
;; Keywords: tools

>
> May I ask you what version of Emacs you use and what OS you run on?
Sorry I shuld have mentioned that. It's GNU Emacs 24.0.50.1
(i386-mingw-nt6.1.7600) of 2010-10-18 on windows 7 Home Premium
>
> There is a comment in the package manager that there is a dependency on
> GNU tar. May be the tar binary that you are running is not "GNU tar
> compatible"
I use the one from gnuwin32. It says tar (GNU tar) 1.22.
>
> Just to confirm, copy the below elisp code to scratch buffer and do a
> C-x C-e with cursor before the marker '@'.
>
> What do you get?
>
I get this:

Debugger entered--Lisp error: (error "Can't read whole string")
  signal(error ("Can't read whole string"))
  error("Can't read whole string")
  package-read-from-string("tar: Archive value 297315 is out of gid_t range 0..65535\n(define-package \"org\" \"20101101\" \"Outline-based notes management and organizer\" nil)\ntar: Exiting with failure status due to previous errors\n")
  (progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el"))))
  eval((progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el")))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
  recursive-edit()
  byte-code("\306\x10	@\307=\203!\0\310\311\312\"\210\313\311!\211\x1aA@)\242\314=\203!\0\310\315\312\"\210\316\v!\210\317 \210\320	!\210\f\203d\0\321ed\"\rV\203W\0eb\210\322\r\245y\210`\x1e^[db\210\322\r\245\rZy\210\x0e^[`|\210)\323c\210eb\210\324\325\326 \"\210\327\306!\210\324\330!\210\331\312\x1e\x1c\x1e\x1d\324\330!\210\212\332 \210+\331\207" [unread-command-char debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1 debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string kill-emacs "" nil recursive-edit middlestart buffer-read-only standard-output] 4)
  debug(error (error "Can't read whole string"))
  signal(error ("Can't read whole string"))
  error("Can't read whole string")
  package-read-from-string("tar: org-20101101.tar: Cannot open: No such file or directory\ntar: Error is not recoverable: exiting now\n")
  (progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el"))))
  eval((progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el")))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
  recursive-edit()
  byte-code("\306\x10	@\307=\203!\0\310\311\312\"\210\313\311!\211\x1aA@)\242\314=\203!\0\310\315\312\"\210\316\v!\210\317 \210\320	!\210\f\203d\0\321ed\"\rV\203W\0eb\210\322\r\245y\210`\x1e^[db\210\322\r\245\rZy\210\x0e^[`|\210)\323c\210eb\210\324\325\326 \"\210\327\306!\210\324\330!\210\331\312\x1e\x1c\x1e\x1d\324\330!\210\212\332 \210+\331\207" [unread-command-char debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1 debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string kill-emacs "" nil recursive-edit middlestart buffer-read-only standard-output] 4)
  debug(error (file-error "Setting current directory" "no such file or directory" "~/tmp/"))
  call-process("D:/Entwicklung/emacs-24.0.50/bin/cmdproxy.exe" nil t nil "-c" "tar -xOf org-20101101.tar org-20101101/org-pkg.el")
  shell-command-to-string("tar -xOf org-20101101.tar org-20101101/org-pkg.el")
  (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el")))
  (progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el"))))
  eval((progn (setq default-directory "~/tmp/") (package-read-from-string (shell-command-to-string (concat "tar -xOf org-20101101.tar org-20101101/org-pkg.el")))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

Thanks for your support!

Regards,
Martin

  parent reply	other threads:[~2010-11-05 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 12:05 Installing Orgmode through ELPA-tarball Jambunathan K
2010-11-01 12:14 ` Jambunathan K
2010-11-01 13:02 ` Tom Short
2010-11-01 15:15   ` Erik Iverson
2010-11-01 15:57     ` Jambunathan K
2010-11-01 16:04   ` Jambunathan K
2010-11-01 17:40 ` Martin Stemplinger
2010-11-01 18:49   ` Jambunathan K
2010-11-01 18:56     ` Jambunathan K
2010-11-05 21:21     ` Martin Stemplinger [this message]
2010-11-06  9:31       ` ELPA + gnuwin32 tar (Issues, Help with packaging) Jambunathan K
2010-11-06  9:38         ` Jambunathan K

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=8162wbsbz4.fsf@gmx.de \
    --to=mstemplinger@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).