Trouble creating new project

32 views
Skip to first unread message

Bill Wareham

unread,
Oct 18, 2013, 4:21:48 PM10/18/13
to tarbell...@googlegroups.com
Tarbell looks like it holds a ton of promise, but I'm having trouble getting a new project started. When I run "tarbell newproject test" and get to the point where I choose a template to clone I get the following response:

Which template would you like to use? [1] 1

- Cloning https://github.com/newsapps/tarbell-template to /home/bwareham/tarbell/test
Traceback (most recent call last):
  File "/usr/local/bin/tarbell", line 9, in <module>
    load_entry_point('tarbell==0.9-preview', 'console_scripts', 'tarbell')()
  File "/usr/local/lib/python2.7/dist-packages/tarbell/cli.py", line 59, in main
    command.__call__(args)
  File "/usr/local/lib/python2.7/dist-packages/tarbell/cli.py", line 613, in __call__
    return self.fn(*args, **kw_args)
  File "/usr/local/lib/python2.7/dist-packages/tarbell/cli.py", line 304, in tarbell_newproject
    repo = _clone_repo(template, path)
  File "/usr/local/lib/python2.7/dist-packages/tarbell/cli.py", line 393, in _clone_repo
    return Repo.clone_from(template_url, path)
  File "/usr/local/lib/python2.7/dist-packages/git/repo/base.py", line 739, in clone_from
    return cls._clone(Git(os.getcwd()), url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/repo/base.py", line 687, in _clone
    proc = git.clone(url, path, with_extended_output=True, as_process=True, v=True, **add_progress(kwargs, git, progress))
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 227, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 456, in _call_process
    return self.execute(call, **_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 335, in execute
    **subprocess_kwargs
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Any ideas about what's going on? I suspect I need to tweak my file path in the configuration, but I'm not sure how.

-Bill Wareham

David Eads

unread,
Oct 18, 2013, 7:24:43 PM10/18/13
to tarbell...@googlegroups.com
Hey Bill, thanks for the feedback! We resolved this issue off-list
because I had not yet configured replies to go to the list (now fixed,
gosh Google groups is annoying).

The issue was the virtual machine that Tarbell was installed on did
not have git. We already plan on expanding the docs to include
resources for getting a working Python development stack running on
your system. We also need to add that Tarbell has a hard Git
dependency with the added hitch that `pip tarbell install` can't
install Git for you.

Hope you're enjoying it so far.
> --
> You received this message because you are subscribed to the Google Groups
> "Tarbell project discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tarbell-proje...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
David Eads - 773.354.2285
News applications developer, Chicago Tribune
(http://www.chicagotribune.com/news/data/)
Founder, FreeGeek Chicago (http://freegeekchicago.org)

"Medical statistics will be our standard of measurement: we will weigh
life for life and see where the dead lie thicker, among the workers or
among the privileged." -- Rudolf Virchow

Bill Wareham

unread,
Oct 21, 2013, 5:14:58 PM10/21/13
to tarbell...@googlegroups.com
Yes, got a chance to toy around a little today. Very easy for someone with only moderate technical skills. Thanks for sharing.

-BW

David Eads

unread,
Oct 22, 2013, 2:46:53 PM10/22/13
to tarbell-project
That's awesome. Our intended audience is very much smart folks with
moderate technical skills, so I'm heartened to learn it seems to be
working for you.
Reply all
Reply to author
Forward
0 new messages