You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"AttributeError: 'NoneType' object has no attribute 'is_absolute' " occurs when building 3.13.0 beta 1 from source on Windows #118876
The above error occurs when building python 3.13 beta 1 from source on Windows. Have determined that ns.temp not being defined before its is_absolute() method is invoked. Below is the full trace of the AttributeError. Will submit a PR with a patch that is working for me.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\builds\sources\1\Python-3.13.0b1\PC\layout\__main__.py", line 14, in <module>
sys.exit(int(main() or0))
~~~~^^
File "C:\builds\sources\1\Python-3.13.0b1\PC\layout\main.py", line 606, in mainifnot ns.temp.is_absolute():
^^^^^^^^^^^^^^^^^^^AttributeError: 'NoneType' object has no attribute 'is_absolute'
Activity
pythongh-118876: Set ns.temp before invoking its is_absolute method
pythongh-118876: Set ns.temp before invoking its is_absolute method
gh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)
pythongh-118876: Ensure PC/layout sets ns.temp before using it (pytho…
pythongh-118876: Ensure PC/layout sets ns.temp before using it (pytho…
zooba commentedon May 13, 2024
Thank you!
gh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)
gh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)
pythongh-118876: Ensure PC/layout sets ns.temp before using it (pytho…