Giter VIP home page Giter VIP logo

addonwizzard's People

Contributors

derekriemer avatar larry801 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

addonwizzard's Issues

Add-on generation fails with jinja2.exceptions.TemplateSyntaxError

Steps to reproduce:

  1. Install from PIP: pip install NVDA-addonTemplate
  2. Run 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.

The prompt for default value is confusing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.