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
Trying to build docset for sagemath results in error #114
Comments
I think ignoring |
Agreed! Is it possible to do that? I couldn't see an option to ignore files from the output of |
They are Nix files that can have wrong permissions. Fixes #114
Would it be possible for you to try out the https://github.com/hynek/doc2dash/tree/ignore-buildinfo branch and tell me if it helped? |
They are Nix files that can have wrong permissions. Fixes #114
Hi, thank you but unfortunately it doesn't help. I don't know much python beyond what I have used for sage but here is what I tried to test the branch,
and the error is the same as before. |
Oh so the error happens when it's trying to delete something, not copy something? Can you please give me a full trace back as returned by the current PyPI version (or the main branch)? |
I tried that and also started with a clean directory and this time I get a different error,
The file in that error |
I'm starting to suspect that the issue/solution might be to change the copy mask of the files. (I.e. make them u+rw no matter what they are before) |
That makes sense. Is there any easy to test it? |
So we can keep this open, but my suggestion to you for now is to do a That should fix it, no? |
Thanks a lot, that worked. I think that is an acceptable workaround for idiosyncrasies of nix so I will close this issue. |
Hi, thanks for this tool. I have installed sagemath through nix and it includes documentation using sphinx. I am trying to build a docset for it using
However this fails with
The .buildinfo files seem to be part of many sub-directories of the documentation directory and the look like this,
I assume these are for nix (I don't know much, sagemath is the only thing I use nix for). Is it possible to ignore these files somehow? Or for doc2dash to continue despite such errors and generate docset based on files it can successfully consume?
The text was updated successfully, but these errors were encountered: