[nvda-addons] Re: Introducing the add-on wizard.

  • From: derek riemer <driemer.riemer@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sat, 23 Jul 2016 13:07:27 -0600

Damn. Well, we're going to have to figure out a better method of doing this., I.E. writing a python wrapper script that doesn't require git.

Try cloning the git repo, or click the download zip link, and then once you have it in a location, type cookiecutter addontemplate (or whatever directory the project is in).

Sorry for this, and thanks for bearing with this, it's not super well tested alpha software.


On 7/23/2016 12:53 PM, Pranav Lal wrote:


Hi,

I tried running the cookiecutter https://github.com/nvdaaddons/addonWizzard.git

Command from the windows command prompt.

File "C:\Python27\lib\site-packages\click-6.6-py2.7.egg\click\core.py", line 7

16, in __call__

return self.main(*args, **kwargs)

File "C:\Python27\lib\site-packages\click-6.6-py2.7.egg\click\core.py", line 6

96, in main

rv = self.invoke(ctx)

File "C:\Python27\lib\site-packages\click-6.6-py2.7.egg\click\core.py", line 8

89, in invoke

return ctx.invoke(self.callback, **ctx.params)

File "C:\Python27\lib\site-packages\click-6.6-py2.7.egg\click\core.py", line 5

34, in invoke

return callback(*args, **kwargs)

File "C:\Python27\lib\site-packages\cookiecutter-1.4.0-py2.7.egg\cookiecutter\

cli.py", line 106, in main

config_file=user_config

File "C:\Python27\lib\site-packages\cookiecutter-1.4.0-py2.7.egg\cookiecutter\

main.py", line 107, in cookiecutter

no_input=no_input

File "C:\Python27\lib\site-packages\cookiecutter-1.4.0-py2.7.egg\cookiecutter\

vcs.py", line 104, in clone

raise VCSNotInstalled(msg)

cookiecutter.exceptions.VCSNotInstalled: 'git' is not installed.

*From:*nvda-addons-bounce@xxxxxxxxxxxxx [mailto:nvda-addons-bounce@xxxxxxxxxxxxx] *On Behalf Of *derek riemer
*Sent:* Saturday, July 23, 2016 11:42 PM
*To:* nvda-addons@xxxxxxxxxxxxx
*Subject:* [nvda-addons] Re: Introducing the add-on wizard.

Pranav:

Don't run the command inside python.

It's something you run in a standard shell I.E. command prompt, just like you'd run scons or dir /b or echo "Hello world"

HTH

On 7/23/2016 12:05 PM, Pranav Lal wrote:

    Hi James,

    I ran the command inside python. I am running Windows.

    Pranav

    -----Original Message-----

    From:nvda-addons-bounce@xxxxxxxxxxxxx
    <mailto:nvda-addons-bounce@xxxxxxxxxxxxx>  
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of James Scholes

    Sent: Saturday, July 23, 2016 5:48 PM

    To:nvda-addons@xxxxxxxxxxxxx <mailto:nvda-addons@xxxxxxxxxxxxx>

    Subject: [nvda-addons] Re: Introducing the add-on wizard.

    Pranav Lal wrote:

        I was able to install the add-on using easy-install. However, when I

        am in the python commandline shell,

        cookiecutterhttps://github.com/nvdaaddons/addonWizzard.git

    Are you running the command inside Python?  Or inside a standard command 
prompt.  The command you're running isn't valid Python syntax, it's just a 
standard shell command.

    --

    James Scholes

    http://twitter.com/JamesScholes

    ----------------------------------------------------------------

    NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs.

    Community addons are available from:http://addons.nvda-project.org  To send a ;
message to the list:nvda-addons@xxxxxxxxxxxxx 
<mailto:nvda-addons@xxxxxxxxxxxxx>  To change your list 
settings/unsubscribe://www.freelists.org/list/nvda-addons

    To contact list moderators:nvda-addons-moderators@xxxxxxxxxxxxx
    <mailto:nvda-addons-moderators@xxxxxxxxxxxxx>

    ----------------------------------------------------------------

    NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs.

    Community addons are available from:http://addons.nvda-project.org

    To send a message to the list:nvda-addons@xxxxxxxxxxxxx 
<mailto:nvda-addons@xxxxxxxxxxxxx>

    To change your list 
settings/unsubscribe://www.freelists.org/list/nvda-addons

    To contact list moderators:nvda-addons-moderators@xxxxxxxxxxxxx
    <mailto:nvda-addons-moderators@xxxxxxxxxxxxx>

--

------------------------------------------------------------------------


    Derek Riemer

  * Department of computer science, third year undergraduate student.
  * Proud user of the NVDA screen reader.
  * Open source enthusiast.
  * Member of Bridge Cu
  * Avid skiier.

Websites:
Honors portfolio <http://derekriemer.com>
Awesome little hand built weather app! <http://django.derekriemer.com/weather/>

email me at derek.riemer@xxxxxxxxxxxx <mailto:derek.riemer@xxxxxxxxxxxx>
Phone: (303) 906-2194


--
------------------------------------------------------------------------


   Derek Riemer

 * Department of computer science, third year undergraduate student.
 * Proud user of the NVDA screen reader.
 * Open source enthusiast.
 * Member of Bridge Cu
 * Avid skiier.

Websites:
Honors portfolio <http://derekriemer.com>
Awesome little hand built weather app! <http://django.derekriemer.com/weather/>

email me at derek.riemer@xxxxxxxxxxxx <mailto:derek.riemer@xxxxxxxxxxxx>
Phone: (303) 906-2194

Other related posts: