nvdaaddons / addonwizzard Goto Github PK
View Code? Open in Web Editor NEWeasily and quickly generate the things you need to get going on your next addon.
License: Other
easily and quickly generate the things you need to get going on your next addon.
License: Other
Steps to reproduce:
pip install NVDA-addonTemplate
NVDAAddonTemplate
and press enter on each prompt thus creating an add-on with the default values.Current result:
After answering to "Use continuous integration with Travis CI? Please see the readme to learn more." the following error is being printed:
Traceback (most recent call last):
File "C:\python27\scripts\NVDAAddonTemplate-script.py", line 9, in <module>
load_entry_point('NVDA-addonTemplate==0.5.2', 'console_scripts', 'NVDAAddonTemplate')()
File "c:\python27\lib\site-packages\NVDAAddonTemplate\__init__.py", line 90, in run
cookiecutter(curFileDir, no_input=True, extra_context=context)
File "c:\python27\lib\site-packages\cookiecutter\main.py", line 102, in cookiecutter
context=context
File "c:\python27\lib\site-packages\cookiecutter\generate.py", line 204, in generate_files
generate_file(project_dir, infile, context, env)
File "c:\python27\lib\site-packages\cookiecutter\generate.py", line 114, in generate_file
tmpl = env.get_template(infile_fwd_slashes)
File "c:\python27\lib\site-packages\jinja2\environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "c:\python27\lib\site-packages\jinja2\environment.py", line 786, in _load_template
template = self.loader.load(self, name, globals)
File "c:\python27\lib\site-packages\jinja2\loaders.py", line 125, in load
code = environment.compile(source, name, filename)
File "c:\python27\lib\site-packages\jinja2\environment.py", line 565, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "c:\python27\lib\site-packages\jinja2\environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File ".\scons-local-2.5.0\SCons\Variables\__init__.py", line 208, in template
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 's'.
File ".\scons-local-2.5.0\SCons\Variables\__init__.py", line 208
value = env.subst('${%s}'%option.key)```
Expected result:
The wizzard (sic) should generate an add-on template based on the values entered to the prompts.
When I first used this wizard. The prompt for the default value confused me a lot. I wanted to delete the default value and enter my own. Add more text to the prompt may be helpful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.