RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Scraping Woes. Please be gentle, I'm a noob!

    Scheduled Pinned Locked Moved Help and Support
    17 Posts 8 Posters 6.4k Views
    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.
    • S
      sselph
      last edited by

      @floob 's suggestion is probably correct you might want to run something like ping google.com from the command line to make sure you have a connection. My scraper is written in Go so when possible RetroPie tries to install GoLang and build from source.

      Auto-scraper: https://github.com/sselph/scraper
      Donate to Extra-Life 2018 and help save lives: https://goo.gl/diu5oU

      M 1 Reply Last reply Reply Quote 0
      • M
        m3chstaa @sselph
        last edited by

        @sselph

        thank you for your help both of you. I will try this later on and make sure the internet connection is working.

        Thanks,

        Lee.

        1 Reply Last reply Reply Quote 0
        • M
          m3chstaa
          last edited by

          So here's an update. Internet is working fine, that's confirmed. I ran the scraper again and tried to read the text that flies by. It says golang not found and tries to install it. Then I get error that some process was interrupted (dpkg?), and tells me i must manually run.... (can't make out the next bit). Then ends with message "could not install package(s): golang".

          Can anyone help as I'm clueless! :*-(

          1 Reply Last reply Reply Quote 0
          • S
            sselph
            last edited by

            Try sudo apt-get install golang from the command line. That will attempt to install the package and you will probably still get an error but at least you can read it.

            Auto-scraper: https://github.com/sselph/scraper
            Donate to Extra-Life 2018 and help save lives: https://goo.gl/diu5oU

            M 1 Reply Last reply Reply Quote 1
            • M
              m3chstaa @sselph
              last edited by

              @sselph

              thank you once again for your help. I did as requested and can now see it says, "dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @m3chstaa
                last edited by BuZz

                @m3chstaa did you do as instructed - manually running sudo dpkg --configure -a ? You must have interrupted package installation at some point.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                timothyjbrickT 1 Reply Last reply Reply Quote 1
                • A
                  amonroy
                  last edited by amonroy

                  I don't know if you could solve it, but i had exactly the same problem and didn't find any answer anywhere.
                  "sudo apt-get install golang " won't help, because scraper install is trying to fing go in /opt/retropie/supplementary/golang/bin/go, so my solution was this:

                  1. Download the latest Go package available here https://golang.org/dl/ (currently go1.8.1.linux-armv6l.tar.gz)

                  2. Copy that into the Pi (used winSCP)

                  3. Open terminal and run the following commands in pi:
                    export GOROOT=/opt/retropie/supplementary/golang
                    export PATH=$PATH:$GOROOT/bin
                    sudo tar -C /opt/retropie/supplementary -xzf go1.8.1.linux-armv6l.tar.gz
                    sudo mv /opt/retropie/supplementary/go /opt/retropie/supplementary/golang

                  4. After that, you can retry to install scraper, and this time it will work :)

                  1 Reply Last reply Reply Quote 0
                  • S
                    Swagman89
                    last edited by

                    @amonroy Alternately you could remove selphscraper package from Retropie setup and then reinstall it. This would make sure everything actually got installed this go around.

                    1 Reply Last reply Reply Quote 0
                    • J
                      joelf
                      last edited by

                      I was having an issue with the scraper. The error I got was:

                      unable to install binary for golang
                      

                      When I checked in the log to see what happened, the error I got was

                      golang unexpected end of file tar
                      

                      The fix:

                      It was because the date on my pi was set incorrectly.

                      I needed to install ntpdate - to set the date and time correctly.

                      sudo apt update
                      sudo apt install ntpdate
                      sudo systemctl stop ntp
                      sudo ntpdate -s pool.ntp.org
                      

                      before I could go into the optional menu and install the scraper. Weird, but it worked.

                      1 Reply Last reply Reply Quote 0
                      • timothyjbrickT
                        timothyjbrick @BuZz
                        last edited by

                        @buzz Hey there, my scraper install was actually interrupted (pi rebooted while installing) now I can't install scraper. I tried typing "sudo dpkg --configure -a" but nothing happens. Would you happen to have any other suggestions for fixing an install that go interrupted? Thanks in advance, sorry I know this is an old post.

                        BuZzB 1 Reply Last reply Reply Quote -1
                        • BuZzB
                          BuZz administrators @timothyjbrick
                          last edited by

                          @timothyjbrick It is an old post - follow the instructions - Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.