lolleko / unreal-docset

Dash docset generator for ue4
17 stars 0 forks source link

invalid argument #1

Open mika314 opened 3 years ago

mika314 commented 3 years ago

After running $ bin/unreal-docset

it starts spamming:

mkdir UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds: not a directory
open UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds/ReleaseNotes/4_20/Studio: not a directory
mkdir UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds: not a directory
open UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds/ReleaseNotes/4_23/Studio: not a directory
mkdir UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds: not a directory
open UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew/Builds/ReleaseNotes/4_23: not a directory
open UnrealEngine4.docset/Contents/Resources/Documents/4.26/en-US/WhatsNew: is a directory

and after about one hour ends up with the error:

invalid argument

OS: Pop OS 21.04 Let me know if you need more info

lolleko commented 3 years ago

Interesting, I've never had this issue when I generated 4.26 docs for dash. I only ever tested the generator on macOS and windows, so this might be a Linux issue. I make heavy usage of go's os.MkdirAll the errors indicate that this could be the culprit. I will try to do some further investigation the next days.

For now, you can download the docset from here: https://zealusercontributions.vercel.app (direct link: https://kapeli.com/feeds/zzz/user_contributed/build/UnrealEngine4/UnrealEngine4.tgz).

Also, which go version do you use?

mika314 commented 3 years ago
mika@pop-os:~$ go version
go version go1.16.2 linux/amd64