CudaExt seems not to work in Linux with Py 3.5

Solved bugs are moved into this topic...
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

Sorry :(
Show full stack to understand error source
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Not sure what this will add to what I already wrote in post #10: the error source is copying line 146 in cd_ext_find_repl.py. But here we go:

Code: Select all

Init: cuda_ext_py35
Traceback (most recent call last):
  File "Z:\q\py\cuda_ext_py35\__init__.py", line 49, in dlg_find_in_lines
    def dlg_find_in_lines(self):                return cd_ext_find_repl.dlg_find_in_lines()
  File "Z:\q\py\cuda_ext_py35\cd_ext_find_repl.py", line 406, in dlg_find_in_lines
    theFiL.show()   # new!
  File "Z:\q\py\cuda_ext_py35\cd_ext_find_repl.py", line 155, in show
    , what=what if awht=='what' else '')
  File "Z:\q\py\cuda_ext_py35\cd_kv_dlg.py", line 152, in __init__
    self._setup(ctrls, form, vals, fid)
  File "Z:\q\py\cuda_ext_py35\cd_kv_dlg.py", line 505, in _setup
    DlgAg._check_data(self.ctrls, ctrls, form, vals, fid)
  File "Z:\q\py\cuda_ext_py35\cd_kv_dlg.py", line 467, in _check_data
    raise ValueError(f('Repeated names: {}', set(cids_d)))
ValueError: Repeated names: {'what'}
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

Thanks
Now i see my error. You are right: one of rows
,('what',d(tp='cmbx' ,y =5 ,x=5+114+10+wtwd,w=wtwd ,items=FiL.opts['hist'] ,_a='' if dock else 'r>' )) #
,('what',d(tp='cmbx' ,y =5 ,x=5+114+95 ,w=wtwd ,items=FiL.opts['hist'] ,a='' if dock else 'r>' )) #
is unnecessary. It is the second.
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

"Z:\q" ... funny dir.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:"Z:\q" ... funny dir.
:D Z: is a small RAM disk and q means "quick"... and most of what I run there is run in a sandbox.

IOW a quick-and-dirty testing environment.
Post Reply