FreeCAD / FreeCAD-Bundle

Stand-alone repo to Build and Deploy installable FreeCAD images
https://freecad.org
GNU Lesser General Public License v2.1
224 stars 58 forks source link

Appimage unable to install addons via addon-manager #165

Closed einhander closed 11 months ago

einhander commented 1 year ago

OS: Debian 12

FreeCAD 0.20.2, Libs: 0.20.2R29603 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Assembly4 workbench (v0.12.6) loaded
Sheet Metal workbench loaded
/home/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/linux/AppDir/usr/share/libdrm/amdgpu.ids: Нет такого файла или каталога
AddonManager: Unable to fetch git updates for workbench 3DfindIT

Cmd('git') failed due to: exit code(128)

  cmdline: git fetch
  stderr: '/usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'
AddonManager: Unable to fetch git updates for workbench A2plus
Cmd('git') failed due to: exit code(128)
  cmdline: git fetch
  stderr: '/usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'
AddonManager: Unable to fetch git updates for workbench Assembly4
Cmd('git') failed due to: exit code(128)
  cmdline: git fetch
  stderr: '/usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'
AddonManager: Unable to fetch git updates for workbench BIM
Cmd('git') failed due to: exit code(128)
  cmdline: git fetch
  stderr: '/usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'
AddonManager: Unable to fetch git updates for workbench CfdOF
Cmd('git') failed due to: exit code(128)
  cmdline: git fetch
  stderr: '/usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'

FreeCad from OS repository can install addons without errors

chennes commented 1 year ago

Can you try disabling git in the Addon Manager preferences?

einhander commented 1 year ago

The same error: Cmd('git') failed due to: exit code(128)

Cloning repo...
Lock acquired...
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAhNqlbH/usr/Mod/AddonManager/addonmanager_workers.py", line 985, in run
    self.run_git(target_dir)
  File "/tmp/.mount_FreeCAhNqlbH/usr/Mod/AddonManager/addonmanager_workers.py", line 1019, in run_git
    self.run_git_clone(clonedir)
  File "/tmp/.mount_FreeCAhNqlbH/usr/Mod/AddonManager/addonmanager_workers.py", line 1097, in run_git_clone
    repo = git.Repo.clone_from(
  File "/tmp/.mount_FreeCAhNqlbH/usr/lib/python3.10/site-packages/git/repo/base.py", line 1275, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs)
  File "/tmp/.mount_FreeCAhNqlbH/usr/lib/python3.10/site-packages/git/repo/base.py", line 1181, in _clone
    handle_process_output(
  File "/tmp/.mount_FreeCAhNqlbH/usr/lib/python3.10/site-packages/git/cmd.py", line 203, in handle_process_output
    return finalizer(process)
  File "/tmp/.mount_FreeCAhNqlbH/usr/lib/python3.10/site-packages/git/util.py", line 419, in finalize_process
    proc.wait(**kwargs)
  File "/tmp/.mount_FreeCAhNqlbH/usr/lib/python3.10/site-packages/git/cmd.py", line 559, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --progress https://github.com/chbergmann/OpticsWorkbench /home/einhander/.local/share/FreeCAD/Mod/OpticsWorkbench
adrianinsaval commented 1 year ago

https://www.reddit.com/r/Ubuntu/comments/134x93o/git_clone_not_working/

einhander commented 1 year ago

conda: command not found

chennes commented 1 year ago

It's likely that AppImage users will not be able to use the Git access methods: can you try disabling Git in the Addon Manager preferences?

einhander commented 1 year ago

The same error: Cmd('git') failed due to: exit code(128)

@chennes Yes, it's the same error. It's looks like some library versions mismatch. Git from appimage worked a months ago.

chennes commented 1 year ago

Oh, I see, I missed that this was 0.20.

adrianinsaval commented 12 months ago

is this happening on the 0.21 bundle too?

adrianinsaval commented 11 months ago

no response, not actionable -> closing

Please reopen if the issue is still present on the 0.21 or 0.22 appimage