appimage

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
looo
Posts: 3173
Joined: Mon Nov 11, 2013 5:29 pm

Re: appimage

Postby looo » Tue Jul 16, 2019 10:00 am

chrisb wrote:
Mon Jul 15, 2019 10:42 pm
By the way, I didn't give much feedback on the last dmgs, because they are very stable now. I had one or two crashes, but that's almost nothing compared to the state when 0.19 started. Many Thanks for that!
chrisb wrote:
Mon Jul 15, 2019 10:53 pm
It works out of the box, and the DMG has grown in size only by 6MB.
Thanks! Positive feedback is always welcome :)
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
User avatar
iplayfast
Posts: 78
Joined: Sat Sep 07, 2019 6:55 am

Re: appimage

Postby iplayfast » Tue Mar 03, 2020 8:33 pm

Seems like appimage updater isn't working.

Code: Select all

./appimageupdatetool-x86_64.AppImage ./FreeCAD_0.19-19541-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
Checking for updates...
Fetching release information for tag "0.19_pre" from GitHub API.
... done!
Starting update...

Fetching release information for tag "0.19_pre" from GitHub API.
0% done
Updating from GitHub Releases via ZSync
0% done
zsync2: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage.part found, using as seed file
zsync2: Target file: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage
zsync2: Reading seed file: ./FreeCAD_0.19-19541-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
49.82% done (312.86 of 627.97 MiB)...
zsync2: Reading seed file: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage.part
51.54% done (323.66 of 627.97 MiB)...
zsync2: Usable data from seed files: 51.540787%
zsync2: Renaming temp file
51.54% done (323.66 of 627.97 MiB)...
zsync2: Fetching remaining blocks
51.54% done (323.66 of 627.97 MiB)...
zsync2: Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/5736080/81cb4700-5caa-11ea-9519-c43fd63afc25?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200303T202814Z&X-Amz-Expires=300&X-Amz-Signature=ce12ec65f6444f9273f2813c89c401fa2f83a83d09587d84e9af3dd99d51b012&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DFreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage&response-content-type=application%2Foctet-stream
zsync2: optimized ranges, old requests count 667, new requests count 103

51.54% done (323.66 of 627.97 MiB)...zsync_legacy: bad status code 404
zsync_legacy: Other error? -1

zsync2: failed to retrieve from FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage, status -1
100.00% done (627.97 of 627.97 MiB)...
Update failed!

User avatar
Kunda1
Posts: 7017
Joined: Thu Jan 05, 2017 9:03 pm

Re: appimage

Postby Kunda1 » Tue Mar 03, 2020 8:41 pm

Try the other appimageupdater mentioned on AppImage
I can't test atm
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
iplayfast
Posts: 78
Joined: Sat Sep 07, 2019 6:55 am

Re: appimage

Postby iplayfast » Tue Mar 03, 2020 8:48 pm

Kunda1 wrote:
Tue Mar 03, 2020 8:41 pm
Try the other appimageupdater mentioned on AppImage
I can't test atm
Much the same

Code: Select all

./AppImageUpdate-x86_64.AppImage FreeCAD_0.19-19541-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
AppImageUpdate version 1-alpha (commit 3516485), build 427 built on 2020-02-18 04:11:51 UTC
Fetching release information for tag "0.19_pre" from GitHub API.
Updating from GitHub Releases via ZSync
zsync2: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage.part found, using as seed file
zsync2: Target file: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage
zsync2: Reading seed file: /home/chris/bin/FreeCAD_0.19-19541-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
zsync2: Reading seed file: /home/chris/bin/FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage.part
zsync2: Usable data from seed files: 51.540787%
zsync2: Renaming temp file
zsync2: Fetching remaining blocks
zsync2: Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/5736080/81cb4700-5caa-11ea-9519-c43fd63afc25?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200303T204603Z&X-Amz-Expires=300&X-Amz-Signature=ac67c2e5a488295b0e6f6930a0ca4d0363b298d9bf1d27cfd6bd1d36c7fdf119&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DFreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage&response-content-type=application%2Foctet-stream
zsync2: optimized ranges, old requests count 667, new requests count 103

