Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Error: Graphviz layout returned error code -1 #128

Open
karolfilipowicz opened this issue Dec 29, 2023 · 10 comments
Open

Security Error: Graphviz layout returned error code -1 #128

karolfilipowicz opened this issue Dec 29, 2023 · 10 comments
Labels
fixed Issue has been fixed (but may not have been published yet in a release) recommendation

Comments

@karolfilipowicz
Copy link

Describe the bug
When attempting to generate documentation for my solution I get the Graphviz layout returned error code -1 error and noting except the folder get created

To Reproduce
Steps to reproduce the behavior:

  1. Run the .exe file from the 1.2.4 self-contained version
  2. Select any solution
  3. Error occurs

Expected behavior
Solution documentation is created

Screenshots
image
image

@CyberArcadian
Copy link

I have the same problem.

Since the target framework ".NET Core 3.1" is out of support, I upgraded the projects to .Net 8 and all the NuGet packages to the latest versions.

The upgrade processes are easy. There are some small fixes but there is no too much trouble. The only exception is "Rubjerg.Graphviz" NuGet package. When using V1.1.0 of the package the projects are compiled and working fine. However, if upgrading the package to V2.0.0, I got the "Security Error" very similar to the karolfilipowicz described.

I hope someone can help to figure out this mystery and (maybe) upgrade the projects to .Net 8.

@modery
Copy link
Owner

modery commented Jan 18, 2024

Think I have identified the problem (reported it on the Rubjerg.Graphviz github repo) and have a workaround to make it work. Also updated my solution to .Net 8, had a few successful tests. Will continue testing, and if no further issues are found I'll release an updated version in the coming days

@CyberArcadian
Copy link

CyberArcadian commented Jan 18, 2024 via email

@modery
Copy link
Owner

modery commented Feb 13, 2024

The Graphviz issue should be fixed as part of today's 2.0.0 release. Can you confirm this?

Will test the recommendation for the connectors next

@modery modery added fixed Issue has been fixed (but may not have been published yet in a release) recommendation labels Feb 15, 2024
@CyberArcadian
Copy link

CyberArcadian commented Feb 15, 2024 via email

@modery
Copy link
Owner

modery commented Feb 16, 2024

Replaced the location for the connector icons as recommended by you (modery/PowerDocu.Common@ab7646e), will be part of the next release

@karolfilipowicz
Copy link
Author

Hi @modery! So sorry to get back to you so late. Unfortunately I get another error now but still related to Graphviz
image

@modery
Copy link
Owner

modery commented Apr 1, 2024

Does this happen for a single Flow only or for all?

@karolfilipowicz
Copy link
Author

I believe it happens for all flows.
image

@modery
Copy link
Owner

modery commented Jul 13, 2024

Replaced the location for the connector icons as recommended by you (modery/PowerDocu.Common@ab7646e), will be part of the next release

This is now live in 2.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Issue has been fixed (but may not have been published yet in a release) recommendation
Projects
None yet
Development

No branches or pull requests

3 participants