MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Local file copy to Pi instead of using Github

    Troubleshooting
    2
    4
    1266
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Cyberwrights last edited by

      I’ve been trying to download OpenCV for the facial recognition module, and am running into

      RPC failed; result=56, HTTP code = 200, fatal: The remote end hung up unexpectedly.00 GiB | MiB/s, fatal: early EOF, fatal: index-pack failed

      This problem is well documented but none of the workarounds succeeded, which has me thinking since I can successfully download it via browser on my laptop, how can I get it to my Pi? Can’t I just copy to the Pi using a USB drive and go on with the install? Is there a specific command the Pi is using to extract a .zip file when we use “git clone”?

      MMM-GoogleAssistant
      MMM-Hue
      MMM-MyCommute
      MMM-Formula1
      MMM-SystemStats
      MMM-moon-phases

      N 1 Reply Last reply Reply Quote 0
      • N
        ninjabreadman @Cyberwrights last edited by ninjabreadman

        @Cyberwrights Yes, if you cannot download to the RPi directly, clone and transfer should work (via USB, FTP, etc). Unzip it to your USB, then transfer, or use a utility like unzip.

        Problem with config or JavaScript? Copy/paste it into JSHint.
        Check out the detailed walkthroughs on install, config, modules, etc.

        1 Reply Last reply Reply Quote 0
        • C
          Cyberwrights last edited by

          It didn’t work because in the next step of the installation it tries to verify the local folder is a git repository, and fails.

          MMM-GoogleAssistant
          MMM-Hue
          MMM-MyCommute
          MMM-Formula1
          MMM-SystemStats
          MMM-moon-phases

          N 1 Reply Last reply Reply Quote 0
          • N
            ninjabreadman @Cyberwrights last edited by

            @Cyberwrights You can still download Git for Windows, or any other git client, and clone the repo. So long as you copy the entire folder to your USB, it should (afaik) also copy all of the git-specific repo files, and appear as a git repo on your Pi.

            Problem with config or JavaScript? Copy/paste it into JSHint.
            Check out the detailed walkthroughs on install, config, modules, etc.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy