FreeCAD-AppImages do not run under opensuse Tumbleweed (invalid magic cookies on tumbleweed)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
adler53
Posts: 2
Joined: Mon Jul 01, 2019 4:44 pm

FreeCAD-AppImages do not run under opensuse Tumbleweed (invalid magic cookies on tumbleweed)

Post by adler53 »

If you run FreeCAD-Images from Version 0.18 up, you get this error:

Code: Select all

adler@ad-oss:/opt/appimage> ./FreeCAD_0.18-16117-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
/tmp/.mount_FreeCAiRZqo7
FreeCAD 0.18, Libs: 0.18R16117 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Invalid MIT-MAGIC-COOKIE-1 key/tmp/.mount_FreeCAiRZqo7/AppRun: Zeile 12:  8540 Abgebrochen             (Speicherabzug geschrieben) ${HERE}/usr/bin/FreeCAD "$@"
This means, that FreeCAD is completely not compatible with Opensuse Tumbleweed, neither by zypper in FreeCAD, neither as AppImage.

The Installation with zypper in FreeCAD fails with

Code: Select all

Problem: libpyside2.cpython-37m-x86_64-linux-gnu.so.5.12()(64bit) needed by FreeCAD-0.18.1-1.1.x86_64 cannot be provided
 Solution 1: do not install FreeCAD-0.18.1-1.1.x86_64 
 Solution 2: FreeCAD-0.18.1-1.1.x86_64: ignore Depencies and risk an instable system 



This means, that FreeCAD would -under opensuse Tumbleweed - be only available as WINDOWS-Version, working under WINE.
Last edited by Kunda1 on Tue Aug 27, 2019 5:19 pm, edited 2 times in total.
Reason: Updated title
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD-Images do not run under opensuse Tumbleweed

Post by Kunda1 »

Moved to install/compile subforum

Is this anissueyou can reproduce with any other appimages or just FreeCAD?
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
adler53
Posts: 2
Joined: Mon Jul 01, 2019 4:44 pm

Re: FreeCAD-Images do not run under opensuse Tumbleweed

Post by adler53 »

The error comes only up by the Appimages of Version 0.18 and 0.19.
FreeCAD 0.17 works fine and twoo other Appimages (Libreoffice and Blender) either do.....
DeronF
Posts: 3
Joined: Wed Jul 17, 2019 9:01 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed

Post by DeronF »

Hi..
FreeCAD 18.1 was working fine on my OpenSUSE tumbleweed machine until a system update few months ago .. when Python 3 updated the FreeCAD broke ..
Any attempt to reinstall it gives this:

x@x-pc:/> sudo zypper install FreeCAD
Retrieving repository 'openSUSE-Tumbleweed-Source-Non-Oss' metadata ..........................................................................[done]
Building repository 'openSUSE-Tumbleweed-Source-Non-Oss' cache ...............................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libpyside2.cpython-37m-x86_64-linux-gnu.so.5.12()(64bit) needed by FreeCAD-0.18.1-1.1.x86_64
Solution 1: do not install FreeCAD-0.18.1-1.1.x86_64
Solution 2: break FreeCAD-0.18.1-1.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):
schuderbalg
Posts: 1
Joined: Wed Jul 24, 2019 7:08 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed

Post by schuderbalg »

Create symlinks to version 5.13 of missing libraries, at least FreeCAD starts up:

schuderbalg@linux:/usr/lib64> sudo ln -s libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.13 libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.12
schuderbalg@linux:/usr/lib64> sudo ln -s libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.13.0 libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.12.0
schuderbalg@linux:/usr/lib64> sudo ln -s libpyside2.cpython-37m-x86_64-linux-gnu.so.5.13 libpyside2.cpython-37m-x86_64-linux-gnu.so.5.12
schuderbalg@linux:/usr/lib64> sudo ln -s libpyside2.cpython-37m-x86_64-linux-gnu.so.5.13.0 libpyside2.cpython-37m-x86_64-linux-gnu.so.5.12.0
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed

Post by looo »

Invalid MIT-MAGIC-COOKIE-1
Can you change the topic title to:
"invalid magic cookies on tumble weed" ;)

I guess it's a hidden message from open suse devs.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed

Post by triplus »

Any openSUSE people around? Just wondering what is the current situation regarding FreeCAD 0.18/0.19 AppImages:

https://github.com/FreeCAD/FreeCAD/releases

Thanks.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed (invalid magic cookies on tumbleweed)

Post by Kunda1 »

Updated title per @looo's suggestion
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
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed (invalid magic cookies on tumbleweed)

Post by triplus »

I read this thread again and it is more about the FreeCAD package provided by openSUSE, and less about the AppImage. Best to report to openSUSE FreeCAD package maintainers. As for the AppImage, if anybody is interested, some fixes have just landed in FreeCAD 0.18 AppImage:

https://github.com/FreeCAD/FreeCAD/releases/tag/0.18.3

And it is expected for FreeCAD 0.19 AppImage to in general work OK:

https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
bernhardb
Posts: 9
Joined: Thu May 05, 2016 3:13 pm

Re: FreeCAD-AppImages do not run under opensuse Tumbleweed (invalid magic cookies on tumbleweed)

Post by bernhardb »

Short status for Suse 15.3 (Release candidate) and the 0.19 appimage: Same problem. But easy to solve: Just allow the screen access via a

xhost +

in a terminal. After this, all works fine. Just funny that some appimage packages have this problem and some (older ones) not...
Post Reply