hi, i seem to be getting a problem with my setup (RPi4, running linux, CAN messages sent from MAXXEcu)
i have a custom python script to open up Realdash on bootup, this all works well but it doesnt have the selected custom XML file in the required field, so none of my guages work. i can add the file and it works fine, i can close realdash and open it manually and it works, it just seems that the initial open of the program by the python script doesnt have the XML attached.
Last week we used two full days trying to make this happen on our Android test devices. Used total of 9 different Android devices, with varying tests on sleep mode/pulling power etc. We were not able to reproduce this issue. Something that cannot be reproduced cannot be fixed.
In order to dig deep on this, we need help to re-create the exact environment when issue happens. Our suspect is that on these situations, RealDash is launched before file system is properly mounted, or OS user management has not been running before launching RealDash (Android specifically). But no matter what we try, we are unable to make this happen.
I also noticed Hidden Container won’t show with the latest version 2.5.7.0. only the visible Container work with Hide/Show Action and hidden container it doesn’t show.
Does it matter that I’m not on android? I’m using the Linux version.
I’ve also added a 30 second delay to the opening of RealDash into the python script to allow the whole Os to boot. I have also had the script open from the file system, and also from the start menu and a shortcut on the desktop I get the same issue.
Happy to provide any info to help fix this issue, I’m not the most tech savvy person but I’m happy to share my setup if it can be replicated for debugging
In case of a Linux, basically only one option comes to mind. Your startup script is run on different user (or sudo), than a user that runs the desktop. Also check what user has created the folder where your custom XML is stored.
In general, RealDash does not work well if run on sudo. Reason for that is file access issues on sudo vs. normal user.
Are you getting an error message about XML at startup. If you are, provide a screenshot.
no there is no warning, i have a battery guage to tell me what the battery voltage is and its obvious when the app hasnt loaded the XML as that will read 0v. Add the XML and it goes to 12v or whatever the voltage is.
Could you give your custom XML file for us for testing.
Are you using custom dashboard file, can you share that too?
yes custom dashboard file that I created
Sharing your settings (Garage->Burger Menu->Export) could also help.
happy to but this will take a bit more effort as i have to get to the car and another quirk i have is the file manager opens up too big and i cant see the extremities of the window
let me know if the google drive links work, if not ill email them to you
hi, wondering if there has been any progress on this seperatley?
if not, what more information can i provide to help sort this issue?
happy to jump on a video call or something with someone to show how its failing on my setup if that helps?
its not the end of the world for my setup but it is rather annoying
So I’m struggling to update to a newer version at the moment, it’s downloading then it’s doing nothing, am I missing something?
Either way I think I may have found a difference, when it first boots up and I go to settings > user, under device name it says Linux,aarch64,6.6.31+rpt+rpi-V8
If I close the app and reopen it, same place says Flexus V2
What is this device name? And why is it changing? I’m not sure I’ve set it up although I have deffinitley put Flexus V2 in there as that’s the car name
Both are synchronised but the first time doesn’t load the XML, second time it does
Scratch all of that, I’ve managed to update and work out what the problem was.
When the script opened RealDash it was opening a standard instance of RealDash without any details, now the script is adjusted to open with certain permissions and it works every time.
Thanks for trying to help, worked it out eventually