emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] undefined symbol 'org-export-create-backend' when calling org-pl


From: Dave Marquardt
Subject: Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Date: Tue, 29 Sep 2015 08:33:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Dave Marquardt <address@hidden> writes:
>
>> I attempted to plot a table after installing the 20150928 ELPA package,
>> and got
>>
>> Debugger entered--Lisp error: (void-function org-export-create-backend)
>>   org-export-create-backend(:parent org :transcoders ((table lambda
>> (table contents info) (concat nil contents nil)) (table-row lambda
>> (row contents info) (if (eq (org-element-property :type row) (quote
>> rule)) nil (let ((headerp (org-export-table-row-in-header-p row info))
>> (lastp (not (org-export-get-next-element row info))) (last-header-p
>> (org-export-table-row-ends-header-p row info))) (when contents (cond
>> nil nil nil (t (concat ...))))))) (table-cell lambda (cell contents
>> info) (let ((headerp (org-export-table-row-in-header-p
>> (org-export-get-parent-element cell) info)) (column (1+ (cdr
>> (org-export-table-cell-address cell info))))) nil (when contents nil
>> (cond nil (t (setq contents (funcall ... contents))))) (if (or nil
>> (plist-get info :orgtbl-ignore-sep) (not (org-export-get-next-element
>>   cell info))) contents (concat contents " ")))) (macro lambda (m c
>> i) (org-element-macro-interpreter m nil))))
>>   orgtbl-to-generic((("*Total time*" "*4:11*" "" "100.0") ("Time"
>> "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23"
>> "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5")
>> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" ""
>> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R"
>> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8")
>> ("Team" "" "0:42" "16.7")) (:sep " " :fmt org-plot-quote-tsv-field
>> :plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" ""
>> "%") :set ("style fill solid") :deps (4)))
>>   org-plot/gnuplot-to-data((("*Total time*" "*4:11*" "" "100.0")
>> ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" ""
>> "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5")
>> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" ""
>> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R"
>> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8")
>> ("Team" "" "0:42" "16.7")) "/tmp/org-plot18132EYn" (:plot-type 2d
>> :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set
>> ("style fill solid") :deps (4)))
>>   org-plot/gnuplot()
>>   call-interactively(org-plot/gnuplot record nil)
>>   command-execute(org-plot/gnuplot record)
>>   execute-extended-command(nil "org-plot/gnuplot")
>>   call-interactively(execute-extended-command nil nil)
>>
>> org-table.el has a declare-function call that points to a "org-export"
>> file, but I don't find such a file in either the code installed by ELPA
>> or the daily snapshot:
>>
>> (declare-function org-export-create-backend "org-export" (&rest rest))
>>
>> Calling org-plot/gnuplot worked last week, before I upgraded to 20150928.
>>
>> -Dave
>
> This sounds like a mixed installation: different versions of org
> installed and you are picking up bits from both of them.
> Search the list for "mixed installation", e.g. check out
>
> http://thread.gmane.org/gmane.emacs.orgmode/68240/focus=68265
>
> and the link therein:
>
> http://orgmode.org/worg/org-faq.html#mixed-install

Yes, I've run into that issue before. I specifically removed the org
installation that was provided with Gnu Emacs 24.3.2 some time back. I
went back and looked at whether that was an issue here, and I discovered
some .elc files had crept into the Emacs directory tree, so I removed
them.

When I check each org function in the backtrace, each function definition
is in a file in my ELPA installation.

orgtbl-to-generic is in ~/.emacs.d/elpa/org-20150928/org-table.el
org-plot/gnuplot-to-data is in ~/.emacs.d/elpa/org-20150928/org-plot.el
org-plot/gnuplot is in ~/.emacs.d/elpa/org-20150828/org-plot.el

I checked the Git tree, and saw the change that was made related to the
declare-function definitions. From the doc information on
declare-function, it's not clear to me this does anything at run
time. It references "org-export", and I don't see that when I grab the
Git tree. Is "org-export" a file built by the make process? 

Is this just a problem with the ELPA installation? I'm going to try
removing and reinstalling the ELPA package, then if that doesn't change
anything, try instaling from the Git tree.

-Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]