My selected plugins and customization worked perfectly with CudaText 1.230.0.0 and earlier versions. However, since CudatText 1.230.1.0, I kept receiving the following error:
Traceback (most recent call last):
File "C:\cygwin\cudatext\py\cudatext.py", line 1216, in _timer_proc_callback_proxy
return _live[info](tag)
File "C:\cygwin\cudatext\py\cuda_ex_terminal\memoscreen.py", line 154, in apply_url_markers
url_markers = [m for m in self.memo.attr(MARKERS_GET) if m[0] == -100] # url markers have tag -100
TypeError: 'NoneType' object is not iterable
ERROR: Exception in CudaText for cudatext._timer_proc_callback_proxy: TypeError: 'NoneType' object is not iterable
The error doesn't stop my code from working properly, but it is not a good thing. Please see also the attached screenshots.
Thanks!
TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0
-
main Alexey
- Posts: 2773
- Joined: 25.08.2021 18:15
Re: TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0
The error-line in plugin is using MARKERS_GET - removed API.
1.230.1 (2025/11)
* change: several old/redundant APIs were removed, but all plugins (in Addons Manager) were updated for this change; if you get plugins' errors with 1.230.1, just update all your plugins via "Plugins / Addons Manager / Update"
1.230.1 (2025/11)
* change: several old/redundant APIs were removed, but all plugins (in Addons Manager) were updated for this change; if you get plugins' errors with 1.230.1, just update all your plugins via "Plugins / Addons Manager / Update"
Re: TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0
Thank you so much. It works now
BTW, I just need to remove the one statement containing MARKERS_GET in file memoscreen.py.
Merry Christmas and happy new year!
Merry Christmas and happy new year!