AppImage - Include auto-updating logic in to appimage directly?

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by Kunda1 »

looo wrote: Sun Jun 07, 2020 11:44 am Thanks for testing and the feedback. I added a message at the end of the log if no new appimage is available. Should be included in the next available appimage.
:+1:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
geant
Posts: 42
Joined: Mon Mar 30, 2015 11:54 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by geant »

AppImage Updated successfully from Preferences control panel UI!
Thanks for sticking with FreeCAD looo!
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by adrianinsaval »

This doesn't work for me
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by chrisb »

adrianinsaval wrote: Tue Jun 09, 2020 3:55 am This doesn't work for me
Please add what this means. Still the same message as above?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by looo »

I tested the latest state (21514) and it worked for me. Only problem I have seen so far: If "always check for updates" is enabled the log is also shown when no new appimage is available which is not by design.
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by adrianinsaval »

Yes, I still get the same message. What conditions does it need to work?
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by looo »

adrianinsaval wrote: Thu Jun 04, 2020 7:43 pm I get this message when checking for updates:

Code: Select all

loading the plugin: True
   INFO:   setAppImage :  "/run/user/1000/appimagelauncherfs/0002.AppImage" . 
  FATAL:   getInfo : invalid magic bytes( 127 , 69 ). 
OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git) AppImage
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Paraguay (es_PY)
I can confirm that the updateprocess within freecad does not work if you use the appimageLauncher. Maybe @antonyjr can give some insights.
antonyjr wrote: Sat May 23, 2020 4:01 pm ping
User avatar
M4x
Veteran
Posts: 1483
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by M4x »

Same here:

Code: Select all

loading the plugin: True
   INFO:   setAppImage :  "/run/user/1000/appimagelauncherfs/0001.AppImage" . 
  FATAL:   getInfo : invalid magic bytes( 127 , 69 ). 
OS: Ubuntu 20.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21514 (Git) AppImage
Build type: Release
Branch: master
Hash: 89ddab33f692a9bd739171689f9ab0eb58d64b35
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by Kunda1 »

Can confirm that the update feature for appimage doesn't work on
OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21622 (Git) AppImage
Build type: Release
Branch: master
Hash: f5a5bf7900e9a5cdbb5f7f82fcf5123b27c9703f
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
antonyjr wrote: Sat May 23, 2020 4:01 pm :bell:
phpBB [video]


Edit: Added screencast
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage - Include auto-updating logic in to appimage directly?

Post by looo »

Kunda1 wrote: Thu Jun 18, 2020 10:24 am Can confirm that the update feature for appimage doesn't work on
I guess this is a different kind of issue and related to the theme. Somehow the button is not displayed. Maybe I should create the buttons all manually and not combine a QDialogButtonBox with an additional button. Let's try this:

https://github.com/looooo/freecad.appim ... c3c6424762
Post Reply