Comments (10)
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.
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.
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.
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.
Already reverted the suspected offending commit in AppImage/AppImageKit@d8f298f, right now rebuilding linuxdeployqt https://travis-ci.org/probonopd/linuxdeployqt/builds/297702690
from appimageupdate.
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.
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.
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.
Please test with the build artefacts on GitHub Releases and my bash commands above, thanks.
from appimageupdate.
> 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)
- Prevent Gtk from being installed in the Docker container HOT 5
- Dotnet core interoperability question
- Updater Constructor does not actually throw std::invalid_argument
- GithubReleasesUpdateInformation::buildUrl is writing to the console HOT 2
- Reduce amount of api calls. HOT 2
- Option to ignore appimages in specified directories? HOT 2
- Feature request: allow overriding AppImage updInfo HOT 6
- "Could NOT find CURL (missing: HTTP)" while building on Ubuntu 14 HOT 12
- Incompatibility when dynamically linking libappimageupdate in GTK app HOT 10
- Assembled ZSync URL points to wrong file
- command line flags missing HOT 6
- No rule to make target libarchive.a
- Why can't AppImageUpdate update itself when prompted by the user? HOT 7
- Patch apps for update HOT 2
- Remove "alpha" from the version
- Unclear downloads in the release page, and no information in the readme HOT 1
- Update panel shortcut HOT 1
- double click closes the file-chooser HOT 1
- [Feature request] Multiple selection
- Unable to build for armhf HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appimageupdate.