Non-GUI mode: "assertion `GDK_IS_SCREEN (screen)' failed" in 0.93?
From: Colin Marquardt <colin marquardt-home de>
To: Dia-list gnome org
Cc:
Subject: Non-GUI mode: "assertion `GDK_IS_SCREEN (screen)' failed" in 0.93?
Date: Wed, 09 Jun 2004 00:46:31 +0200
Hello,
I am running "Dia version 0.93, compiled 18:44:44 Jun 8 2004" on
on a Solaris 2.8 box. I want to export diagrams to PNG, and it
works from the GUI - but I always only get the standard size (not
sure how big it is actually - 300px high or something like that?)
I see that people talk about a PNG export dialog - I don't get such
a dialog when running "Export" from the menu and choosing PNG
however. It just saves the file in the default size and that's it.
When trying to convert from the command line (in order to use the
--size switch eventually), I get:
$ dia --export-to-format=png ToplevelStateMachine.dia
(process:12449): Gdk-CRITICAL **: file gdkvisual-x11.c: line 358 (gdk_screen_get_system_visual): assertion `GDK_IS_SCREEN (screen)' failed
Segmentation Fault
According to
http://mail.gnome.org/archives/gtk-list/2003-December/msg00063.html
this should be fixed though? Indeed, I see gtk_init is only used
when dia_is_interactive=TRUE in the sources.
Does anybody have an idea what is up?
TIA,
Colin
--
Otherwise it's like trying to find out what is wrong with a car when you:
a) can't see the car, b) don't know what make it is, c) have somebody
describing the sound it makes when the problem occurs, over a poor
phone line, with a cold. [Andrew Beckett in comp.cad.cadence]