Skip to content

plantuml rendering shows blank screen on error #97

Open

Description

@abulka

Should show error image instead, which at least gives an indication that there was an error and why. Or detect response 400 and display something meaningful

Example log file:

[Thu 10:35 am] [INFO] __main__ - 741 - image_url of UML http://www.plantuml.com/plantuml/png/Iyv9B2vMS5Ievb9GA4XCJoq6qhcf9HdvAOOQcborN5p9O0N1UOa5RfavgM6PgUL6Ba3LN4XocRa5EQaU9IK58Od5sM2JadCoK_DAu4O16QL5EKXQe0gHH4BpilFoo_CKGYeBKc4oQ9RQwEe27Sg5PfskReqTn3mk53D0gj6KSW40
[Thu 10:35 am] [INFO] common.gui_imageviewer - 155 - (2nd, image grabbing) Response from plant_uml_server status_code 400
[Thu 10:35 am] [ERROR] common.gui_imageviewer - 165 - Error getting plantuml IMAGE, (bad response 400)

image

Activity

  1. abulka commented on Jul 1, 2021

    @abulka
    OwnerAuthor

    Caused by Pynsource creating a class with a space character Unknown Type from this syntax:

    class SimpleHttpTask(Task):
        url = None
        method = "GET"
        client: requests.Session = requests.Session()

    See issue #85

  2. added
    PlantUMLRelating to PlantUML server rendering
    on Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions