TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0

Solved bugs are moved into this topic...
Post Reply
fdformula
Posts: 2
Joined: 06.12.2025 17:52

TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0

Post by fdformula »

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!
Attachments
cudatext-1.230.0-NO_Errors.jpg
cudatext-1.230.5-NoneType-TypeError-3.jpg
cudatext-1.230.5-NoneType-TypeError-1.jpg
main Alexey
Posts: 2773
Joined: 25.08.2021 18:15

Re: TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0

Post by main Alexey »

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"
fdformula
Posts: 2
Joined: 06.12.2025 17:52

Re: TypeError: 'NoneType' object is not iterable since CudaText 1.230.1.0

Post by fdformula »

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!
Post Reply