Unable to generate text or utext but ok with png and svg.

+1 vote
asked Sep 8, 2015 in To be sorted by anonymous
I get these errors (but generating png or svg is fine):

 ± plantuml -tutxt Ore\ Crushing\ Circuit\ Process\ Flow\ Diagram.pu                                                                        15-09-08 16:53:04
java.lang.UnsupportedOperationException: UTXT
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:256)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:144)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:125)
        at net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3.exportDiagramInternal(ActivityDiagram3.java:193)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:249)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsActivityDiagram3(PSystemUtils.java:151)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:72)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:209)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
        at net.sourceforge.plantuml.Run.main(Run.java:135)
Exception in thread "main" java.lang.UnsupportedOperationException: UTXT
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:256)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:144)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:125)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagramError2(UmlDiagram.java:298)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagramError(UmlDiagram.java:264)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:257)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsActivityDiagram3(PSystemUtils.java:151)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:72)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:209)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
        at net.sourceforge.plantuml.Run.main(Run.java:135)
 

 ± plantuml -ttxt Ore\ Crushing\ Circuit\ Process\ Flow\ Diagram.pu                                                                         15-09-08 16:54:59
java.lang.UnsupportedOperationException: ATXT
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:256)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:144)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:125)
        at net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3.exportDiagramInternal(ActivityDiagram3.java:193)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:249)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsActivityDiagram3(PSystemUtils.java:151)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:72)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:209)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
        at net.sourceforge.plantuml.Run.main(Run.java:135)
Exception in thread "main" java.lang.UnsupportedOperationException: ATXT
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(ImageBuilder.java:256)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:144)
        at net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(ImageBuilder.java:125)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagramError2(UmlDiagram.java:298)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagramError(UmlDiagram.java:264)
        at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:257)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsActivityDiagram3(PSystemUtils.java:151)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:72)
        at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:209)
        at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
        at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
        at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
        at net.sourceforge.plantuml.Run.main(Run.java:135)

1 Answer

0 votes
answered Sep 8, 2015 by plantuml (160,200 points)
Hello,

ASCII export is only working with sequence diagram, and class diagram (with many limitations).

Sorry about that!
commented Sep 9, 2015 by anonymous
Oh, is it on the roadmap? Would be great for me to store my ascii diagrams in my source code directly.
commented May 6 by tomerbd (120 points)
it would be extremely helpful to have the component diagram generated to ascii.
...