Page 2 of 2

Posted: 03.06.2020 11:31
by kvichans
Sorry :(
Show full stack to understand error source

Posted: 03.06.2020 11:46
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'}

Posted: 03.06.2020 12:17
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.

Posted: 03.06.2020 21:03
by Alexey
"Z:\q" ... funny dir.

Posted: 04.06.2020 09:24
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.