From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Marquardt Subject: Re: undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot Date: Tue, 29 Sep 2015 08:33:57 -0500 Message-ID: References: <87mvw5hp4y.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgv31-00022k-Dp for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zgv2v-0003fW-CV for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:34:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:52610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgv2v-0003fL-1N for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:34:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zgv2r-0001Ye-4Y for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 15:34:13 +0200 Received: from 99-156-81-143.lightspeed.austtx.sbcglobal.net ([99.156.81.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2015 15:34:13 +0200 Received: from davemarq by 99-156-81-143.lightspeed.austtx.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2015 15:34:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos writes: > Dave Marquardt 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