From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cKi1BCrzhmBngwEAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 19:06:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kKhdACrzhmAwIgAAB5/wlQ (envelope-from ) for ; Mon, 26 Apr 2021 17:06:50 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F91A1D0C7 for ; Mon, 26 Apr 2021 19:06:49 +0200 (CEST) Received: from localhost ([::1]:51074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb4h5-0005RB-Hl for larch@yhetil.org; Mon, 26 Apr 2021 13:06:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb4eh-0004fj-Uv for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 13:04:20 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:43838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lb4ee-0005Ez-Mb for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 13:04:19 -0400 Received: by mail-pf1-x42a.google.com with SMTP id e15so2602813pfv.10 for ; Mon, 26 Apr 2021 10:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=TU/lWth9fsAXOir4o09c/lawQLUULjTbXkoOvOvVUIA=; b=lWME6IDkcLQYRHVsQutcHQS0BthwK8U/4jqm5+rlKmyIHuKy4Ctq7nb6PmuYUi4lXN jj7+PEHTm62EoHdhDCISaT03wuNx2LNw0K3CTDEHrs4YyWZH0AKy5LvcEfoGw4UoiQN8 rIVC3JBcTOJ+7vALIVZJulP025+fBqrvi7SGPcsU28RKdcnFv5DipJKiQSlhFZNqVY3h XqZgApTH48T1iwGAUlc5AjocOD4BGQp7DJqSc1bnWygma4C3ot0bH/g4lTxcjioTW4BF BAlveCDI5AvVPnXp2oKe6f4hdlHQmNNv5ALkPRQYWDIUmMMBvBJ135PExI1jsPwyUiwu ou/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=TU/lWth9fsAXOir4o09c/lawQLUULjTbXkoOvOvVUIA=; b=ofvn8DP8/H2NOAvNJbqOVqt5FWUKH7Spmb+v3XSXcNUhoq2TbKlvBt6laeBPoVXvvJ 1uB/iUvDcfqLlcjZc6ZhLSDPkC0pWCgdtH6k/Wq1OAIrxEwfYUijIjbx1y/594dJ5VpT eVfcw+8XpDtxdssEGLbM0Rlq/P1MQaOzCurfTvgtjbR2qCy+cUKKv3d5IX+uM2dfbIL4 8L0Y3fr+lm61sXZL/hxxlXYwT3he/mIyZLQUJOxLCXPUo4fSLhKHUzoHR/Lo54/eZPTe Zohhiu0O/7MpMD1BHVnABhqX+J8PXnUtM4CM4iZopPX6vuDXFoXL/QBUR9IrPQEnyYfi Ai5g== X-Gm-Message-State: AOAM532j9siPCM0S7wM2NljQ6ulwUqPevI6gfj0sLuUHzcxbTQNjaQC+ 994qFZSBwumZ89eQPfmkN+A= X-Google-Smtp-Source: ABdhPJyMEMQ2pqf7vhjArUzxbHD7CAgq+BrtOUa0/aVR3DviDxGnuCm0aYZ37Rrs7KJi1XIhsoNjsw== X-Received: by 2002:a05:6a00:1a4a:b029:261:d9ed:fd80 with SMTP id h10-20020a056a001a4ab0290261d9edfd80mr18682676pfv.20.1619456654782; Mon, 26 Apr 2021 10:04:14 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id w1sm11499016pgp.31.2021.04.26.10.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 10:04:14 -0700 (PDT) References: User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: ian martins Subject: Re: Bug: org-plot gives Invalid function error In-reply-to: X-Woof-Bug: Confirmed Message-ID: <87r1ix565x.fsf@gmail.com> Date: Tue, 27 Apr 2021 01:04:10 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619456809; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TU/lWth9fsAXOir4o09c/lawQLUULjTbXkoOvOvVUIA=; b=M75fCujILjbtWoOgXL77O5P8W5OOiAu54I0H2r2KStU8eq0CU/5e235Co2OOTFYlrVelrQ bmEBPiWfzQkV9vzwMN5Z5UOkv3wp66R5ALVDfQs9UNfo401V8DuKvek48iWOuZK2FOvY9J Yoss9NsKkzhUJxYuTs0EAA9Ymzr9PP6AC7UhT/3GTHU3kpCY1N0+/LFnkY8D+GPFdyAMhy vlQldZmGkjeUcNp/6xlvZEX+mqI7gAJfN+nMVeAqjkcrrqgK6Bp83qhmZsYl9CS0zz9fMe VDfDk3cgSEuomNFYrSx+W5BjK6nTAPBFV1AjS00qY8fSAIcWWmaORcVotalfOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619456809; a=rsa-sha256; cv=none; b=ATDsKAIb+i9jvc8qM491bpftwFlm/4OaRll23pd3voZ0TayvNSWE2UqBqytOPFpvDyfUZT 3dCKjtCHMEJNANj4g9jaC21wb2nSe2GZErzzdJpRtKw6M2d19eoYXsKRhfdO9010br1y3I luLorjP5FLs+3BVcE5qv31a1Yml36ibHcXQU2V3jZJm7JiluimwERUS22RMdngILNSbxoT A/tupz4JVLU7YMR9RqjkrQP7w10UrXp3o/eErI5AqLelj/xT4uLy7zRbAxI8rRN+9vLjzH GyXUyF1SQLpk2MGYA7QJ4eJvDa8mdARzvUDt4UcehDtBdOFfY/e0WvXcosDEjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lWME6IDk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lWME6IDk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6F91A1D0C7 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: bxj3Qh4xch9K Thank you for bringing this up, and bisecting the error. Interesting that this hasn't been noticed/reported till now. >From a quick test myself, this appears reproducible, though I have no idea what's going on (yet). Please let me know if you find anything. -- Timothy ian martins writes: > I went to test the "Refresh inline" patch [1] and found that org-plot is > broken for me. it > seems to have broken in 1ac45d76e. I tested with =emacs -Q= (but loaded > Org from master and gnuplot.el manually). I was running the example from > the doc [2]. I tested on linux and mac, both using emacs 26.3, and got the > same result. > > The error message is: > > org-plot/gnuplot: Invalid function: (dump-func (plist-get type > :data-dump)) > > But if I manually load =org-plot.el= it doesn't give that error, but > still doesn't produce a plot. I'm not sure what manually loading > =org-plot.el= does since I'd just done a "make clean; make" and restarted. > > In the second case (after manually loading =org-plot.el=), this is what is > in > the *gnuplot* buffer: > > Terminal type is now 'qt' > gnuplot> reset > gnuplot> set term GNUTERM > > Terminal type is now 'qt' > Options are '0 font "Sans,9"' > gnuplot> > gnuplot> set title 'Citas' > gnuplot> set yrange [0:] > gnuplot> set yrange [0:] > gnuplot> set datafile separator "\t" > gnuplot> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title > 'H-index' > warning: Skipping data file with no valid points > > ^ > x range is invalid > > this is the data file: > > "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 > > I'll try to look into it more later. > > [1] https://orgmode.org/list/87r1j0mg56.fsf@gmail.com/ > [2] https://orgmode.org/manual/Org-Plot.html#Org-Plot -- Timothy