Closed JairoMartinezA closed 3 years ago
Another error, pending steps:
ERROR: statusbar_proc() gets bad handle of type TFormDummy
TypeError: an integer is required (got type NoneType)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Jairo Martinez\Downloads\Apps\Cudatext\py\cuda_breadcrumbs\breadcrumbs.py", line 173, in on_open
bc.on_fn_change()
File "C:\Users\Jairo Martinez\Downloads\Apps\Cudatext\py\cuda_breadcrumbs\breadcrumbs.py", line 410, in on_fn_change
self.update()
File "C:\Users\Jairo Martinez\Downloads\Apps\Cudatext\py\cuda_breadcrumbs\breadcrumbs.py", line 318, in update
self._update_bgs(len(path_items), len(code_items), _n_prefix)
File "C:\Users\Jairo Martinez\Downloads\Apps\Cudatext\py\cuda_breadcrumbs\breadcrumbs.py", line 424, in _update_bgs
statusbar_proc(self.h_sb, STATUSBAR_SET_CELL_AUTOSIZE, index=ind, value=True)
File "C:\Users\Jairo Martinez\Downloads\Apps\Cudatext\py\cudatext.py", line 1138, in statusbar_proc
return ct.statusbar_proc(str(id_statusbar), id_action, index, tag, to_str(value))
SystemError: <built-in function statusbar_proc> returned a result with an error set
ERROR: Exception in CudaText for on_open: SystemError: <built-in function statusbar_proc> returned a result with an error set
ERROR: statusbar_proc() gets bad handle of type TFormDummy TypeError: an integer is required (got type NoneType)
thet is clearly the plugin error.
I fixed a few issues. Yours are both weird ones, but there is a good chance they will go away now :)
@JairoMartinezA Pls test last version of plugin
Looking for steps to repro.