Comments (10)
Не повторил. Попробуйте на версии "0.8.2". Если повторяется, опишите подробнее.
from cuda_backup_file.
берете конфиг.
потом открыли длг.
нажимаете add-variant- ошибка.
cuda_backup_file.zip
версия из GH.
from cuda_backup_file.
Какую из кнопок Add var
нажимать?
from cuda_backup_file.
Не повторил (пробовал обе кнопки)
from cuda_backup_file.
делаю дебаг-
er in line 462.
added, line 460:
if adva and not vds['svon']:
dma_path= get_bk_path(cf_path, vals['wher'], vals['mask'])
print('>>', vds) ##########
выводит пустой дикт.
>> OrderedDict([('wher', '{FILE_DIR}/bk'), ('mask', '{FILE_STEM}_{DD}{MMM}{YY}-{hh}.{FILE_EXT}'), ('diff', 'diff -u "{COPY_PATH}" "{FILE_PATH}"'), ('dfmx', 0), ('svon', False), ('whon', '{FILE_DIR}/bk'), ('maon', '{FILE_STEM}.{COUNTER|w:3}.{FILE_EXT}'), ('dfsh', True)])
>> {'wher': '', 'maon': '', 'mask': '', 'svon': False, 'whon': ''}
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/user/cuda/cuda/app/py/cuda_backup_file/cd_bk.py", line 463, in dlg_config
,diff=vds['diff']
KeyError: 'diff'
from cuda_backup_file.
Странно!
В строке 417 стоит (есть у вас?)
vds.setdefault('diff', self.def_diff)
Потом значения внутри vds
изменяются только в строках
vds.update({k:v for (k,v) in vals.items() if k in ('wher', 'mask', 'diff', 'dfsh', 'dfmx', 'svon', 'whon', 'maon')})
то есть перекидываются значения, полученные из диалога.
Включите печать vals
if aid is None or aid=='-': return#while True
pass; LOG and log('vals={}',(vals))
и повторите.
Какую кнопку Add var
нажимаете? У них разные функции
from cuda_backup_file.
Нажимаю вариант Add-variant из комбобокса внизу
from cuda_backup_file.
Нда! Я же нажимал другое :)
from cuda_backup_file.
Повторил
from cuda_backup_file.
Нда..
from cuda_backup_file.
Related Issues (20)
- Add variant- err
- not Ok messagebox HOT 1
- Compare- cannot HOT 9
- Lang HOT 10
- Password-edit err HOT 4
- wish- 2 cmd's HOT 4
- Дикий глюк в мак HOT 4
- check don't fit HOT 1
- Use encoding of text HOT 1
- Cud version, dlg_dir HOT 1
- incorrect .inf file HOT 3
- Turn off log HOT 1
- ошибка при сравнении HOT 8
- text not fit
- Change deflt template HOT 3
- title of Config dlg HOT 1
- diff option
- "demo" field slash
- Auto-bak dont work HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuda_backup_file.