[umbrello] [Bug 417520] New: Exporter searches for XSLT file in nonexistent directory

Kyle Kern bugzilla_noreply at kde.org
Wed Feb 12 20:38:10 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=417520

            Bug ID: 417520
           Summary: Exporter searches for XSLT file in nonexistent
                    directory
           Product: umbrello
           Version: 2.30.1 (KDE releases 19.12.1)
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: exporter
          Assignee: umbrello-devel at kde.org
          Reporter: kkern at actia.com
  Target Milestone: ---

Created attachment 125918
  --> https://bugs.kde.org/attachment.cgi?id=125918&action=edit
Output of running umbrello5 from the terminal in openSUSE

SUMMARY
Umbrello exports empty DocBook and XHTML files.  The console output indicates
that Umbrello is looking for the required XSLT files in a directory that does
not exist.


STEPS TO REPRODUCE
1. Install Umbrello from the operating system's software repositories.
2. Open Umbrello and create a UML diagram.
3. Export the model via File >> Export model >> Export model to XHTML.
4. Select the directory for the output.


OBSERVED RESULT
The action fails with the message "XHTML Generation failed ."  The diagram is
generated successfully as a PNG file in the output directory, but the DocBook
and XHTML output files are empty.


EXPECTED RESULT
The DocBook and XHTML files are generated, and contain the UML model's
documentation.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20200201
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
The problem also exists on Manjaro Linux with the same KDE and Qt software
versions noted above.

Exporting the DocBook output does not generate an error, but the output file is
still empty.

When run from the terminal, Umbrello indicates that it is searching for an XSLT
file in a directory that does not exist.  The path varies between the two
aforementioned operating systems, but in both cases the path name suggests that
Umbrello is searching for the absolute path of the XSLT file on the system that
built the installer package.  On openSUSE Tumbleweed, the path is
"/home/abuild/rpmbuild/BUILD/umbrello-19.12.1/umbrello/docgenerators/docbook2xhtml.xsl".
 I have attached the output from running Umbrello on openSUSE.

A possible workaround is to create a symbolic link from the directory named in
Umbrello's command-line output to the directory where the XSLT files are
actually installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list