Giter VIP home page Giter VIP logo

Comments (7)

gvajda avatar gvajda commented on June 16, 2024

The function throwing the error tries to read and parse the config.ini file but fails to do it. There is no sign that the VPN client is involved in the error. I assume that the config file initialization fails in the first place. Please check if the following file exists after running the exe:
c:\Users\yourusername\AppData\Roaming\RP_Notify\config.ini
If the file is missing then please try to execute the application as administrator.

from radio-paradise-song-notification.

mirceat11 avatar mirceat11 commented on June 16, 2024

Fast reply on the crash:

  • there is config.ini on the PC, on the expected path, having EnableLoggingToFile=true
  • the VPN client has not been started
  • RP_Notify v1.0 and RP_Notify v1.1 are stored into the same folder
  • each one executable has been renamed as RP_Notify.exe, when running the below tests
  • 4 startup scenarios have been tested - regular run and run as admin, both from Windows Explorer and Start menu
  • RP_Notify v1.1 crashes on all 4 scenarios, there is not a single entry into log.txt
  • RP_Notify v1.0 starts on any scenario and writes as expected into log.txt 
    The VPN client is no more a suspect, I am out of other ideas, for now.
    RP_Notify v1.0 is able to read and parse the config.ini file.

from radio-paradise-song-notification.

mirceat11 avatar mirceat11 commented on June 16, 2024

Sorry for mistakenly closing the issue. :)

from radio-paradise-song-notification.

gvajda avatar gvajda commented on June 16, 2024

Found the problem:
A new feature (Prompt user for song rating) has a new configuration entry. When the config file is missing then it's created with the default values but if a configuration value is missing then it causes an unhandled exception. In this case, the old config file is missing the entry for the added feature.

There is 2 way to solve this:

  • add the line PromptForRating=False to the config.ini file under the section [AppSettings]
  • delete the config.ini file which will re-initialize it with the default values

This bug will be fixed in the next release.

from radio-paradise-song-notification.

mirceat11 avatar mirceat11 commented on June 16, 2024

The new config line does the trick. Haven't tried the second option.
Have installed VS on my local computer meantime, in order to debug the applet.
It errors on line 194, when parsing for the PromptForRating key.
Next time will be easier to locate the exception. :)

from radio-paradise-song-notification.

gvajda avatar gvajda commented on June 16, 2024

Okay, thanks for reporting this, I will close this ticket.
Bugfix will follow.

from radio-paradise-song-notification.

gvajda avatar gvajda commented on June 16, 2024

The issue is fixed in v1.2

from radio-paradise-song-notification.

Related Issues (1)

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.