ChatFred: TypeError: 'type' object is not subscriptable
I had a look at the troubleshooting section
- [√ ] Yes
- No
Describe the bug A clear and concise description of what the bug is. Test with ‘cf say it is a test’, but nothing happens. Workflow debugger says:
[23:09:00.215] ChatFred[Keyword] Processing complete
[23:09:00.217] ChatFred[Keyword] Passing output 'say it is a test' to Run Script
[23:09:00.722] ERROR: ChatFred[Run Script] Traceback (most recent call last):
File "src/text_chat.py", line 58, in <module>
def read_from_log() -> list[str]:
TypeError: 'type' object is not subscriptable
[23:09:00.723] ChatFred[Run Script] Processing complete
[23:09:00.723] ChatFred[Run Script] Passing output '' to Large Type
[23:09:00.724] ChatFred[Run Script] Passing output '' to Conditional
[23:09:00.725] ChatFred[Run Script] Passing output '' to Conditional
[23:09:00.725] ChatFred[Conditional] Processing complete
[23:09:00.726] ChatFred[Conditional] Passing output '' to Copy to Clipboard
[23:09:00.726] ChatFred[Copy to Clipboard] Processing complete
[23:09:00.727] ChatFred[Copy to Clipboard] Passing output '' to Conditional
[23:09:00.727] ChatFred[Conditional] Processing complete
[23:09:00.728] ChatFred[Conditional] Passing output '' to Post Notification
To Reproduce Steps to reproduce the behavior: Trigger ChatFred with ‘cf say it is a test’
Relevant information from the ChatFred_Error.log file
No error log was produced.
ChatFred version: 1.2.1
Alfred version: 5.0.6
Additional context By the way, ‘cfi’ command works well.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (9 by maintainers)
Yes - it works splendidly. Thanks for all your work on this!
You’ve cracked it! It seems that my mac no longer had Python installed after an update.
Thanks for all your help with this!
Hi @chrislemke,
I just uninstalled and reintalled via your link and this is the error that came through on the debug viewer:
Let me know if there is anything else I can assist with.
Thanks
This release (1.2.2) should work.