emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unable to find contrib/
@ 2012-03-11  7:27 Debaditya Mukhopadhyay
  2012-03-11  9:54 ` Jambunathan K
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Debaditya Mukhopadhyay @ 2012-03-11  7:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

I have org 7.8.03.

added to my .emacs

> (add-to-list 'load-path "org-root-dir/contrib/lisp")
> (require 'org-mime)
>

getting

File error: Cannot open load file, org-mime
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
>

Any help will be appreciated.

[-- Attachment #2: Type: text/html, Size: 769 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to find contrib/
  2012-03-11  7:27 Unable to find contrib/ Debaditya Mukhopadhyay
@ 2012-03-11  9:54 ` Jambunathan K
  2012-03-11 12:36   ` Sankalp
  2012-03-11  9:56 ` Bastien
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2012-03-11  9:54 UTC (permalink / raw)
  To: Debaditya Mukhopadhyay; +Cc: emacs-orgmode

Debaditya Mukhopadhyay <debaditya@gmail.com> writes:

> I have org 7.8.03.
>
> added to my .emacs
>
>     (add-to-list 'load-path "org-root-dir/contrib/lisp")
>     (require 'org-mime)

Make sure that org-root-dir has the same value
M-x locate-library RET org RET

Make sure contrib dir exists.

AFAIK, ELPA, Vanilla Emacs doesn't have contrib dir as part of the
distribution. Try git.

> getting 
>
>
>     File error: Cannot open load file, org-mime
>    
>     To ensure normal operation, you should investigate and remove the
>     cause of the error in your initialization file.  Start Emacs with
>     the `--debug-init' option to view a complete error backtrace.
>
>
> Any help will be appreciated.
>
>  
>
>

-- 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to find contrib/
  2012-03-11  7:27 Unable to find contrib/ Debaditya Mukhopadhyay
  2012-03-11  9:54 ` Jambunathan K
@ 2012-03-11  9:56 ` Bastien
  2012-03-11 11:48 ` suvayu ali
  2012-03-13  0:27 ` Debaditya Mukhopadhyay
  3 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2012-03-11  9:56 UTC (permalink / raw)
  To: Debaditya Mukhopadhyay; +Cc: emacs-orgmode

Hi Debaditya,

Debaditya Mukhopadhyay <debaditya@gmail.com> writes:

> I have org 7.8.03.
>
> added to my .emacs
>
>     (add-to-list 'load-path "org-root-dir/contrib/lisp")
>     (require 'org-mime)

Can you share the value of your load-path?

I suspect your (add-to-list 'load-path ...) does not add
the correct location.  Otherwise I don't see why org-mime.el
should not be loaded.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to find contrib/
  2012-03-11  7:27 Unable to find contrib/ Debaditya Mukhopadhyay
  2012-03-11  9:54 ` Jambunathan K
  2012-03-11  9:56 ` Bastien
@ 2012-03-11 11:48 ` suvayu ali
  2012-03-13  0:27 ` Debaditya Mukhopadhyay
  3 siblings, 0 replies; 6+ messages in thread
From: suvayu ali @ 2012-03-11 11:48 UTC (permalink / raw)
  To: Debaditya Mukhopadhyay; +Cc: emacs-orgmode

Hi Debaditya,

On Sun, Mar 11, 2012 at 08:27, Debaditya Mukhopadhyay
<debaditya@gmail.com> wrote:
> added to my .emacs
>>
>> (add-to-list 'load-path "org-root-dir/contrib/lisp")
>> (require 'org-mime)
>
>

I would recommend using a full path. Unless you have org-root-dir as a
subdirectory to where ever you have put this elisp snippet, it is
bound to fail.

PS: Its nice to see another bong org-mode user. :)

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to find contrib/
  2012-03-11  9:54 ` Jambunathan K
@ 2012-03-11 12:36   ` Sankalp
  0 siblings, 0 replies; 6+ messages in thread
From: Sankalp @ 2012-03-11 12:36 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Debaditya Mukhopadhyay, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

Hi Debaditya,

On 11 March 2012 15:24, Jambunathan K <kjambunathan@gmail.com> wrote:

> Debaditya Mukhopadhyay <debaditya@gmail.com> writes:
>
> > I have org 7.8.03.
> >
> > added to my .emacs
> >
> >     (add-to-list 'load-path "org-root-dir/contrib/lisp")
> >     (require 'org-mime)
>
> Make sure that org-root-dir has the same value
> M-x locate-library RET org RET
>

You could also try

M-x locate-library RET org-mime RET

ideally this should output something like :

Library is file ~/.emacs.d/org-7.8.03/contrib/lisp/org-mime.el

(that's what it gives on my setup)

If it doesn't give output, then you're either missing the "contrib"
directory (as possible while using ELPA) or you've given the path wrong.


>
> Make sure contrib dir exists.
>
> AFAIK, ELPA, Vanilla Emacs doesn't have contrib dir as part of the
> distribution. Try git.
>
> > getting
> >
> >
> >     File error: Cannot open load file, org-mime
> >
> >     To ensure normal operation, you should investigate and remove the
> >     cause of the error in your initialization file.  Start Emacs with
> >     the `--debug-init' option to view a complete error backtrace.
> >
> >
> > Any help will be appreciated.
> >
> >
> >
> >
>
> --
>
>
--
Sankalp

*******************************************************
If humans could mate with software, I'd have org-mode's
babies.
                          --- Chris League on Twitter.
               http://orgmode.org/worg/org-quotes.html
*******************************************************

[-- Attachment #2: Type: text/html, Size: 2598 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to find contrib/
  2012-03-11  7:27 Unable to find contrib/ Debaditya Mukhopadhyay
                   ` (2 preceding siblings ...)
  2012-03-11 11:48 ` suvayu ali
@ 2012-03-13  0:27 ` Debaditya Mukhopadhyay
  3 siblings, 0 replies; 6+ messages in thread
From: Debaditya Mukhopadhyay @ 2012-03-13  0:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Thanks for all your help. I could solve the issue.
The "org-root-directory" needed to be specified, in my case
"~/bin/org-7.8.03/". I overlooked that fact- and all of your response
helped.

Deb

On Sun, Mar 11, 2012 at 3:27 AM, Debaditya Mukhopadhyay <debaditya@gmail.com
> wrote:

> I have org 7.8.03.
>
> added to my .emacs
>
>> (add-to-list 'load-path "org-root-dir/contrib/lisp")
>> (require 'org-mime)
>>
>
> getting
>
> File error: Cannot open load file, org-mime
>>
>> To ensure normal operation, you should investigate and remove the
>> cause of the error in your initialization file.  Start Emacs with
>> the `--debug-init' option to view a complete error backtrace.
>>
>
> Any help will be appreciated.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1319 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-13  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-11  7:27 Unable to find contrib/ Debaditya Mukhopadhyay
2012-03-11  9:54 ` Jambunathan K
2012-03-11 12:36   ` Sankalp
2012-03-11  9:56 ` Bastien
2012-03-11 11:48 ` suvayu ali
2012-03-13  0:27 ` Debaditya Mukhopadhyay

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).