简体   繁体   English

在缓冲区中找不到 Org Babel 源块参数引用

[英]Org Babel source block argument reference not found in buffer

I'm using a python source block to generate graph images from tables for a homework assignment.我正在使用 python 源块从表格中生成图形图像以进行家庭作业。 As documented here , I have a named table which I am making available to the python block as an argument.如此所述,我有一个命名表,我将其作为参数提供给 python 块。 I got this working, then at some point it stopped working for no obvious reason.我得到了这个工作,然后在某个时候它无缘无故停止工作。

When I try to evaluate the code block, either directly or through a #+call: directive, it fails and generates the following error message:当我尝试直接或通过#+call:指令评估代码块时,它会失败并生成以下错误消息:

Reference 'blank_dset' not found in this buffer在此缓冲区中未找到引用“blank_dset”

Here's the full org file for reference: https://pastebin.com/nS09gX8U这是完整的 org 文件供参考: https://pastebin.com/nS09gX8U

What happened here was that I accidentally marked the headline as a comment , which caused babel to ignore the named tables I was trying to use.这里发生的事情是我不小心将标题标记为评论,这导致 babel 忽略了我试图使用的命名表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM