You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Grapher generates dot files with syntax errors #755
Description of the issue: Grapher generates dot files with syntax errors:
Warning: graph.dot:3: syntax error in line 3 near ',' Steps to reproduce: 1. Follow the example https://code.google.com/p/google-guice/wiki/Grapher 2. Run the code
3. Try to generate a diagram using dot, e.g.
The attached patch is all that's necessary to get a simple example working for me. I wasn't sure how to right a good test that captured this fix. Perhaps an integration test should actually invoke dot to check the syntax of a generated file?
Activity
gissuebot commentedon Jul 7, 2014
From sberlin on December 05, 2013 14:51:25
Patches are gladly accepted!
gissuebot commentedon Jul 7, 2014
From scott.macgibbon on December 20, 2013 08:50:29
I get the same error - any clue on how to get a correct graph generated?
gissuebot commentedon Jul 7, 2014
From scot.hale on December 26, 2013 11:44:34
This is what I did to get it to work with guice 4.x: http://stackoverflow.com/questions/9301007/is-there-any-way-to-get-guice-grapher-to-work/20790253#20790253
gissuebot commentedon Jul 7, 2014
From sberlin on December 26, 2013 11:48:55
If there's something we can change in the code itself to fix this, please attach a patch here. Thanks!
gissuebot commentedon Jul 7, 2014
From tavianator on January 06, 2014 00:04:18
The attached patch is all that's necessary to get a simple example working for me. I wasn't sure how to right a good test that captured this fix. Perhaps an integration test should actually invoke dot to check the syntax of a generated file?
Attachment: gist
0001-extensions-grapher-Fix-a-syntax-error-in-the-generat.patch
gissuebot commentedon Jul 7, 2014
From tavianator on March 25, 2014 10:53:17
Ping?
gissuebot commentedon Jul 7, 2014
From sberlin on April 10, 2014 16:28:44
Fixed by r=647b24f7f1b5.
Status: Fixed