zsync_legacy: bad status code 404
zsync_legacy: Other error? -1
zsync2: failed to retrieve from FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage, status -1

User avatar
Kunda1
Posts: 7017
Joined: Thu Jan 05, 2017 9:03 pm

Re: appimage

Postby Kunda1 » Tue Mar 03, 2020 8:50 pm

Can you d/l the AppImage manually?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
iplayfast
Posts: 78
Joined: Sat Sep 07, 2019 6:55 am

Re: appimage

Postby iplayfast » Tue Mar 03, 2020 8:54 pm

Kunda1 wrote:
Tue Mar 03, 2020 8:50 pm
Can you d/l the AppImage manually?
I don't see the link. https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Am I going blind?
User avatar
Kunda1
Posts: 7017
Joined: Thu Jan 05, 2017 9:03 pm

Re: appimage

Postby Kunda1 » Tue Mar 03, 2020 8:57 pm

iplayfast wrote:
Tue Mar 03, 2020 8:54 pm
Kunda1 wrote:
Tue Mar 03, 2020 8:50 pm
Can you d/l the AppImage manually?
I don't see the link. https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Am I going blind?
Fortunately no, you're not :D
There's a header section called Assets that is collapsed div. The app image link is in there and works. I wonder where the 404 errors coming from?

Code: Select all

zsync_legacy: bad status code 404
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
iplayfast
Posts: 78
Joined: Sat Sep 07, 2019 6:55 am

Re: appimage

Postby iplayfast » Tue Mar 03, 2020 9:11 pm

Kunda1 wrote:
Tue Mar 03, 2020 8:57 pm
Fortunately no, you're not :D
There's a header section called Assets that is collapsed div. The app image link is in there and works. I wonder where the 404 errors coming from?

Code: Select all

zsync_legacy: bad status code 404
I do see the Assets, but do not see the app image. (for linux). Could you put the link you are seeing?

Code: Select all

11
FreeCAD_0.19.17352_x64_LP_11.11_PY2QT4-WinVS2013.7z
136 MB
FreeCADLibs_12.1.2_x64_VC15.7z
486 MB
FreeCADLibs_12.1.4_x64_VC15.7z
480 MB
FreeCAD_0.19.19758_x64_Conda_Py3QT5-WinVS2015.7z
315 MB
FreeCAD_0.19.19758_x64_LP_12.1.2_PY3QT5-WinVS2015.7z
276 MB
FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage.zsync
1.23 MB
FreeCAD_0.19-19758-Linux-Conda_glibc2.12-x86_64.AppImage-SHA256.txt
123 Bytes
FreeCAD_0.19-19758-macOS-x86_64-conda.dmg
599 MB
FreeCAD_0.19-19758-macOS-x86_64-conda.dmg-SHA256.txt
108 Bytes
Source code
(zip)
Source code
(tar.gz)

User avatar
Kunda1
Posts: 7017
Joined: Thu Jan 05, 2017 9:03 pm

Re: appimage

Postby Kunda1 » Tue Mar 03, 2020 9:51 pm

Weird it's not there anymore...?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 5632
Joined: Wed Oct 22, 2014 5:02 pm

Re: appimage

Postby sgrogan » Tue Mar 03, 2020 10:03 pm

Kunda1 wrote:
Tue Mar 03, 2020 9:51 pm
Weird it's not there anymore...?
The upload from Travis failed. I deleted the failed upload. We will need to wait for the next Travis build.
We have seen this problem intermittently.

EDIT: I manually triggered a build, it usually takes about 30 min.
https://travis-ci.org/FreeCAD/FreeCAD-A ... hub_status
EDIT2: Should be fixed
https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre