python-plantuml icon indicating copy to clipboard operation
python-plantuml copied to clipboard

Fix 'PlantUMLHTTPError' object has no attribute 'message'

Open jean opened this issue 6 years ago • 8 comments

Also, pass 'message' to super, so that it's displayed. (I suspect this has to do with Python 3 changes?)

jean avatar Nov 13 '19 04:11 jean

@dougn good thing you didn't notice this PR yet :grimacing: It had a bug. Should be better now.

jean avatar Dec 09 '19 06:12 jean

@jean It seems that the new version also has a potential issue. The message is generated regardless of whether there is one already. In case if there is one it will be ignored and the generated one will be passed into the supers __init__.

yuriikonovaliuk avatar May 17 '20 10:05 yuriikonovaliuk

I'm facing this errror via mkdocs if there are some syntax issues in the plantuml block. Is the PR somehow blocked?

anb0s avatar Aug 03 '21 11:08 anb0s

I'm facing this errror via mkdocs if there are some syntax issues in the plantuml block. Is the PR somehow blocked?

+1

wonderchang avatar Feb 11 '22 17:02 wonderchang

I'm trying to use PlantUML in colab.research.google.com and can't get error handling to work properly because of this. Hoping you can merge this.

fuhrmanator avatar Mar 25 '22 18:03 fuhrmanator

At times it appears if the input UML Code has syntax errors. Please double-check the input UML Code. @jean @wonderchang @fuhrmanator

sharif509 avatar Apr 16 '22 22:04 sharif509

@Shareef509 if you could see the rendered image (that's returned despite the syntax error) you could see exactly what the error in the plantuml syntax and fix it. "Double checking" is hard if you can't get the error information.

fuhrmanator avatar Apr 16 '22 22:04 fuhrmanator

I had the same experience, that's why shared if it helps anyone else. Thank you.

sharif509 avatar Apr 16 '22 22:04 sharif509