Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error when loading org-export-generic.el
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
avkapl...@gmail.com  
View profile  
 More options Jul 20 2012, 2:22 pm
Newsgroups: gnu.emacs.help
From: avkapl...@gmail.com
Date: Fri, 20 Jul 2012 11:22:58 -0700 (PDT)
Local: Fri, Jul 20 2012 2:22 pm
Subject: Error when loading org-export-generic.el
Hello,

I have org-mode setup for me Emacs 24.1.1 running in Mac OS X 10.6.8 installed via MacPorts 2.1.1, and it works fine.

Today, I wanted to load org-export-generic.el so that I can use the org-mode to Markdown converter here:

https://github.com/alexhenning/ORGMODE-Markdown

So I added the following to my ~/.emacs:

(load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")

But when I start Emacs I get an error saying there is a problem with that line in ~/.emacs, so I started Emacs with the command "emacs --debug-init" and got the following message, can someone help me troubleshoot this? Thanks!

Here's the error:

Debugger entered--Lisp error: (file-error "Cannot open load file" "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
  load("~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
  eval-buffer(#<buffer  *load*> nil "/Users/[username]/.emacs" nil t)  ; Reading at buffer position 1030
  load-with-code-conversion("/Users/[username]/.emacs" "/Users/[username]/.emacs" t t)
  load("~/.emacs" t t)
  #[0 " \205\262   \306=\203  \307 \310Q\202;      \311=\204  \307 \312Q\202; \313\307\314\315#\203* \316\202; \313\307\314\317#\203: \320\nB \321\202; \316\322 \323 \322\211#\210 \322=\203a \324\325\326\307 \327Q!\"\323 \322\211#\210 \322=\203`   \210 \203\243 \330 !\331\232\203\243 \332 !\211\333P\334 !\203} \211\202\210 \334 !\203\207  \202\210 \314\262  \203\241 \335  \"\203\237 \336\337  #\210\340\341!\210  \266 \f?\205\260 \314 \323\342\322\211#)\262 \207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
  command-line()
  normal-top-level()


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastien  
View profile  
 More options Jul 24 2012, 2:47 am
Newsgroups: gnu.emacs.help
From: Bastien <b...@gnu.org>
Date: Tue, 24 Jul 2012 08:47:35 +0200
Local: Tues, Jul 24 2012 2:47 am
Subject: Re: Error when loading org-export-generic.el

avkapl...@gmail.com writes:
> Today, I wanted to load org-export-generic.el so that I can use the org-mode to Markdown converter here:

> https://github.com/alexhenning/ORGMODE-Markdown

> So I added the following to my ~/.emacs:

> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")

> But when I start Emacs I get an error saying there is a problem with that
> line in ~/.emacs, so I started Emacs with the command "emacs --debug-init"
> and got the following message, can someone help me troubleshoot this?

Are you sure there is a file here ?

  ~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el

--
 Bastien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Advrk Aplmrkt  
View profile  
 More options Jul 24 2012, 8:55 pm
Newsgroups: gnu.emacs.help
From: Advrk Aplmrkt <avkapl...@gmail.com>
Date: Tue, 24 Jul 2012 20:55:00 -0400
Subject: Re: Error when loading org-export-generic.el
Sorry I didn't provide the correct path before, it is suppose to be
"org" instead of "org-mode".

However, it still doesn't work. I've included the --debug-init output here:

http://pastebin.com/xa7y5E91

I honestly have no idea how to fix this problem. Do you have any
suggestions on how to troubleshoot this? Thanks!!

On 24 July 2012 02:47, Bastien <b...@gnu.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastien  
View profile  
 More options Jul 25 2012, 2:38 am
Newsgroups: gnu.emacs.help
From: Bastien <b...@gnu.org>
Date: Wed, 25 Jul 2012 08:38:15 +0200
Local: Wed, Jul 25 2012 2:38 am
Subject: Re: Error when loading org-export-generic.el

avkapl...@gmail.com writes:
> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")

Try (require 'org-export-generic) instead.

--
 Bastien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Advrk Aplmrkt  
View profile  
 More options Jul 25 2012, 1:51 pm
Newsgroups: gnu.emacs.help
From: Advrk Aplmrkt <avkapl...@gmail.com>
Date: Wed, 25 Jul 2012 13:51:22 -0400
Local: Wed, Jul 25 2012 1:51 pm
Subject: Re: Error when loading org-export-generic.el
Hello,

I tried using (require 'org-export-generic), but emacs produces the
same error when starting..... Any other possibilities? Thanks for your
patience!

On 25 July 2012 02:38, Bastien <b...@gnu.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastien  
View profile  
 More options Jul 25 2012, 11:49 pm
Newsgroups: gnu.emacs.help
From: Bastien <b...@altern.org>
Date: Thu, 26 Jul 2012 05:49:23 +0200
Local: Wed, Jul 25 2012 11:49 pm
Subject: Re: Error when loading org-export-generic.el

Advrk Aplmrkt <avkapl...@gmail.com> writes:
> I tried using (require 'org-export-generic), but emacs produces the
> same error when starting..... Any other possibilities? Thanks for your
> patience!

Did you (require 'org) first?

Basically the error says ̀defmacro*' doesn't exist.

̀defmacro*' is defined in cl-macs.el, so this file should be loaded
before you can load org-export-generic.el.

HTH,

--
 Bastien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Advrk Aplmrkt  
View profile  
 More options Jul 26 2012, 11:08 am
Newsgroups: gnu.emacs.help
From: Advrk Aplmrkt <avkapl...@gmail.com>
Date: Thu, 26 Jul 2012 11:08:24 -0400
Local: Thurs, Jul 26 2012 11:08 am
Subject: Re: Error when loading org-export-generic.el
Hello,

Yes it works now! This is what's in my ~/.emacs file now:

(require 'cl)
(require 'org)
(require 'org-export-generic)
(load "~/.emacs.d/elisp/markdown.el")

Thank you so much for helping me with this, now I can successfully
export org-mode files to Markdown. BTW, this is where I got it from:

https://github.com/alexhenning/ORGMODE-Markdown

On 25 July 2012 23:49, Bastien <b...@altern.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastien  
View profile  
 More options Jul 26 2012, 11:11 am
Newsgroups: gnu.emacs.help
From: Bastien <b...@gnu.org>
Date: Thu, 26 Jul 2012 17:11:38 +0200
Local: Thurs, Jul 26 2012 11:11 am
Subject: Re: Error when loading org-export-generic.el

Advrk Aplmrkt <avkapl...@gmail.com> writes:
> Thank you so much for helping me with this, now I can successfully
> export org-mode files to Markdown. BTW, this is where I got it from:

> https://github.com/alexhenning/ORGMODE-Markdown

You're welcome.

Note that from a fresh Org clone, you can use a more recent Markdown
exporter -- one that is likely to end up in Org's core, so testing it
would be nice.

See http://article.gmane.org/gmane.emacs.orgmode/58081

--
 Bastien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Advrk Aplmrkt  
View profile  
 More options Jul 26 2012, 12:10 pm
Newsgroups: gnu.emacs.help
From: Advrk Aplmrkt <avkapl...@gmail.com>
Date: Thu, 26 Jul 2012 12:10:13 -0400
Local: Thurs, Jul 26 2012 12:10 pm
Subject: Re: Error when loading org-export-generic.el
While neither were perfect, the new one you suggested does work a bit
better! Thanks again. Hopefully this thread will be useful to someone
some day.

On 26 July 2012 11:11, Bastien <b...@gnu.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastien  
View profile  
 More options Jul 27 2012, 2:43 am
Newsgroups: gnu.emacs.help
From: Bastien <b...@gnu.org>
Date: Fri, 27 Jul 2012 08:43:46 +0200
Local: Fri, Jul 27 2012 2:43 am
Subject: Re: Error when loading org-export-generic.el

Advrk Aplmrkt <avkapl...@gmail.com> writes:
> While neither were perfect, the new one you suggested does work a bit
> better! Thanks again. Hopefully this thread will be useful to someone
> some day.

Don't hesitate to give some feedback by writing directly to the
emacs-orgm...@gnu.org mailing list.

--
 Bastien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Suvayu Ali  
View profile  
 More options Aug 6 2012, 5:02 pm
Newsgroups: gnu.emacs.help
From: Suvayu Ali <fatkasuvayu+li...@gmail.com>
Date: Mon, 6 Aug 2012 23:02:25 +0200
Local: Mon, Aug 6 2012 5:02 pm
Subject: Re: Error when loading org-export-generic.el
Although you have seemingly solved your problem, I would like to make a
comment about your org-mode installation.

On Thu, Jul 26, 2012 at 11:08:24AM -0400, Advrk Aplmrkt wrote:
> Hello,

> Yes it works now! This is what's in my ~/.emacs file now:

> (require 'cl)
> (require 'org)
> (require 'org-export-generic)
> (load "~/.emacs.d/elisp/markdown.el")

If the above is all you do to load org-mode, I think you are still not
using your separate org-mode install.  In fact, your setup now has a
mixed org installation.  You can verify this by looking at the output of
org-version.

I would suggest you follow the installation method suggested in the info
manual[1].  A mixed installation like this will cause you troubles that
will make your head spin in the future.

GL

Footnotes:

[1] http://orgmode.org/manual/Installation.html#Installation

--
Suvayu

Open source is the future. It sets us free.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »