[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-mobile-push problem
From: |
address@hidden |
Subject: |
Re: [O] org-mobile-push problem |
Date: |
Sat, 5 Nov 2011 23:02:20 +0100 |
Hi Jambunathan,
>
>> Sorry, I didn't get into too much detail here because I had the
>> feeling that the problem might have been cause by me not being able
>> to use the package manager correctly rather than the package manager
>> itself. But if it could help others, of course, I'm sharing the
>> details as far as I understand them.
>>
>> I'm using Aquamacs (for Mac OS):
>>
>> GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>> of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4
>> Copyright (C) 2011 Free Software Foundation, Inc.
>>
>> When I run "package-list-packages", I get the message "Failed to
>> download `Org-mode' archive." (didn't note that before), but it still
>> offered the latest version of Org nevertheless.
>
> Do
> M-x customize-variable RET package-archives RET
>
> and delete the following "Org-mode" archive from the list:
>
> --8<---------------cut here---------------start------------->8---
> (add-to-list 'package-archives
> '("Org-mode" . "http://orgmode.org/pkg/daily/";))
> --8<---------------cut here---------------end--------------->8---
>
Ok, deleted.
> Additionally, you can also look at ~/.emacs.d/elpa/archives/ subdir and
> recursively delete the directory corresponding to "Org-mode" archive.
>
>> I could install it from there and Org appeared to be updated to
>> version 7.7, but somehow the macro "org-eval-in-environment" was only
>> found after reloading Org uncompiled after every restart of
>> Emacs.
>
>> This could be repeated infinitely, i.e., I always got this error
>> message when running "package-list-packages" and it always offered me
>> to install Org. Now I downloaded the tar-file manually and installed
>> it with "package-install-file". Now "org-eval-in-environment" is found
>> normally. After "package-list-files" I still get the message "Failed
>> to download `Org-mode' archive.", but it shows Org as installed and
>> does no longer offer to install it.
>>
>> I hope that was more helpful. If you need more information, I will be
>> happy to try to provide it.
>
> I am trying to isolate the root cause of the issue here. Hope you can
> help me locate the root cause.
>
> Try the following procedure:
>
> 1. Store the org-*.tar that you have downloaded in some safe place.
Done.
> 2. rm -rf ~/.emacs.d/elpa/org-* {BE CAREFUL HERE, YOU ARE DELETING
> STUFF}
> - In this step you are deleting your org installed through elpa.
Done.
> 3. Check your .emacs - Does it make have (require 'org-install)? If it
> has this entry remove that line or comment out that line.
Commented out.
> 4. Restart emacs
> 5. M-x locate-library RET org RET
> 6. Note the directory reported.
> - If it looks like it is coming from your default Emacs installation
> directory then proceed to step 7.
Obviously the directory I just added.
>
> - If it looks like it is one of the directories added by you, delete
> that directory from either load-path or simply delete it from the
> disk. (To be safe, instead of deleting you can just rename or move
> the directory somewhere else). Goto step 4.
> 7. Note the version of Org with M-x org-version RET.
Renaming the folder didn't help because Emacs still found it. Moved the folder
and now M-x locate-library RET org RET points to the original directory.
M-x org-version RET -> Org-mode version 6.33x
> Now do a M-x
> package-install-file RET
Your procedure is exactly what I did eventually to get it running. It worked,
when I installed org via package-install-file RET. Instead, now I am reporting
in detail what happens when I do M-x package-list-packages:
I get the message:
"Failed to download `Org-mode' archive."
It still lists the newest version of org-mode along the packages.
I hit "Install".
I get a couple of error messages. Find attached the complete compile log.
compilelog.txt
Description: Text document
Emacs restart.
org-version -> "Org-mode version 7.7"
org-mobile-push -> "byte-code: Invalid function: org-eval-in-environment"
C-u C-c C-x r (Org reload uncompiled)
org-mobile-push -> "Files for mobile viewer staged"
Works till next restart of emacs.
Then I downloaded the .tar-file manually and installed via M-x
package-install-file RET
Org-reload.
org-version -> "Org-mode version 7.7"
org-mobile-push -> "Files for mobile viewer staged" (i.e. everything works)
I hope this helps to identify the problem with the package manager.
> 8. Restart Emacs
> 9. Now. Do you still run in to the original org-macs issue that you
> reported?
>
> Extra information for me:
> 10. What does C-h v package-enable-at-startup RET report?
>
package-enable-at-startup is a variable defined in `package.el'.
Its value is t
Bastian
- [O] org-mobile-push problem, Nicholas Putnam, 2011/11/02
- Re: [O] org-mobile-push problem, address@hidden, 2011/11/02
- Re: [O] org-mobile-push problem, Nick Dokos, 2011/11/02
- Re: [O] org-mobile-push problem, address@hidden, 2011/11/02
- Re: [O] org-mobile-push problem, Nick Dokos, 2011/11/02
- Re: [O] org-mobile-push problem, address@hidden, 2011/11/03
- Re: [O] org-mobile-push problem, Jambunathan K, 2011/11/03
- Re: [O] org-mobile-push problem, David Maus, 2011/11/03