Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loader: could not load layout: File not found #40

Open
HalJordan opened this issue Jan 16, 2022 · 6 comments
Open

Loader: could not load layout: File not found #40

HalJordan opened this issue Jan 16, 2022 · 6 comments

Comments

@HalJordan
Copy link

HalJordan commented Jan 16, 2022

layout.xml - https://pastebin.com/8cPCuqxw
remote.lua - https://pastebin.com/XT2ptvbP
meta.prop -

meta.name: Elite Dangerous v2
meta.author: anInnocentBystander
meta.description: Let's try not to crash the ship this time. mmmKay?
meta.tags: EliteDangerous
meta.tags.category: input
meta.platform: linux
meta.layout: layout.xml

I've been working on this a few days, checking back and forth between my phone and the layout file to get things positioned right. Just today started getting the keymap setup in remote.lua, when suddenly this monstrosity appears in the log:

2022-01-16 23:18:48 (I) Loader: loading remote: /home/hal_j/.urserver/remotes/custom/EliteDangerous/meta.prop
2022-01-16 23:18:48 (E) Loader: could not load layout: File not found

It's /there/. It didn't move. It wasn't renamed, although I tried that and modifying, even specifying layout.xml in meta.prop. Did I miss a character in something somewhere that's breaking it? It would be helpful if it showed the path it was looking for on the layout so I could confirm I'm not crazy.

I was like 99% done with it too, and ready to actually set it up in the game's controls and give it a field test.

@HalJordan
Copy link
Author

Of note, I've just found and fixed line 42 of layout.xml, with no change. Just imagine that it doesn't have the extra "ta" at the end.

@HalJordan
Copy link
Author

I found it. I must have flubbed some of the image locations when I was shuffling some things around.
However, simply saying "file not found" like that is very misleading when you /also/ get error lines like this:

2022-01-17 02:39:35 (I) Loader: loading remote: /home/hal_j/.urserver/remotes/custom/EliteDangerousv2/m
eta.prop 
2022-01-17 02:39:35 (E) Loader: could not load layout: SAXParseException: Invalid token in line 106 col
umn 50

That example is a perfect grade a choice error, as it actually tells you where it ran into the error.

@groovenectar
Copy link

hunter2?

@HalJordan
Copy link
Author

Eh?

@groovenectar
Copy link

Eh?

It was a bad joke, sorry

What's Elite Dangerous v2 by anInnocentBystander?

This quote seems funny: "Let's try not to crash the ship this time. mmmKay?"

But I can't find any references to it online...

@HalJordan
Copy link
Author

The name of the remote is Elite Dangerous v2, it's for the game "Elite Dangerous".

The description was off the cuff. It has absolutely nothing to do with how many times I've proven that shields are a necessity. I promise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants