Giter Club home page Giter Club logo

Comments (14)

SirMarth01 avatar SirMarth01 commented on May 30, 2024 1

pdfURL is still unusable, but it no longer asks if you want to see the release notes, so at least it won't crash.
untitled

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024 1

53ce9df#diff-5459f3b43e8938ca10b327da43540fa5R755

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

Aight, first off thanks for using TinyNvidiaUpdateChecker! Try running it with the --debug parameter and check if pdfURL was set to something, and do you even have a pdf reader installed on your computer? That might be the cause of the issue..

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

After some debugging it has been confirmed that the cause of InvalidOperationException when trying to open the pdf file is because there is no application set to open .pdf files.

from tinynvidiaupdatechecker.

SirMarth01 avatar SirMarth01 commented on May 30, 2024

I do have a PDF reader installed (SumatraPDF 64-bit), and it is set as the default PDF reader in Windows. I thought for a second that Windows 10 had (in)conveniently forgotten about it, but it is installed and does work. pdfURL wasn't set, though. Even tried switching to Sumatra 32-bit and Microsoft Edge. The problem isn't lack of a PDF viewer, it's not getting the pdfURL.

Thanks for making this program, by the way. It's nice not having to use GeForce Experience or the website.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

And are you 100% sure that you are running v1.4.1 and not v1.4.0? You can check this by using the --version parameter. If pdfURL equals null the application will not ask you if you want to see the release notes - the check was added in v1.4.1.

from tinynvidiaupdatechecker.

SirMarth01 avatar SirMarth01 commented on May 30, 2024

Screenshot for you. Definitely v1.4.1. Definitely still showing me if I want to see release notes. I know I used --force-dl, but it was doing the same thing before I updated the drivers. Even if I don't use --force-dl, pdfURL isn't set.

untitled

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

-removed link- try that build if the issue is fixed

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

The cause for pdfURL to be null is because nvidia removed the release notes.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

Background: gpuURL was set to space, which is not null. The check before displaying the pdf question checks if it is null. I added .Trim() methods which removes misc chars from all the strings fetched from the NVIDIA website.

from tinynvidiaupdatechecker.

SirMarth01 avatar SirMarth01 commented on May 30, 2024

The cause for pdfURL to be null is because nvidia removed the release notes.

Not certain if this is either a miscommunication or a misunderstanding, but the release notes are still available, for example, here's the latest one. Your method of retrieving the release notes might need to be changed, but the release notes are still there.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

Not certain if this is either a miscommunication or a misunderstanding, but the release notes are still available, for example, here's the latest one. Your method of retrieving the release notes might need to be changed, but the release notes are still there.

No my friend, the thing is that there is no release notes on the website itself. You can try this yourself by navigating to processURL and select Additional Information. There is no release notes available. This is not the first time NVIDIA has deleted release notes from their drivers from the download page.

from tinynvidiaupdatechecker.

SirMarth01 avatar SirMarth01 commented on May 30, 2024

It's not linked on the Nvidia page, but it is linked on the GeForce page. From what I can tell, a consistent way to download them would be something along the lines of:

For desktop:
pdfURL = "http://us.download.nvidia.com/Windows/" + onlineGPUDriverVersion + "/" + onlineGPUDriverVersion + "-win10-win8-win7-desktop-release-notes.pdf";

For mobile:
pdfURL = "http://us.download.nvidia.com/Windows/" + onlineGPUDriverVersion + "/" + onlineGPUDriverVersion + "-win10-win8-win7-notebook-release-notes.pdf;"

Then you can get rid of lines 592-594, and insert new logic while you're already identifying desktop or mobile, inserting defining pdfURL between lines 540-541 and between 543-544. The only possible downside I can imagine is if they put up release notes in multiple languages. (As far as I can tell, they don't.)

EDIT: Just realized that onlineGPUDriverVersion won't work as-is that way. The URL would be missing two periods, e.g., "375.70" vs. "37570".

Maybe this?

onlineGPUString = onlineGPUDriverVersion.ToString();
onlineGPUString = onlineGPUString.Insert(onlineGPUString.Length() - 2, ".");

then
pdfURL = "http://us.download.nvidia.com/Windows/" + onlineGPUString + "/" + onlineGPUString + "-win10-win8-win7-desktop-release-notes.pdf";
and
pdfURL = "http://us.download.nvidia.com/Windows/" + onlineGPUString + "/" + onlineGPUString + "-win10-win8-win7-notebook-release-notes.pdf";

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 30, 2024

To respond to your updated comment, I already changed all the fields to strings with proper stuff.

from tinynvidiaupdatechecker.

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.