[DOCS-11909] giza: UnboundLocalError: local variable 'task_result' referenced before assignment Created: 23/Jul/18 Updated: 27/Oct/23 Resolved: 17/Feb/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Oleg Pudeyev (Inactive) | Assignee: | Andrew Aldridge |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | docs-tools | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 50 weeks, 5 days ago |
| Story Points: | 0.1 |
| Description |
| Comments |
| Comment by Emet Ozar [ 17/Feb/23 ] | ||
|
Closing per convo with allison.moore@mongodb.com | ||
| Comment by Andrew Feierabend (Inactive) [ 16/Oct/20 ] | ||
|
Hi Team! Sorry for this post to such an antiquated ticket, but: I was troubleshooting a strange failure-to-build issue on Melissa's macOS 10.15 box today, and ran into this exact error message (in Oleg's description above). A bunch of testing later, it looks like her installation of `sphinx` did not include the `sphinx-build` file. I copied mine to her system, and everything magically started working. I'll put together some diagnostics next week (this and related issues seem to be affecting new builds, so I gather there will be a need for this). Wanted to get potential fix for this issue up where others could see. Hope this helps! | ||
| Comment by Oleg Pudeyev (Inactive) [ 23/Jul/18 ] | ||
|
That was indeed the issue, I added appropriate notes to docs repos. Now that I know that this was the issue, the previous line in the output does mention `sphinx-build`. Perhaps if the UnboundLocalError is fixed (and output past the error reduced correspondingly) it would be easier to figure this out. | ||
| Comment by Andrew Aldridge [ 23/Jul/18 ] | ||
|
Hello oleg.pudeyev! Unfortunately giza's error reporting is quite poor, as you've discovered. But this error is most probably caused by a problem launching sphinx-build. Make sure that sphinx-build is in your PATH and is installed with Python 2:
Running giza with the -s flag to build in serial mode will provide a better backtrace:
|