Giter VIP home page Giter VIP logo

Comments (10)

TheAssassin avatar TheAssassin commented on May 23, 2024

Can reproduce this with the latest linuxdeployqt build.

According to objdump, the update information is embedded at position 0x16af7 (= 92919), with a length of 0x400 (= 1024).

27 .upd_info     00000400  0000000000000000  0000000000000000  00016af7  2**0

AppImageUpdate reads those values correctly from a call to objdump.

The commands

dd if=linuxdeployqt-continuous-x86_64.AppImage skip=92919 bs=1 count=1024
dd if=linuxdeployqt-continuous-x86_64.AppImage skip=92919 bs=1 count=1024 | wc -c

confirm AppImageUpdate's calculation, there's 1024 \0 characters at this position.

So, I wouldn't blame AppImageUpdate here, as its calculations seem to be correct. I'd suspect the issue to be inside code appimagetool and the AppImage runtime share.

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

Can reproduce this with the latest linuxdeployqt build.

The latest build indeed lost the updateinformation probably caused by AppImage/AppImageKit@487771b

Once that is fixed, let's check again.

from appimageupdate.

TheAssassin avatar TheAssassin commented on May 23, 2024

I don't enjoy it, but I told you that this is a bit too automagic. We should think about reverting those changes, I guess. Things are broken, and you always underline that if something breaks the functionality, it should be reverted immediately.

from appimageupdate.

TheAssassin avatar TheAssassin commented on May 23, 2024

P.S.: You should add those new features to the appimagetool test script to make sure things work as intended. This is the perfect example.

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

Already reverted the suspected offending commit in AppImage/AppImageKit@d8f298f, right now rebuilding linuxdeployqt https://travis-ci.org/probonopd/linuxdeployqt/builds/297702690

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

I don't enjoy it, but I told you that this is a bit too automagic. We should think about reverting those changes, I guess. Things are broken, and you always underline that if something breaks the functionality, it should be reverted immediately.

That should be addressed by AppImage/AppImageKit@ad47057

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

Issue persists:

wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod +x linuxdeployqt-continuous-x86_64.AppImage 
./linuxdeployqt-continuous-x86_64.AppImage --appimage-version
Version: continuous-1-gad47057
./linuxdeployqt-continuous-x86_64.AppImage --appimage-updateinformation
gh-releases-zsync|probonopd|linuxdeployqt|latest|linuxdeployqt-_*-x86_64.AppImage.zsync
wget https://github.com/AppImage/AppImageUpdate/releases/download/continuous/AppImageUpdate-x86_64.AppImage
chmod +x AppImageUpdate-x86_64.AppImage 
./AppImageUpdate-x86_64.AppImage ./linuxdeployqt-continuous-x86_64.AppImage 
AppImageUpdate version 1-alpha (commit 513949c), build 108 built on 2017-11-04 00:22:04 UTC
Checking for updates...
Could not find update information in the AppImage! Please contact the author to embed update information!

from appimageupdate.

TheAssassin avatar TheAssassin commented on May 23, 2024

Can't reproduce locally any more with the latest linuxdeployqt. Before, there was no actual update information embedded.

However, the latest release build seems to still produce the error. I've pushed an adjustment to the code recently (allocating the memory for the update information string with the right size instead of hardcoding 2kB) which isn't directly related to the issue as linuxdeployqt's update information isn't that large. I can only suspect that the build is broken.

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

Please test with the build artefacts on GitHub Releases and my bash commands above, thanks.

from appimageupdate.

TheAssassin avatar TheAssassin commented on May 23, 2024
> build/appimageupdatetool -d linuxdeployqt-continuous-x86_64.AppImage 
Parsing file: linuxdeployqt-continuous-x86_64.AppImage
AppImage type: 2
Raw update information: gh-releases-zsync|probonopd|linuxdeployqt|continuous|linuxdeployqt*-x86_64.AppImage.zsync
Update information type: ZSync via GitHub Releases
Assembled ZSync URL: https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage.zsync

Seems to work. Update check works fine, too:

Checking for updates...
Fetching release information for tag "continuous" from GitHub API.
... done!
Update not required, exiting.

from appimageupdate.

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.