question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash with customized theme

See original GitHub issue

Heya there. I followed the instructions for customizing the theme but when i put the custom theme.json inside the “themes” folder, the application crashes on start with this log:

`System.IO.FileNotFoundException: Il file ‘C:\Users\MEFISTO\Downloads\WinDynamicDesktop\Earth_From_Space.json’ non è stato trovato. Nome file: ‘C:\Users\MEFISTO\Downloads\WinDynamicDesktop\Earth_From_Space.json’ in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in System.IO.StreamReader…ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) in System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) in System.IO.File.ReadAllText(String path) in WinDynamicDesktop.JsonConfig.LoadTheme(String name) in WinDynamicDesktop.ThemeManager.Initialize() in WinDynamicDesktop.AppContext…ctor() in WinDynamicDesktop.Program.Main()

UPDATE:

I’ve understand what’s going on: the program wants the json theme file in both of these locations:

  1. “themes” folder
  2. same location of the executable

With this config i have no more crash on start and the program can see the new theme in the theme manager window. ` UPDATE 2

I’ve found another bug. I will post my steps for replicate it:

  1. Open the application
  2. Right click on the icon in the system tray —> Select Theme
  3. The Theme manager window will show up —> select any theme and apply it clicking ok
  4. Right click again on the icon in the system tray—> Select Theme again
  5. The Theme manager window will NOT show up anymore. You need to close and reopen the program to make it works again.

Last thing: i’m always get this message whenever i run the executable (portable one)

https://i.imgur.com/bmTmRYj.png You need to install an app for this activity. Search it in the Store?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
t1m0thyjcommented, Aug 23, 2018

Thanks for reporting these. Just released version 2.0.1 which fixes the first issue. Theme files should only need to be inside the themes subfolder.

The second bug I have also fixed, but unfortunately that didn’t make it in version 2.0.1, I was in a hurry to release the update because of a very serious bug for new users.

The third thing you mentioned about the message you get is very odd, I have no idea what would be causing that unfortunately.

0reactions
t1m0thyjcommented, Oct 19, 2018

Both bugs have been fixed, unfortunately I don’t know that I can do much about the Windows Store message since I can’t reproduce it and no one else has reported it. If you would like to investigate it further, feel free to create a separate issue for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theme Crashing. : r/NXThemes
I installed a theme incorrectly and now its crashing the switch on boot, How can I remove it so that the switch will...
Read more >
Atmosphere Crashes After Installing Bad Theme?
I installed a bad theme, and now every time I try to boot it crashes, ... Unable to boot into Atmosphere after installing...
Read more >
Godot's custom theme property makes Godot crash on ...
Open Godot with any project. · Create new theme resource. · Create theme from currant editor theme. (This step is necessary. · Save...
Read more >
custom themes keep crashing my new games :: Cities
Hey guys i got a problem it seems every time i try to load a new map with a custom theme it crashes...
Read more >
Crash when clicking button with custom theme
I am creating a custom theme for button and using android:onClick event of Button from xml itself to handle the click of Button....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found