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

    Scraper installation failed

    Scheduled Pinned Locked Moved Help and Support
    scraperscraper failedretropie 4.3selphs scraper
    21 Posts 4 Posters 9.3k 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.
    • C
      Chuck_B
      last edited by

      Actually, golang seems not installed.
      I've tryed to install but after the installation I had the GOLANG environment variable not setted.

      I'm not sure which is the proper way tu install golang

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Chuck_B
        last edited by

        @chuck_b said in Scraper installation failed:

        I'm not sure which is the proper way tu install golang

        Didn't you try installing it from the retropie setup script ? I don't know if the GOLANG is set after installing it through the script, but the scraper uses it to run.

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

          I installed golang by terminal.
          Is it possibile to install it by retropie setup menu?

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

            @mitu said in Scraper installation failed:

            @chuck_b Try installing it 'manually' - log in via SSH to the Pi or drop to a command prompt by pressing F4 in EmulationStation. Then execute the commands

            cd /home/pi/RetroPie-Setup
            sudo ./retropie_packages.sh scraper sources build install
            

            See if any errors pop-up, they should give an indication of what's wrong.

            you can't call retropie_packages with multiple functions like that - it would have to be done individually, or in this case sudo ./retropie_packages.sh scraper will actually call depends, sources, build, install and configure

            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

            C 1 Reply Last reply Reply Quote 0
            • C
              Chuck_B @BuZz
              last edited by

              @buzz so, what do you suggest me to do?

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

                @chuck_b run sudo ./retropie_packages.sh scraper and post a log, or use retropie-setup and post the error log it mentioned when it fails (using a site like pastebin)

                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

                C 1 Reply Last reply Reply Quote 0
                • C
                  Chuck_B @BuZz
                  last edited by

                  @buzz said in Scraper installation failed:

                  sudo ./retropie_packages.sh scraper

                  here is the log https://pastebin.com/RZP3QHde

                  mituM BuZzB 2 Replies Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Chuck_B
                    last edited by mitu

                    @chuck_b It looks like something is missing in the golang installation you have. The logs cannot find the packages that are included in the golang installation that Retropie installs:

                    
                    src/github.com/sselph/scraper/ds/mame.go:4:2: cannot find package "archive/zip" in any of:
                            /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/archive/zip (vendor tree)
                            /opt/retropie/supplementary/golang/src/archive/zip (from $GOROOT)
                            /home/pi/RetroPie-Setup/tmp/build/scraper/src/archive/zip (from $GOPATH)
                    
                    [.. a lot similar errors ]
                    

                    The default RetroPie golang install is in /opt/retropie/supplementary/golang, which contains these packages:

                    ls  -l /opt/retropie/supplementary/golang/src/archive/zip/
                    total 104
                    -rw-r--r-- 1 root root  2032 Feb 16  2017 example_test.go
                    -rw-r--r-- 1 root root 14864 Feb 16  2017 reader.go
                    -rw-r--r-- 1 root root 26532 Feb 16  2017 reader_test.go
                    -rw-r--r-- 1 root root  3690 Feb 16  2017 register.go
                    -rw-r--r-- 1 root root  8506 Feb 16  2017 struct.go
                    drwxr-xr-x 2 root root  4096 Feb 16  2017 testdata
                    -rw-r--r-- 1 root root 11192 Feb 16  2017 writer.go
                    -rw-r--r-- 1 root root  4010 Feb 16  2017 writer_test.go
                    -rw-r--r-- 1 root root 17805 Feb 16  2017 zip_test.go
                    
                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @Chuck_B
                      last edited by

                      @chuck_b delete /opt/retropie/supplementary/golang/ and try again.

                      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
                      • Bl3ndB
                        Bl3nd
                        last edited by

                        I have the scraper and I don't know how to start it while not in emulationstation? Could anyone help with that?

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

                          @bl3nd 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

                          Start a new topic if wanting help - do not jump into topics with unrelated issues.

                          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

                          C 1 Reply Last reply Reply Quote 0
                          • Bl3ndB
                            Bl3nd
                            last edited by

                            ok, sorry

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chuck_B @BuZz
                              last edited by

                              @buzz
                              that's what I get now https://pastebin.com/cRBN6Ktz
                              what does that mean?

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

                                @chuck_b that's not a complete log - but I can't see any errors in the part you posted. The part I wanted to see is not included.

                                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

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  Chuck_B @BuZz
                                  last edited by

                                  @buzz I've just checked and Scraper got installed successfully.

                                  Deleting /opt/retropie/supplementary/golang/ and running sudo ./retropie_packages.sh scraper was the solution.

                                  Thank you so much

                                  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.