all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
@ 2015-09-28 18:36 Dave Marquardt
  2015-09-29  3:37 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Marquardt @ 2015-09-28 18:36 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-09-28 18:36 undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot Dave Marquardt
@ 2015-09-29  3:37 ` Nick Dokos
  2015-09-29 13:33   ` Dave Marquardt
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2015-09-29  3:37 UTC (permalink / raw)
  To: emacs-orgmode

Dave Marquardt <davemarq@linux.vnet.ibm.com> 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


Nick

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-09-29  3:37 ` Nick Dokos
@ 2015-09-29 13:33   ` Dave Marquardt
  2015-09-30 16:30     ` Dave Marquardt
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Marquardt @ 2015-09-29 13:33 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> Dave Marquardt <davemarq@linux.vnet.ibm.com> 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

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-09-29 13:33   ` Dave Marquardt
@ 2015-09-30 16:30     ` Dave Marquardt
  2015-10-01 13:06       ` Dave Marquardt
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Marquardt @ 2015-09-30 16:30 UTC (permalink / raw)
  To: emacs-orgmode

Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:

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

I reinstalled the ELPA package, same result. I removed the ELPA package,
installed from the Git tree I cloned yesterday, same problem.

Next steps are to temporarily remove my Org customizations, and if that
fails, do some "git bisect" work to see if I can find out when this
broke.

-Dave

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-09-30 16:30     ` Dave Marquardt
@ 2015-10-01 13:06       ` Dave Marquardt
  2015-10-01 19:58         ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Marquardt @ 2015-10-01 13:06 UTC (permalink / raw)
  To: emacs-orgmode

Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:

> Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:
>
>> 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.
>
> I reinstalled the ELPA package, same result. I removed the ELPA package,
> installed from the Git tree I cloned yesterday, same problem.
>
> Next steps are to temporarily remove my Org customizations, and if that
> fails, do some "git bisect" work to see if I can find out when this
> broke.

I did git bisect on a couple of x86_64 Linux systems:
- RHEL 6.7 with Emacs 24.3.2
- Fedora 22 with Emacs 24.5.1

The result was

# first bad commit: [6d2ab4071960f8a7f20138291424b468722ab522] org-table: Fix radio tables containing macros

The table I ran M=x org-plot/gnuplot on was from the Org Mode info page
"Org-Plot":

     #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
     | Sede      | Max cites | H-index |
     |-----------+-----------+---------|
     | Chile     |    257.72 |   21.39 |
     | Leeds     |    165.77 |   19.68 |
     | Sao Paolo |     71.00 |   11.50 |
     | Stockholm |    134.19 |   14.33 |
     | Morelia   |    257.56 |   17.67 |

Stack backtrace is as mentioned earlier:

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)

-Dave

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-10-01 13:06       ` Dave Marquardt
@ 2015-10-01 19:58         ` Nicolas Goaziou
  2015-10-01 21:19           ` Dave Marquardt
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2015-10-01 19:58 UTC (permalink / raw)
  To: Dave Marquardt; +Cc: emacs-orgmode

Hello,

Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:

> I did git bisect on a couple of x86_64 Linux systems:
> - RHEL 6.7 with Emacs 24.3.2
> - Fedora 22 with Emacs 24.5.1
>
> The result was
>
> # first bad commit: [6d2ab4071960f8a7f20138291424b468722ab522] org-table: Fix radio tables containing macros
>
> The table I ran M=x org-plot/gnuplot on was from the Org Mode info page
> "Org-Plot":
>
>      #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
>      | Sede      | Max cites | H-index |
>      |-----------+-----------+---------|
>      | Chile     |    257.72 |   21.39 |
>      | Leeds     |    165.77 |   19.68 |
>      | Sao Paolo |     71.00 |   11.50 |
>      | Stockholm |    134.19 |   14.33 |
>      | Morelia   |    257.56 |   17.67 |
>
> Stack backtrace is as mentioned earlier:
>
> Debugger entered--Lisp error: (void-function org-export-create-backend)

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
  2015-10-01 19:58         ` Nicolas Goaziou
@ 2015-10-01 21:19           ` Dave Marquardt
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Marquardt @ 2015-10-01 21:19 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:
>
>> I did git bisect on a couple of x86_64 Linux systems:
>> - RHEL 6.7 with Emacs 24.3.2
>> - Fedora 22 with Emacs 24.5.1
>>
>> The result was
>>
>> # first bad commit: [6d2ab4071960f8a7f20138291424b468722ab522] org-table: Fix radio tables containing macros
>>
>> The table I ran M=x org-plot/gnuplot on was from the Org Mode info page
>> "Org-Plot":
>>
>>      #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
>>      | Sede      | Max cites | H-index |
>>      |-----------+-----------+---------|
>>      | Chile     |    257.72 |   21.39 |
>>      | Leeds     |    165.77 |   19.68 |
>>      | Sao Paolo |     71.00 |   11.50 |
>>      | Stockholm |    134.19 |   14.33 |
>>      | Morelia   |    257.56 |   17.67 |
>>
>> Stack backtrace is as mentioned earlier:
>>
>> Debugger entered--Lisp error: (void-function org-export-create-backend)
>
> Fixed. Thank you.

I've verified that this is fixed. Thanks!

-Dave

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

end of thread, other threads:[~2015-10-01 21:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 18:36 undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot Dave Marquardt
2015-09-29  3:37 ` Nick Dokos
2015-09-29 13:33   ` Dave Marquardt
2015-09-30 16:30     ` Dave Marquardt
2015-10-01 13:06       ` Dave Marquardt
2015-10-01 19:58         ` Nicolas Goaziou
2015-10-01 21:19           ` Dave Marquardt

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.