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.

git clone problem

See original GitHub issue

I am getting an error (“fatal: unable to connect to git.osmocom.org:”) when using this line from the Freq-Show directions (in the setting up Dependencies section): git clone git://git.osmocom.org/rtl-sdr.git

As a “Newbie” to the Rasberry Pi I’d really appreciate some help! 😦

 Barry

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tdicolacommented, Nov 6, 2014

Oh if you’re not using the PiTFT you’ll need to make a few small changes. Near the bottom of the freqshow.py file remove these lines:

    # Initialize pygame and SDL to use the PiTFT display and touchscreen.
    os.putenv('SDL_VIDEODRIVER', 'fbcon')
    os.putenv('SDL_FBDEV'      , '/dev/fb1')
    os.putenv('SDL_MOUSEDRV'   , 'TSLIB')
    os.putenv('SDL_MOUSEDEV'   , '/dev/input/touchscreen')

Those set up environment variables that expect to use the PiTFT, but if you remove them it should fall back to using the HDMI display.

You’ll also probably want to display the mouse cursor so you can use it to press buttons, so change this line a line further down:

pygame.mouse.set_visible(False)

To be this:

pygame.mouse.set_visible(True)
0reactions
colinluthiercommented, Mar 27, 2022

@tdicola That fix still works. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting cloning errors - GitHub Docs
HTTPS cloning errors · Check your Git version · Ensure the remote is correct · Provide an access token · Check your permissions...
Read more >
git clone with https error - fatal: repository not found
If you can access the repository via your browser, but failed with the git clone command, there is a possibility ...
Read more >
Git clone fails when cloning via SSH - Atlassian Documentation
Problem. Git clones fail when using ssh even if an Access key has been added to the repository or an SSH key has...
Read more >
git-clone Documentation - Git
Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using git branch ...
Read more >
Git clone or Git push fails to an Azure DevOps repository
When you try to clone or push a repository in GitHub, some issues with proxy configuration, SSL certificate, or credential cache might cause...
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