Code Monkey home page Code Monkey logo

Comments (3)

qwertydog avatar qwertydog commented on June 29, 2024

Hmm, it sounds like the config file has corrupted somehow (looks like it contains 0x00 which is a NUL character).

Close the app and try using a text editor to alter the Reddit Wallpaper Changer.exe.config file, delete and retype lines 14-16 manually, if you have a text editor like Notepad++ installed it can show non-printable characters so you can find and delete the NUL character.

Otherwise, close the app and delete the Reddit Wallpaper Changer.exe.config file, then restart the app and see if it gets regenerated correctly.

If that doesn't work, try re-downloading the installer from Github again, uninstall the app, delete any app folders (e.g. AppData/Reddit Wallpaper Changer), then reinstall

Let me know if that helps. If you're still having issues, upload your Reddit Wallpaper Changer.exe.config somewhere (e.g. pastebin) and paste the link. Also upload the logs (if there are any)

from reddit-wallpaper-changer.

rkantos avatar rkantos commented on June 29, 2024

I think I have it figured out... A bit of a strange one I guess. First I tried running RWC in Windows Sandbox, which obviously worked fine. After this I figured to have a look with Procmon and noticed the C:\Users\%USERPROFILE%\AppData\Local\_u_qwertydog\Reddit_Wallpaper_Changer._Url_fn5rdr3tbrupllitik0y5clty5pa2qfl\1.0.20.0 path being read.. In the path there was only a single file:

user.config with:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <userSettings>
        <Reddit_Wallpaper_Changer.Properties.Settings>
            <setting name="AppDataPath" serializeAs="String">
                <value>C:\Users\<username>\AppData\Roaming\Reddit Wallpaper Changer</value>
            </setting>
        </Reddit_Wallpaper_Changer.Properties.Settings>
    </userSettings>
</configuration>

I figured to delete the folder 1.0.20.0, however the problem persisted. The same folder contains folders for older RWC installs from 1.0.15.0 through 1.0.19.0. Only after renaming the whole folder Reddit_Wallpaper_Changer._Url_fn5rdr3tbrupllitik0y5clty5pa2qfl did RWC start normally...

Finally I dug a little deeper and figured out that renaming the previous version's folder 1.0.19.0 I could make RWC start normally. This is where I found the issue... The previous version's user.config had line full of NUL (5400 of them to be exact...) It is still a bit weird since Procmon doesn't appear to show that RWC is actually even trying to read this file.. Only the user.config of v. 1.0.20.0 is being read. Deleting/renaming 1.0.19.0 apparently made RWC to restore settings from 1.0.18.0 regardless. Go figure!

from reddit-wallpaper-changer.

qwertydog avatar qwertydog commented on June 29, 2024

Huh that's a weird one

from reddit-wallpaper-changer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.