Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

"Permission denied" error, documentation is still generated #48

Closed
kaishin opened this issue Apr 3, 2020 · 5 comments · Fixed by #100
Closed

"Permission denied" error, documentation is still generated #48

kaishin opened this issue Apr 3, 2020 · 5 comments · Fixed by #100
Labels
bug Something isn't working

Comments

@kaishin
Copy link
Contributor

kaishin commented Apr 3, 2020

Steps to reproduce?

  • Project: https://github.com/kaishin/Gifu
  • How I installed swift-doc: git clone then make install
  • Exact command: swift-doc generate ./Sources/ --module-name Gifu --output Documentation --format html

Expected behavior

  • HTML documentation generated at ./Documentation
  • No error output

Actual behavior

  • HTML documentation generated at ./Documentation
  • The following output
Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"

Environment

  • OS version: 10.15.4 (19E266)
@mattt mattt added the bug Something isn't working label Apr 3, 2020
@mattt
Copy link
Contributor

mattt commented Apr 3, 2020

@kaishin Interesting. Just a hunch, but is your generated documentation missing inheritance graphs? If so, the permission error is a result of attempting to run neato. Otherwise, I don't have any guesses as to what is causing this — especially since the command finishes successfully.

Resolving #38 could help identify the cause. But in the meantime, could you try one more time and check if the system logs (via Console.app) offer any leads?

@kaishin
Copy link
Contributor Author

kaishin commented Apr 3, 2020

That’s it. They were missing indeed.

@kaishin
Copy link
Contributor Author

kaishin commented Apr 3, 2020

Let me investigate a bit. I shouldn't be sounding so sure 😅 I just wondered why the graphs were missing...

@kaishin
Copy link
Contributor Author

kaishin commented Apr 3, 2020

Indeed. This is the line throwing the error.

@AndrewBarba
Copy link

Experiencing the same exact error. Installed via Homebrew

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants