• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

RetroPie v4.6 - Stuck on "Compiling joy2key.py" on both RPi3B+ and 4B

Scheduled Pinned Locked Moved Help and Support
retropie-setupstuckcompilingjoy2key.py
12 Posts 4 Posters 1.2k 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.
  • M
    mitu Global Moderator
    last edited by 13 Jun 2020, 14:20

    Running the setup script should produce a log file in $HOME/RetroPie-Setup/logs, you can remove the existing logs and re-try to update and reproduce the error, quit with Ctrl+C (the 'Compiling...' shouldn't take more than a few seconds) and the post the resulting log on pastebin.com.

    1 Reply Last reply Reply Quote 1
    • T
      therydermeister
      last edited by 15 Jun 2020, 08:40

      Ok, so I removed the existing logs and tried running the script (this time while connected to WLAN) and this time it didn't stop on compiling Joy2Key, but while

      copying new default configuration to /opt/retropie/configs/all/retroarch.cfg.rp-dist
      /home/pi/RetroPie-Setup
      

      When performing the update of all installed packages.
      I pasted the latest logs to PasteBin here -> https://pastebin.com/QYJDGrCr

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 15 Jun 2020, 09:01

        Are you using the same SDcard for both the Pi4 and Pi3B+ ? These kind of intermittent issues may be caused by hardware - bad maybe ?

        1 Reply Last reply Reply Quote 0
        • T
          therydermeister
          last edited by 15 Jun 2020, 10:42

          Same SD card, yes. I might try with another one and see if the problem goes away, big oof if it's caused by a bad SD card because I bought this 400 GB micro SD for this specific purpose... also I tested it with h2testw and all test files were read successfully

          1 Reply Last reply Reply Quote 0
          • T
            therydermeister
            last edited by 16 Jun 2020, 11:08

            @mitu these intermittent issues could be also caused by a slow micro SD, that you know of? Because the micro SD doesn't seem bad (according to h2testw, at least), but I read some Amazon reviews that lament that it's a little slower than expected with small files r/w (even though it's a Sandisk Ultra A1)

            B 1 Reply Last reply 16 Jun 2020, 13:27 Reply Quote 0
            • M
              mitu Global Moderator
              last edited by 16 Jun 2020, 11:39

              @therydermeister said in RetroPie v4.6 - Stuck on "Compiling joy2key.py" on both RPi3B+ and 4B:

              these intermittent issues could be also caused by a slow micro SD, that you know of ?

              No, it can't be that slow.

              1 Reply Last reply Reply Quote 1
              • B
                BuZz administrators @therydermeister
                last edited by 16 Jun 2020, 13:27

                @therydermeister how much did you test of the card? Did you check at least 32gb ?

                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

                T 1 Reply Last reply 17 Jun 2020, 08:16 Reply Quote 0
                • T
                  therydermeister @BuZz
                  last edited by therydermeister 17 Jun 2020, 08:16

                  @BuZz I tested almost all of the card successfully (that is, according to H2testw), and I'm testing it again as I'm writing this message.
                  In the meantime @mitu I tried RetroPie 4.6 on my Pi 4 with another SD Card (32 GB) and I can run the script no problem, so I guess it's a SD card problem. Maybe 400 GB is too big for the Raspberry Pi?
                  Anyway I'll let H2testw run fully on this card and if there's a problem I'll try getting a replacement from Amazon.

                  1 Reply Last reply Reply Quote 0
                  • T
                    therydermeister
                    last edited by 18 Jun 2020, 15:03

                    @BuZz H2Testw didn't find any problem, but I'm still getting a replacement SD Card from Amazon, as soon as I get it I'll try again with the new card, let's hope this one works alright, or else I'll stick to other, smaller cards.

                    1 Reply Last reply Reply Quote 0
                    • T
                      therydermeister
                      last edited by 23 Jun 2020, 19:48

                      Update: after getting my replacement, I'm now able to update both RetroPie and the underlying OS packages without getting stuck. So my problem was probably due to a bad SD card, even though H2Testw didn't report any error.

                      1 Reply Last reply Reply Quote 0
                      • G
                        guyon
                        last edited by guyon 12 Apr 2020, 13:43 4 Dec 2020, 13:35

                        I just encountered this same error today on a 2GB Pi4 with this card: https://www.amazon.com/gp/product/B0887GP791

                        Mine was when hitting the "Update RetroPie-Setup Script".

                        SAMSUNG: EVO Select 128GB MicroSDXC UHS-I U3 100MB/s Full HD & 4K UHD Memory Card with Adapter (MB-ME128HA)

                        Fresh installation, and only time this card has been used.

                        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.

                          [[user:consent.lead]]
                          [[user:consent.not_received]]