plotly / plotly/plotly.R

Gtk-Message: GtkDialog mapped without a transient parent

Offen
#1,746 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
R
Sterne
2.7k
Forks
641
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem R-Aufruf orca() und dem entsprechenden, im Issue beschriebenen orca graph CLI-Aufruf und vergleiche deren Ausgabedateinamen, Exit-Status und Abschlussverhalten. Prüfe, wie die Fontconfig- und GTK-Warnungen mit dem fehlgeschlagenen Export zusammenhängen; abgeschlossen ist die Aufgabe, wenn der angeforderte Bildexport ohne eine unvollständige Aufgabe erfolgreich abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, r
Bereich
cli, data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.