Closed
Bug 1828891
Opened 3 years ago
Closed 3 years ago
`./mach doc` fails with `FileNotFoundError` for `dom/mots.yaml`
Categories
(Firefox Build System :: Build Documentation, defect)
Firefox Build System
Build Documentation
Tracking
(firefox-esr102 unaffected, firefox112 unaffected, firefox113 unaffected, firefox114 fixed)
RESOLVED
FIXED
114 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox112 | --- | unaffected |
| firefox113 | --- | unaffected |
| firefox114 | --- | fixed |
People
(Reporter: saschanaz, Assigned: zeid)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
The initial build succeeds but then fails while it watches the file change and triggers rebuild.
I didn't have this issue yesterday (2023-04-18), maybe something is regressed?
| Reporter | ||
Comment 1•3 years ago
|
||
The log:
[I 230419 13:36:28 watcher:110] Running task: anonymous (delay: None)
Run sphinx with:
['-T', '-b', 'html', '-c', 'C:\\Users\\sasch\\Documents\\GitHub\\gecko-dev\\docs', '-w', 'C:\\Users\\sasch\\AppData\\Local\\Temp\\tmp1kb4qbj_', 'dom\\docs', 'C:/Users/sasch/Documents/GitHub/gecko-dev/obj-clangplugin\\docs\\html', '-j', '64']
Running Sphinx v5.1.1
Traceback (most recent call last):
File "c:\users\sasch\documents\github\gecko-dev\obj-clangplugin\_virtualenvs\docs\lib\site-packages\sphinx\cmd\build.py", line 272, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\users\sasch\documents\github\gecko-dev\obj-clangplugin\_virtualenvs\docs\lib\site-packages\sphinx\application.py", line 222, in __init__
self.setup_extension(extension)
File "c:\users\sasch\documents\github\gecko-dev\obj-clangplugin\_virtualenvs\docs\lib\site-packages\sphinx\application.py", line 400, in setup_extension
self.registry.load_extension(self, extname)
File "c:\users\sasch\documents\github\gecko-dev\obj-clangplugin\_virtualenvs\docs\lib\site-packages\sphinx\registry.py", line 455, in load_extension
metadata = setup(app)
^^^^^^^^^^
File "c:\users\sasch\documents\github\gecko-dev\python\mozbuild\mozbuild\sphinx.py", line 281, in setup
export_mots(app)
File "c:\users\sasch\documents\github\gecko-dev\python\mozbuild\mozbuild\sphinx.py", line 186, in export_mots
config.load()
File "c:\users\sasch\documents\github\gecko-dev\obj-clangplugin\_virtualenvs\docs\lib\site-packages\mots\config.py", line 84, in load
with self.path.open("r", encoding="utf-8") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sasch\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\sasch\\Documents\\GitHub\\gecko-dev\\dom\\mots.yaml'
Exception occurred:
File "C:\Users\sasch\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\sasch\\Documents\\GitHub\\gecko-dev\\dom\\mots.yaml'
The full traceback has been saved in C:\Users\sasch\AppData\Local\Temp\sphinx-err-jctf_z5k.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
[WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\sasch\\AppData\\Local\\Temp\\tmp1kb4qbj_'
Updated•3 years ago
|
Flags: needinfo?(zeid)
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → zeid
Flags: needinfo?(zeid)
Updated•3 years ago
|
Keywords: regression
Regressed by: 1817289
| Assignee | ||
Comment 2•3 years ago
|
||
Pushed by zzabaneh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3b9cc94885f
skip mots export if config not in base path r=sylvestre
Comment 4•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Updated•3 years ago
|
status-firefox112:
--- → unaffected
status-firefox113:
--- → unaffected
status-firefox-esr102:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•