XML custom file not selected

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.

any ideas on how to fix this please?

hello, i have the same problem only on android
when i fully reboot android one xml is disabled
on version 2.5.6 both were disabled

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.

1 Like

Yes, quickfix is currently building, see this for more info:

RealDash version 2.5.7 - General - RealDash Forum

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

This is an issue that I would very much like to find and fix. I just feel like we have tried everything we can to find it.

If you can, please share as much information as possible:

  • Are you getting an error message about XML at startup. If you are, provide a screenshot.
  • Could you give your custom XML file for us for testing.
  • What folder in Linux OS you are storing your custom XML file?
    • Did you import from filesystem or from My RealDash?
    • Is it stored on SD card or other removable drive?
    • Is it on same physical drive as the RealDash installation?
  • Maybe you could share your Python startup script? We could be able to reproduce the RPi environment.
  • Are you using custom dashboard file, can you share that too?
  • Sharing your settings (Garage->Burger Menu->Export) could also help.

We can share your files over email: contact@realdash.net, and we can continue troubleshooting over there also.

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.

hi, thanks for looking into this,

  • 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.

  • What folder in Linux OS you are storing your custom XML file?

    • the home folder
  • Did you import from filesystem or from My RealDash?

    • i copy it from a usb stick to the home folder
  • Is it stored on SD card or other removable drive?

    • i guess its on the SD card as its in the home folder
  • Is it on same physical drive as the RealDash installation?

    • yes i think so,
  • Maybe you could share your Python startup script? We could be able to reproduce the RPi environment.

  • 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

Was this of any use?

Yes, we did some testing on this but just could not reproduce the issue on any of our setups :frowning:

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

Just provide a screenshot of an error message you get. Quite recently we added more error handling into XML loading.

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 :laughing:

1 Like