Skip to content
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

Bug: Failed to generate the rtd documenation due to howto.bf.mt.001 #443

Closed
1 of 3 tasks
steveyuwono opened this issue Oct 7, 2022 · 4 comments · Fixed by #445
Closed
1 of 3 tasks

Bug: Failed to generate the rtd documenation due to howto.bf.mt.001 #443

steveyuwono opened this issue Oct 7, 2022 · 4 comments · Fixed by #445
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation v1.0.0 In scope of Release 1.0.0

Comments

@steveyuwono
Copy link
Collaborator

steveyuwono commented Oct 7, 2022

1 Describe the bug
I failed to build the HTML while updating the rtd file due to an error found when running the howto.bf.mt.001, as you can see from the screenshot below.

2 To Reproduce
Steps to reproduce the behavior:

  1. Go to rtd section
  2. Build the HTML of the rtd, by 'make.bat html' or 'sphinx-autobuild . _build/html'
  3. The error message appears

3 Expected behavior
See below

4 Screenshots
image

5 Additional Informations

5.1 Operating System

  • Linux
  • Windows
  • Mac OS

Cross references
https://docs.python.org/3/library/multiprocessing.html?highlight=freeze_support#multiprocessing.freeze_support

@steveyuwono steveyuwono added bug Something isn't working documentation Improvements or additions to documentation next release labels Oct 7, 2022
@steveyuwono steveyuwono added this to the Sprint 10/2022 milestone Oct 7, 2022
@steveyuwono
Copy link
Collaborator Author

Hi @detlefarend , I found an error while building the html for rtd due to howto.bf.mt.001. I wonder, if this problem has also occurred in your PC. If yes, can you have a look on it? Thank you

@detlefarend
Copy link
Member

Hi @steveyuwono, it seems to be a Windows specific problem. it runs under Linux and the unit tests are also running. In your screenshot is a hint for solving this. I'll take a look and come back with my findings...

@steveyuwono
Copy link
Collaborator Author

Hi @detlefarend , thank you for your response. I had no time yesterday to solve this issue. Since it's a Windows-related issue, I will also try to figure this out.

@detlefarend detlefarend linked a pull request Oct 8, 2022 that will close this issue
2 tasks
@detlefarend
Copy link
Member

detlefarend commented Oct 9, 2022

Hi @steveyuwono, your screenshot shows some hints to solve this problem. I researched a bit and added a call for function freeze_support() to module bf.mt.py. Obviously this is not enough. Could you please make a further try by calling this function in the howto itself as the first statement under if name == 'main:' and comment the call in module mt.py? If this doesn't solve the problem then a Windows specific implementation of creating a new process ("spawn") is necessary...

@detlefarend detlefarend unpinned this issue Oct 14, 2022
@detlefarend detlefarend added v1.0.0 In scope of Release 1.0.0 and removed next release labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation v1.0.0 In scope of Release 1.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants