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.

[BUG] - `refinery start` leads to gitpython error

See original GitHub issue

Describe the bug refinery start leads to this error, right after pip installing 🥺:

Traceback (most recent call last):
  File "/Users/adrien/miniconda3/bin/refinery", line 5, in <module>
    from refinery.cli import main
  File "/Users/adrien/miniconda3/lib/python3.8/site-packages/refinery/", line 6, in <module>
    from git import Repo
  File "/Users/adrien/miniconda3/lib/python3.8/site-packages/git/", line 6, in <module>
    from repository import Repository, InvalidRepositoryError
ModuleNotFoundError: No module named 'repository'

Desktop (please complete the following information):

  • OS: macOS Monterey 12.4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

amorisotcommented, Jul 19, 2022

sweeeet, that worked 💓 i had docker desktop downloaded, but hadn’t gone through the installation process. thanks for the tip!

amorisotcommented, Jul 18, 2022

Yup, I can start from a fresh env. Gimme a few hours 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't run refinery_start outside of refinery repository #6 - GitHub
Describe the bug I have installed pip install kern-refinery and want to now run the server via refinery start. This works only if...
Read more >
GitPython error when pulling from remote repository
Found the culprit. Turns out gunicorn, which I used to start the app, clears out most environment variables, and defines a PATH pointing...
Read more >
API Reference — GitPython 3.1.29 documentation
Else the HEAD will remain pointing on the previous commit. This could lead to undesired results when diffing files. author – The name...
Read more >
Manjaro Linux -
The function determining beta versions is not 100% reliable due to a wide variety of versioning schemes. Feature, stable, 22.0, 21.3.0. Release Date,...
Read more >
Remote Code Execution (RCE) in gitpython | CVE-2022-24439
Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson. Start learning. Snyk ID SNYK-PYTHON-GITPYTHON-3113858 ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found