[Uml-devel] [Bug 283748] Umbrello be run headless to export diagrams
Ralf Habacker
ralf.habacker at gmail.com
Tue Mar 13 21:14:14 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=283748
Ralf Habacker <ralf.habacker at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |ralf.habacker at gmail.com
Ever confirmed|0 |1
--- Comment #1 from Ralf Habacker <ralf.habacker at gmail.com> ---
(In reply to comment #0)
> Version: unspecified (using KDE 4.5.5)
> OS: Linux
>
> Umbrello cannot be run on a headless machine to export diagrams because it
> appears that it needs the X server, even in the absence of the GUI. I've
> observed this happening when shelling into another machine and running the
> following command remotely.
>
> Reproducible: Didn't try
>
> Steps to Reproduce:
> $ umbrello --export svg Project.xmi
>
> Actual Results:
> umbrello: cannot connect to X server
>
At a first look there as some obvious reasons for this:
1. in main.cpp KApplication is created always with Gui enabled - this is easy
to fix
2. UMLApp uses several objects like the QPrinter object, which creates a
QWidget object. It looks they depend on an X-Server. The question is if it is
possible to avoid such object creations or if not if it is possible to use some
memory based gui output device to avoid the x-server dependency.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list