Vega lite AscidActor kroki和远程csv数据出现问题

Vega lite AscidActor kroki和远程csv数据出现问题,vega-lite,asciidoctor,Vega Lite,Asciidoctor,我似乎有一个非常类似的问题 我可以用json文件中包含的数据值生成一个简单的条形图。但是下面的数据url/csv使用vegalite online editor生成一个图形,但使用Ascidoctor kroki生成时不会 [vegalite,svg,role=chart] .... { "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "description&q

我似乎有一个非常类似的问题

我可以用json文件中包含的数据值生成一个简单的条形图。但是下面的数据url/csv使用vegalite online editor生成一个图形,但使用Ascidoctor kroki生成时不会

[vegalite,svg,role=chart]
....
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "A simple bar chart with embedded data.",
  "data": {
    "url": "https://boydkelly.gitlab.io/dl/download/dyu.contes-africains-freq.csv",
    "format": {
      "type": "csv"
    }
  },
  "mark": "bar",
  "encoding": {
    "x": {"field": "fréquence", "type": "quantitative"},
    "y": {"field": "mot", "type": "nominal"}
  }
}
.... 
但我试过这个命令:

 env KROKI_SAFE_MODE=unsafe asciidoctor --safe-mode=unsafe -r asciidoctor-kroki kroki.adoc 
它在html输出中生成一个链接:

<div class="content">    
<img src="https://kroki.io/vegalite/svg/eNpVjk1ywyAMhfc5BcN0GcOqm-x6FBlkWw0_DshOPRkfqOfoxQok06QbRjy99_TdDkLIt2wm9CBPQk7Mcz5pveIIaiSell5R1HdDUztHj
</div> 
我还收到了以下错误,但这些错误并没有阻止使用“值”而不是url/csv生成图形

[bkelly@toolbox dyu]$ env KROKI_SAFE_MODE=unsafe asciidoctor --safe-mode=unsafe -r asciidoctor-kroki kroki.adoc 
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-2.0.14/lib/asciidoctor/extensions.rb:1398: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-kroki-0.4.0/lib/asciidoctor/extensions/asciidoctor_kroki/extension.rb:49: warning: The called method `initialize' is defined here
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-2.0.14/lib/asciidoctor/extensions.rb:1398: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-kroki-0.4.0/lib/asciidoctor/extensions/asciidoctor_kroki/extension.rb:22: warning: The called method `initialize' is defined here

谢谢你的指导

显示生成的HTML的示例似乎被截断。当我尝试您提供的内容时,我得到
400无法解码源代码。源不在有效的Base64方案中。
[bkelly@toolbox dyu]$ env KROKI_SAFE_MODE=unsafe asciidoctor --safe-mode=unsafe -r asciidoctor-kroki kroki.adoc 
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-2.0.14/lib/asciidoctor/extensions.rb:1398: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-kroki-0.4.0/lib/asciidoctor/extensions/asciidoctor_kroki/extension.rb:49: warning: The called method `initialize' is defined here
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-2.0.14/lib/asciidoctor/extensions.rb:1398: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/home/bkelly/.rvm/gems/ruby-2.7.0/gems/asciidoctor-kroki-0.4.0/lib/asciidoctor/extensions/asciidoctor_kroki/extension.rb:22: warning: The called method `initialize' is defined here