plotly / plotly/plotly.R

Gtk-Message: GtkDialog mapped without a transient parent

オープン
#1,746 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

I installed orca 1.3.1 on my RStudio docker (Debian GNU/Linux 9 (stretch)). I am unable to export the image and I keep getting a warning related to Fontconfig + GTK-Message that I don't know if they are related to the issue or not.

sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)

other attached packages:
[1] webshot_0.5.1 plotly_4.9.2.1 ggplot2_3.3.0 processx_3.4.2

I created a simple plot and when calling orca(),

> today <- Sys.Date()
> tm <- seq(0, 2, by = 1)
> x <- today - tm
> y <- rnorm(length(x))
> fig <- plot_ly(x = ~x, y = ~y, mode = 'lines', text = paste(tm, "days from today"))
> orca(fig, "foo.svg") # No error message but never finish
Unknown element "blank"tc/fonts/fonts.conf", line 100: 
Unable to revert mtime: /usr/local/share/fonts
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
/

What's interesting is that I tried to create another simple figure from a terminal and it did created a png file although the name of the output file is different.

root@ae51f6d6054c:/home/rstudio/doodle# orca graph '{ "data": [{"y": [1,2,1]}] }' -o foo.png
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"

done with code 1 in 164.75 ms - failed or incomplete task(s)
root@ae51f6d6054c:/home/rstudio/doodle# ls foo_1.png 
foo_1.png

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue に記載されている R の orca() 呼び出しと、それに相当する orca graph CLI の呼び出しから始め、それぞれの出力ファイル名、終了ステータス、完了時の挙動を比較します。Fontconfig と GTK の警告が失敗したエクスポートとどのように関係するかを確認します。要求された画像のエクスポートが不完全なタスクを残さず正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, r
領域
cli, data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。