'PathObject' object has no attribute 'text'
See original GitHub issueHello,
I got this error immediately after trying clicking on “new file” or “open file” (on the splash screen or menu bar). Version 1.12 release candidate.
python3 -m nodezator
Traceback (most recent call last):
File "[...]/nodezator/fileman/dirpanel/main.py", line 351, in update_path_objs_appearance
try: index = self.selectable_paths.index(
ValueError: None is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "[...]/nodezator/__main__.py", line 113, in <module>
main(args.filepath)
File "[...]/nodezator/__main__.py", line 72, in main
run_app(filepath)
File "[...]/nodezator/mainloop.py", line 208, in run_app
raise err
File "[...]/nodezator/mainloop.py", line 97, in run_app
loop_holder.handle_input()
File "[...]/nodezator/splashscreen/op.py", line 134, in handle_input
self.on_mouse_release(event)
File "[...]/nodezator/splashscreen/op.py", line 175, in on_mouse_action
else: method(event)
File "[...]/nodezator/ourstdlibs/behaviour.py", line 559, in execute
return func()
File "[...]/nodezator/winman/fileop.py", line 78, in new
paths = create_path(caption=NEW_FILE_CAPTION)
File "[...]/nodezator/fileman/op.py", line 117, in browse_paths
self.dir_panel.load_current_dir_contents()
File "[...]/nodezator/fileman/dirpanel/loadop.py", line 93, in load_current_dir_contents
self.update_path_objs_appearance()
File "[...]/nodezator/fileman/dirpanel/main.py", line 367, in update_path_objs_appearance
if path_obj.text == PATH_OBJ_PARENT_TEXT:
AttributeError: 'PathObject' object has no attribute 'text'
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
AttributeError: 'NoneType' object has no attribute 'text' - Stack ...
soup.find() can return None , and the NoneType object doesn't have a text attribute. You can get around this by splitting up soup.find(....
Read more >nonetype' object has no attribute 'text' - You.com - You.com
The API failed to parse fields from some twbx files with the following error. 'NoneType' object has no attribute 'text'. Open side panel....
Read more >pathlib — Object-oriented filesystem paths — Python 3.11.1 ...
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure ...
Read more >'NoneType' object has no attribute 'text' · Issue #41 - GitHub
I have set up this plugin and the django3-auth-saml2 plugin and am getting this error when ... 'NoneType' object has no attribute 'text'...
Read more >OpenAPI Specification - Version 3.0.3 - Swagger
Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

no more problem, thanks
Neat! I still got it!
Closing the issue now. Have a nice weekend.