I updated RetroPie and Emulationstation and I got a "Font.cpp77" error in the screenshot attached. Fresh install and the same thing happened again. How can I fix this?
-
I had thought I'd done something to bork the image I had and tried updating Emulationstation from Binary but it didn't resolve it. after a bit of searching it seems that the resource folders were removed during a commit a while back so I also managed to get the resource folder from elsewhere and put it on the sd card via WinScp and it still didnt' resolve it.
I then got a clean image from the retropie website, updated all emulators etc and brought it right up to date and it's now on 4.5.19. I copied roms etc over and it worked without an issue on HDMI. I then put on some config files from the RetroPieRGB distro so it'll run on my Pi2Jamma in my cabinet (Prev image was running like this without issue until a few days ago) now when I boot it I get the error on screen again. This is as close to a vanilla image as I can get.
Does anyone know what could be happening here and know how to resolve it? I get the feeling that there's something within the latest update that it doesn't like but I don't understand where it is to even begin to try and get around it.
the last log I have is here, from when I attempted to reinstall ES to resolve this: https://pastebin.com/W2WQ988Y
I'm running this on a Pi3B+
power comes through the Pi2Jamma so it's via GPIO so there's enough juice in there.
have put this new clean image on a brand new Sandisk ultra 128gb micro SD card as well to hopefully rule out a dodgy card. -
If you remove the config files from RetroPieRGB (where is that ?), do you still get this error ? What are those configuration files ?
-
@mitu the config files are spread about but they're for MME4CRT and Pikeyd so I can map the control panel button presses to key inputs and to get the video/sound etc out through the GPIO pins. I'm not sure how they would affect it as they were on the prev image for months before this appeared in the last few days.
I had copied a theme that was a mix of a couple of others and I'm unsure if that could have caused it but yet again, it was on the last image for a while and was being used, well before this appeared so I'd think that would rule it out (but never say never). it's the only other thing that was different to the new image that was working on HDMI, as I had copied it over into the etc/emulationstation/themes/ folder before i rebooted in the cabinet.
-
Can you specify which theme are you using and what resolution ? I'll try to reproduce this, using the current EmulationStation version doesn't produce this error.
Try switching to the default theme (Carbon) and see if you can reproduce the error, just to rule out the theme. Actually, make sure you copied the theme correctly - the error seems related to a font file and that might have to be copied along with the theme. -
@mitu Thanks for getting back to me. It was when I was writing that, that I thought the theme may be looking for the Font but I had it on the old image previously without any problem for a while until the same error occurred so that let me think I'd ruled it out as being an issue but it would make sense if it's a theme AND the issue is with ES.
I wasn't able to boot into ES to even get to take it off Carbon, so it should still have been set to it. I'd just loaded it in. I'll have a look in the config files but I was using a slightly modified version of the 240p-Bubblegum theme. (Can't rem who posted it in themes, you may find it under "240p honey" though. it in itself seems to have used Pixel as a base and has implemented Art Book art into it, going by the xml files.) The res will be 320x240 as that's what the HDMI timings are set at in the config.txt in Boot.
-
@mitu had a quick look at the main xml for the theme. There's parts that ref the included font and there's others that specify font size but no font... could this be the issue as it's looking elsewhere for the font? example below. I don't know enough about theme creation to know if that could be the issue or not. seems logical if it's looking for a font to apply and one isn't specified it should look elsewhere. not sure if that's what the error is relating to though.
<helpsystem name="help">
<pos>0.012 1.960</pos>
<textColor>ffffff</textColor>
<iconColor>ffffff</iconColor>
<fontPath>./_inc/fonts/pixelmix.ttf</fontPath>
<fontSize>0.033</fontSize>
</helpsystem><text name="md_lbl_playcount"> <pos>0.676 0.580</pos> <fontSize>0.03</fontSize> </text>
-
@mitu removed the theme from etc/emulationstation.... and it still failed. removed the copy of it I'd stored in ~configs/all/emulationstation/themes and its working now.
have put a copy back into etc/emulationstation.... and it's fell over again. there's something in the theme it doesn't like.
-
Looks like a faulty theme. Is this the
240p-honey
theme or some modification of it ? Zip the faulty theme and upload it somewhere, I'll try to reproduce the issue. Don't know much about themeing to figure out just by looking at it if it's at fault, but if it crashes in my installation, I can trace it to see where. -
@mitu I'll zip it and send it over in the morning. Yeah, that's the theme. All I done was strip out the wallpaper files, add extra systems that were missing and use the assets from Art Book to fill in the blanks. I then copied one of the theme.xml files into the newly created systems folders so on the face of it, it should be OK.
-
@mitu Here's the theme zipped.
https://drive.google.com/file/d/1-I9xh0UXivckMNxQ_saGgYZbz9SdV7uF/view?usp=sharing
-
I downloaded the theme and loaded in EmulationStation, but I don't get a crash. I'll try later on another RetroPie system.
-
@mitu hmmmm. I'll give it another go tomorrow when I've got some time. Thanks for checking though.
If it fails again, I'll add it folder by folder and see when it breaks.
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.