Skip to content

Sometimes attrs["source"] is None #4185

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

montsamu
Copy link

@montsamu montsamu commented Apr 24, 2025

And this results in an absolute wall of errors in every robot log, e.g.:

20250424 14:20:05.655 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType |  
20250424 14:20:05.663 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType |  
20250424 14:20:05.671 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType |  
20250424 14:20:05.673 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType |  
20250424 14:20:05.694 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType |  
20250424 14:20:05.708 | ERROR | Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType

NOTE: This is robot 5.0.1.

And this results in an absolute wall of error messages in every robot log:

```

20250424 14:20:05.655	ERROR	Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType	
20250424 14:20:05.663	ERROR	Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType	
20250424 14:20:05.671	ERROR	Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType	
20250424 14:20:05.673	ERROR	Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType	
20250424 14:20:05.694	ERROR	Calling method '_start_keyword' of listener 'Browser' failed: TypeError: expected str, bytes or os.PathLike object, not NoneType
```
@aaltat
Copy link
Member

aaltat commented Apr 24, 2025

There is a small lint issue, could you run inv lint?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants