blockdiag / nwdiag

Apache License 2.0
115 stars 18 forks source link

rack description throws an error in rackdiag 0.9.4 #5

Closed tk0miya closed 6 years ago

tk0miya commented 6 years ago

Given this input to rackdiag:

#!python

rackdiag {
    description = "test";

    1: UPS;
}

This error is generated:

ERROR: 'NoneType' object has no attribute 'stringWidth'

This also happens with the example given here: http://blockdiag.com/en/nwdiag/rackdiag-examples.html#rack-attributes


tk0miya commented 6 years ago

From Takeshi KOMIYA on 2013-02-11 02:57:42+00:00

This problem caused from bug of blockdiag. and, I fixed in https://bitbucket.org/tk0miya/blockdiag/commits/b5c4e8a2f521db440d1801239f78c524 please wait for next release of blockdiag.