question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while 'Collecting wiki contributors' from phpdocbrbridge/traducao

See original GitHub issue

Hello, @glasnt!

I got this error in v0.5.0 while using trying to run octohatrack against https://github.com/phpdocbrbridge/traducao.

via pip installed version on OS X

$ octohatrack --version

octohatrack version 0.5.0

$ octohatrack phpdocbrbridge/traducao

Collecting API contributors...
Collecting all repo contributors...
Collecting wiki contributors.....'ascii' codec can't encode character u'\xe1' in position 1: ordinal not in range(128)

via Docker

$ docker run \
    --interactive \
    --tty \
    --rm \
    --env GITHUB_TOKEN=$GITHUB_TOKEN \
    --volume $HOME/.octohatrack:/cache \
     \
    rogeriopradoj/octohatrack:latest \
    \
     --version

octohatrack version 0.5.0

$ docker run \
    --interactive \
    --tty \
    --rm \
    --env GITHUB_TOKEN=$GITHUB_TOKEN \
    --volume $HOME/.octohatrack:/cache \
     \
    rogeriopradoj/octohatrack:latest \
    \
     phpdocbrbridge/traducao

Collecting API contributors...
Collecting all repo contributors...
Collecting wiki contributors....Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/git/cmd.py", line 614, in execute
    **subprocess_kwargs
  File "/usr/local/lib/python3.5/subprocess.py", line 950, in __init__
    restore_signals, start_new_session)
  File "/usr/local/lib/python3.5/subprocess.py", line 1544, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'git'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/octohatrack", line 9, in <module>
    load_entry_point('octohatrack==0.5.0', 'console_scripts', 'octohatrack')()
  File "/usr/local/lib/python3.5/site-packages/octohatrack/__init__.py", line 50, in main
    wiki_contributors = get_wiki_contributors(repo_name)
  File "/usr/local/lib/python3.5/site-packages/octohatrack/wiki.py", line 54, in get_wiki_contributors
    repo = Repo.clone_from(wiki_url, tmp_folder)
  File "/usr/local/lib/python3.5/site-packages/git/repo/base.py", line 957, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/git/repo/base.py", line 898, in _clone
    v=True, **add_progress(kwargs, git, progress))
  File "/usr/local/lib/python3.5/site-packages/git/cmd.py", line 459, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/git/cmd.py", line 920, in _call_process
    return self.execute(make_call(), **_kwargs)
  File "/usr/local/lib/python3.5/site-packages/git/cmd.py", line 617, in execute
    raise GitCommandNotFound(str(err))
git.exc.GitCommandNotFound: [Errno 2] No such file or directory: 'git'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
rogeriopradojcommented, May 1, 2016

Solved as well in Docker!

docker run \
        --interactive \
        --tty \
        --rm \
        --env GITHUB_TOKEN=${GITHUB_TOKEN} \
        --volume ${HOME}/.octohatrack:/cache \
        \
        rogeriopradoj/octohatrack:latest \
        \
        phpdocbrbridge/traducao
Collecting API contributors...
Collecting all repo contributors...
Collecting wiki contributors.....Collecting CONTRIBUTORS file...No CONTRIBUTORS file

GitHub Contributors:
alfsb
dtgfranca (Diego França)
fabioluciano (Fábio Luciano)
invalid-email-address (Check your git settings!)
matheusmmo (Matheus Moraes)

All Contributors:
alfsb
dtgfranca (Diego França)
fabioluciano (Fábio Luciano)
Fábio Luciano
giordanolins (Giordano Lins)
invalid-email-address (Check your git settings!)
matheusmmo (Matheus Moraes)
pojda
Rogerio Prado de Jesus
rogeriopradoj (Rogerio Prado de Jesus)
tassoevan (Tasso Evangelista)

Repo: phpdocbrbridge/traducao
GitHub Contributors: 5
All Contributors: 11

My pleasure to be one the contributors now! 😄

0reactions
glasntcommented, May 1, 2016

Hooray! 🎉 I’m glad it’s working

Thank you so much for filing the bug!

Read more comments on GitHub >

github_iconTop Results From Across the Web

throws - phpDocumentor
This tag is used to present in your documentation which error COULD occur and under which circumstances. It is RECOMMENDED to provide a...
Read more >
PHPDoc - Wikipedia
PHPDoc is an adaptation of Javadoc for the PHP programming language. It is still an informal standard for commenting PHP code, but it...
Read more >
Untitled
Danaida wiki, Iese mba ranking 2013, Consumer reviews 2006 honda pilot, ... 70 igrica za slabije racunare, Heart failure in pregnancy emedicine, ...
Read more >
Click here to download - Computer Science
the of and to a in for is on that by this with i you it not or be are from at ......
Read more >
Use PHPDoc to find errors only - Stack Overflow
I'm trying to write a plugin for my IDE which validates a file based on the error's generated by PHPDoc. However, I don't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found