Closed Lvaskz closed 5 years ago
TL;DR: That's a bug in the desktop file they ship, IIRC.
In both cases, invocation via launcher and terminal, AppImageLauncher is invoked. The difference is that in the desktop file that makes up the launcher entry, there's additional arguments which you don't pass when calling it manually.
I've had the same problem a while back, and I just edited the desktop file in the AppImage. Of course, that's not really viable for users. I will look into it to it again to see if there's anything we can do to fix this (although I doubt that). In the meantime, please try their relatively stable prerelease, and check whether it launches from the launcher properly. I use that all the time, and it works great.
With the latest version of AppImageLauncher, the AppImage seems to run fine.
Please provide the output of cat ~/.local/share/applications/appimagekit*-freecad.desktop
.
Possibly duplicate of #79.
@Lvaskz I need you to check again whether latest version of AppImageLauncher fixes the bug.
Also, in the future, please provide the version of AppImageLauncher right away, that'd be very helpful:
$ AppImageLauncher --version
Hi, I just installed appimagelauncher appimagelauncher_1-alpha-travis305.git20180914.64e1fd6.bionic_amd64.deb, but the issue still persists in freecad version 0.17. With the freecad conda version, it seems to work fine, but freecad conda has a problem that does not allow me to see the menus. This is output file: [Desktop Entry] Version=1.0 Name=FreeCAD (13528.glibc2.17) Comment=Feature based Parametric Modeler Comment[de_DE]=Feature-basierter parametrischer Modellierer Comment[fr]=Modeleur paramétrique à base de fonctions GenericName=CAD Application GenericName[de_DE]=CAD-Anwendung GenericName[fr]=Application de CAO Exec=/home/amiel/Applications/FreeCAD-13528.glibc2.17-x86_64(1)_fb973c218aa319d875fa0f76e1e863be.AppImage --single-instance %U Terminal=false Type=Application Icon=appimagekit_5c061ddc94fa95da6fab516d3023ffd6_freecad Categories=Graphics;Science;Engineering; StartupNotify=true MimeType=application/x-extension-fcstd; X-AppImage-Version=13528.glibc2.17 TryExec=/home/amiel/Applications/FreeCAD-13528.glibc2.17-x86_64(1)_fb973c218aa319d875fa0f76e1e863be.AppImage X-AppImage-Old-Icon=freecad X-AppImage-Old-Name=FreeCAD X-AppImage-Identifier=5c061ddc94fa95da6fab516d3023ffd6 Actions=Remove;Update; X-AppImageLauncher-Version=1-alpha (git commit 64e1fd6), built on 2018-09-14 02:30:55 UTC
[Desktop Action Remove] Name=Remove AppImage from system Exec=/usr/lib/appimagelauncher/remove /home/amiel/Applications/FreeCAD-13528.glibc2.17-x86_64(1)_fb973c218aa319d875fa0f76e1e863be.AppImage Name[de]=AppImage vom System entfernen Name[en]=Remove AppImage from system Name[es]=Eliminar Appimage del Sistema Name[fr]=Supprimer l'AppImage du système Name[ru]=Удалить AppImage из системы
[Desktop Action Update] Name=Update AppImage Exec=/usr/lib/appimagelauncher/update /home/amiel/Applications/FreeCAD-13528.glibc2.17-x86_64(1)_fb973c218aa319d875fa0f76e1e863be.AppImage Name[de]=AppImage aktualisieren Name[en]=Update AppImage Name[es]=Actualizar Appimage Name[fr]=Mettre à jour l'AppImage Name[ru]=Обновить AppImage
This is output file with freecad conda: [Desktop Entry] Version=1.0 Name=FreeCAD Conda Exec=/home/amiel/Applications/FreeCAD_0.18_Conda_Py3Qt5_glibc2.12-x86_64_58260cbce782b3b88e7308c5234b895b.AppImage Icon=appimagekit_3aadb5e8e7478d5f17ad042b8313d63e_freecad_conda Type=Application Categories=Engineering; Comment=Feature based Parametric Modeler Terminal=false StartupNotify=true NoDisplay=false MimeType=application/x-extension-fcstd; TryExec=/home/amiel/Applications/FreeCAD_0.18_Conda_Py3Qt5_glibc2.12-x86_64_58260cbce782b3b88e7308c5234b895b.AppImage X-AppImage-Old-Icon=freecad_conda X-AppImage-Identifier=3aadb5e8e7478d5f17ad042b8313d63e Actions=Remove;Update; X-AppImageLauncher-Version=1-alpha (git commit adec9be), built on 2018-09-06 11:18:52 UTC
[Desktop Action Remove] Name=Remove AppImage from system Exec=/usr/lib/appimagelauncher/remove /home/amiel/Applications/FreeCAD_0.18_Conda_Py3Qt5_glibc2.12-x86_64_58260cbce782b3b88e7308c5234b895b.AppImage Name[de]=AppImage vom System entfernen Name[en]=Remove AppImage from system Name[es]=Eliminar Appimage del Sistema Name[fr]=Supprimer l'AppImage du système Name[ru]=Удалить AppImage из системы
[Desktop Action Update] Name=Update AppImage Exec=/usr/lib/appimagelauncher/update /home/amiel/Applications/FreeCAD_0.18_Conda_Py3Qt5_glibc2.12-x86_64_58260cbce782b3b88e7308c5234b895b.AppImage Name[de]=AppImage aktualisieren Name[en]=Update AppImage Name[es]=Actualizar Appimage Name[fr]=Mettre à jour l'AppImage Name[ru]=Обновить AppImage
I noted a difference in the exec line, in conda has not indicate "single ui"
any progress?
@Lvaskz nope. I cannot reproduce this issue. It works fine in a clean environment. Have you tried it in a live VM, as I asked you to do in the other bugs you reported? That's the only way to make sure the issue is not limited to your device.
The difference in the Exec
lines does make a difference, yes. Before #79 the additional parameter wasn't properly forwarded to the AppImage. Before, the same FreeCAD AppImage failed on my computer. After merging, it works like a charm.
Hi, I made a VM with linuxmit 19 and the issue remains. It is not only in my machine, Can some one try it?
I get exactly the same error. Fresh install of Kubuntu 18.04, and FreeCAD development release. FreeCAD loads just fine if I double-click the image, just as reported by @Lvaskz above.
I'm using this FreeCAD image: https://github.com/FreeCAD/FreeCAD/releases/download/0.18_pre/FreeCAD_0.18.14796.glibc2.17-x86_64.AppImage
I'll edit this comment with the AppImageLauncher version once I figure out how to find it. I just found, and installed, appimagelauncher today though, so it should be the latest... I installed via apt-get after adding the repo per official instructions.
--update-- found this in syslog. Don't know if it helps or not; if you want actual appimagelauncher logs, could you kindly point me to their location? I see nothing in /var/log...
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Creating the cache for: "applications:appimagekit_d720712935d911369c9be1773301a776-freecad-daily.desktop"
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Already in database? true
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: First update : QDateTime(2018-09-28 14:07:56.000 EDT Qt::TimeSpec(LocalTime))
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Last update : QDateTime(2018-09-28 14:07:56.000 EDT Qt::TimeSpec(LocalTime))
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: After the adjustment
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Current score : 0
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: First update : QDateTime(2018-09-28 14:07:56.000 EDT Qt::TimeSpec(LocalTime))
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Last update : QDateTime(2018-09-28 14:07:56.000 EDT Qt::TimeSpec(LocalTime))
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: Interval length is 0
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: New score : 1
Sep 28 14:08:27 T3500 org.kde.ActivityManager[1016]: ResourceScoreUpdated: "0500100a-d1f1-4b21-ad0e-3ce561ceb1fa" "org.kde.krunner" "applications:appimagekit_d720712935d911369c9be1773301a776-freecad-daily.desktop"
Sep 28 14:08:39 T3500 org.kde.ActivityManager[1016]: Creating the cache for: "/home/joel"
Is this still an issue with 1.0.0 beta 3?
I will try.
Yes the issue remains
All I can tell is I can't reproduce this behavior with this file and the latest version of AppImageLauncher in a fresh Kubuntu 18.04 VM.
You as a long-time user might have some broken files on your system which prevent this from working. I'd like to invite you to #appimage on Freenode and try to fix this issue on your specific system.
Sure. By the way, when I reported this issue I was in ubuntu 18.04, later I made a VM in Linuxmint 19. And later I decided not using ubuntu 18.04 because it was to much heavy to my light computer, so I changes it to linuxmint 19 in november month around. I think broken files in my system is not the case, but any way I will try #appimage on freenode. Only I asking you is what is that and where find it? Can you send me a link?
It's an IRC channel.
I used liveusb kde neon and same problem. I will try webchat to see if there is a solution. I'll take some time untill read guidelines.
With Freecad 0.18 works well. Closing......
I'm having this problem. I have freecad integrated in the desktop by appimagelauncher, but after I run it from the freecad application menu it gives me this error: If I run freecad.appimage from the applications folder, it does not generate any conflict. link for appimage freecad: https://github.com/FreeCAD/FreeCAD/releases/download/0.17/FreeCAD-0.17.13541.9948ee4.glibc2.17-x86_64.AppImage Here a video:
freecad.zip