GBDocSetPublishGenerator failed generating output, #407

Closed
shwetsolanki opened this Issue Oct 15, 2013 · 4 comments

Comments

Projects
None yet
3 participants
@shwetsolanki

Preparing DocSet for publishing...
GBDocSetPublishGenerator is generating output...
Initializing directory at '~/help/publish'...
Enumerating directory contents...
Generation step 5/5 failed: GBDocSetPublishGenerator failed generating output, aborting!
The folder “publish” doesn’t exist.
The folder doesn’t exist.

Could you help me solve this issue?

@tomaz

This comment has been minimized.

Show comment Hide comment
@tomaz

tomaz Oct 16, 2013

Owner

Try deleting ~/help/publish or make sure you have write permissions in there.

Otherwise you can run appledoc from within Xcode and set a breakpoint to line 25 of GBDocSetPublishGenerator.m and then step through it (I'm guessing it's line 67 that you'll need to step into to see what happens while initializing the folder). You should pass it all cmd line arguments you're using (via scheme editor).

Owner

tomaz commented Oct 16, 2013

Try deleting ~/help/publish or make sure you have write permissions in there.

Otherwise you can run appledoc from within Xcode and set a breakpoint to line 25 of GBDocSetPublishGenerator.m and then step through it (I'm guessing it's line 67 that you'll need to step into to see what happens while initializing the folder). You should pass it all cmd line arguments you're using (via scheme editor).

tomaz added a commit that referenced this issue Oct 31, 2013

Fixed docset installation. Addressing #407, #408, #409 and #412.
The problem was due to template files copy step issued for each output generator. This code basically deletes output path and copies template files over. However in doing so after docset was already prepared, it invalidated all previous effort.

PS Don't worry about the number of addressed issues - these are (likely) pointing to the same problem!
@tomaz

This comment has been minimized.

Show comment Hide comment
@tomaz

tomaz Oct 31, 2013

Owner

I think I found the issue, please verify it works now and close the issue if so.

Owner

tomaz commented Oct 31, 2013

I think I found the issue, please verify it works now and close the issue if so.

@shwetsolanki

This comment has been minimized.

Show comment Hide comment
@shwetsolanki

shwetsolanki Oct 31, 2013

It compiled successfully now. Thanks

It compiled successfully now. Thanks

@kevinlishuai

This comment has been minimized.

Show comment Hide comment
@kevinlishuai

kevinlishuai Nov 9, 2016

GBDocSetInstallGenerator failed generating output, aborting!

GBDocSetInstallGenerator failed generating output, aborting!

irshadpc added a commit to irshadpc/appledoc that referenced this issue Mar 6, 2017

Fixed docset installation. Addressing #407, #408, #409 and #412.
The problem was due to template files copy step issued for each output generator. This code basically deletes output path and copies template files over. However in doing so after docset was already prepared, it invalidated all previous effort.

PS Don't worry about the number of addressed issues - these are (likely) pointing to the same problem!

irshadpc added a commit to irshadpc/appledoc that referenced this issue Mar 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment