GithubHelp home page GithubHelp logo

Update feature does not work. about sam HOT 19 CLOSED

wazerstar avatar wazerstar commented on July 27, 2024
Update feature does not work.

from sam.

Comments (19)

wazerstar avatar wazerstar commented on July 27, 2024 3

@rex706 if you compare the 2 videos, now you can actually see some github url in the updater txt which you could not before.

but still crashes

https://streamable.com/m494mf

I bet it's some missing runtime files exe/dll's or something that you have installed on the PC that we "don't" have, so yours working and assuming it works for all then :)

from sam.

wazerstar avatar wazerstar commented on July 27, 2024 1

@rex706

New video

https://streamable.com/abnvs2

from sam.

wazerstar avatar wazerstar commented on July 27, 2024 1

@rex706 I just tested on a brand new windows 10 installation, and a server running Windows 11, same thing happens, it crashes, and never gets the file updated.

from sam.

wazerstar avatar wazerstar commented on July 27, 2024 1

Made some changes to the Updater. I think the problem is that SAM is not closing in time before the updater attempts to delete the existing file. Please try it again and let me know @wazerstar

Yes works now, but does not delete updater.exe tho, finally!

This has been an issue ever since update was introduced and we talked about this on discord ever since early start of the program :)

I don't know how it never would fail for you..

Congrats with this and thanks :)

from sam.

MichaelDavidGK avatar MichaelDavidGK commented on July 27, 2024

@rex706 still the case in 1.5.2.0

from sam.

rex706 avatar rex706 commented on July 27, 2024

@MichaelDavidGK I don't have an issue. what happens?

from sam.

MichaelDavidGK avatar MichaelDavidGK commented on July 27, 2024

@MichaelDavidGK I don't have an issue. what happens?

it gives you a prompt to download, it downloads it and it doesn't replace old file :(

should also start program again after update

the guy above had it recorded, it's basically a loop that it always asks you to update since it never replaced the file and you are still on old version

from sam.

rex706 avatar rex706 commented on July 27, 2024

@MichaelDavidGK does it download the new SAM executable to the same directory as the old one?

Edit: also, does the updater executable appear in the SAM directory when the updater is open?

from sam.

wazerstar avatar wazerstar commented on July 27, 2024

@rex706 This is what happens, nothing, just goes loop when you restart client

https://streamable.com/qms5h1

Updater

https://i.imgur.com/7pCKwV5.png

from sam.

rex706 avatar rex706 commented on July 27, 2024

Alright I pushed a minor update to the updater. Try again and let me know if it helps. You will know you have the new updater by the version in the title bar.

from sam.

wazerstar avatar wazerstar commented on July 27, 2024

Alright I pushed a minor update to the updater. Try again and let me know if it helps. You will know you have the new updater by the version in the title bar.

Cannot update anything when using latest client?

Tested on older version and still does the same.

from sam.

MichaelDavidGK avatar MichaelDavidGK commented on July 27, 2024

Alright I pushed a minor update to the updater. Try again and let me know if it helps. You will know you have the new updater by the version in the title bar.

1.1.0.8 for updater, still doesn't work, maybe it is not downloading, I assumed it was as my internet is over 1gbps

only updater.exe shows up in folder

it's exactly as on the video @wazerstar uploaded

from sam.

rex706 avatar rex706 commented on July 27, 2024

It looks like it's crashing before it can actually download anything in the recent clip @wazerstar posted. There are try/catch clauses everywhere in the updater, which makes it weird that there isn't any error popup at any point. Maybe there is an issue with reading the manifest URL from the launch arguments.

from sam.

rex706 avatar rex706 commented on July 27, 2024

@wazerstar please test it out again when you get the chance, thanks!

from sam.

MichaelDavidGK avatar MichaelDavidGK commented on July 27, 2024

@rex706 any update on this?

from sam.

rex706 avatar rex706 commented on July 27, 2024

@MichaelDavidGK I've tried a couple different things, but it is tricky to troubleshoot since it is working as expected for me. The updater is fed a URL to the update manifest file, which is this: https://raw.githubusercontent.com/rex706/SAM/master/latest.txt

For some reason the updater appears to crash either before or during the read operation for the manifest file. I don't think it actually starts the download process before it crashes, but I could be wrong since it's hard to tell from the videos exactly when it fails.

from sam.

wazerstar avatar wazerstar commented on July 27, 2024

@MichaelDavidGK I've tried a couple different things, but it is tricky to troubleshoot since it is working as expected for me. The updater is fed a URL to the update manifest file, which is this: https://raw.githubusercontent.com/rex706/SAM/master/latest.txt

For some reason the updater appears to crash either before or during the read operation for the manifest file. I don't think it actually starts the download process before it crashes, but I could be wrong since it's hard to tell from the videos exactly when it fails.

add some debug so we can give log?

from sam.

rex706 avatar rex706 commented on July 27, 2024

I will test later today with a fresh windows install before pushing another update for SAM.

from sam.

rex706 avatar rex706 commented on July 27, 2024

Made some changes to the Updater. I think the problem is that SAM is not closing in time before the updater attempts to delete the existing file. Please try it again and let me know @wazerstar

from sam.

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.