Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking: Macros not shown in the AddonManager #35

Closed
3 tasks
luzpaz opened this issue Jan 25, 2019 · 7 comments
Closed
3 tasks

Tracking: Macros not shown in the AddonManager #35

luzpaz opened this issue Jan 25, 2019 · 7 comments

Comments

@luzpaz
Copy link
Contributor

luzpaz commented Jan 25, 2019

  • ObjectCreation/ParabolaCreater.FCMacro
  • FCRotateViewAbsolute.FCMacro
  • Foto.FCMacro (and it errors out, see below)
Error:
Traceback (most recent call last):
  File "E:/Data/FreeCAD/Macro/Foto.FCMacro", line 56, in <module>
    sel0 = sel[0]
<class 'IndexError'>: list index out of range

Related to #8
Found by @Syres916 on the forum

@galou
Copy link
Collaborator

galou commented Feb 1, 2019

For information, ParabolaCreater.FCMacro is installable on

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15713 (Git)
Build type: Release
Branch: master
Hash: 93dd00cc3953416bf46fb0a5b7b3c6397df6e4d0
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

@luzpaz
Copy link
Contributor Author

luzpaz commented Feb 2, 2019

@galou do you see it in the addon manager menu ?

Edit: I can't see it in my addon menu

OS: Manjaro Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15710 (Git) AppImage
Build type: Release
Branch: master
Hash: f2dc59c3ab2a1012c4e311a85fab7ae75aeb2ca5
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

@galou
Copy link
Collaborator

galou commented Feb 2, 2019

Yes, I see ParabolaCreater.FCMacro in the AddonManager and can install it.

Do you have python-git installed?

@luzpaz
Copy link
Contributor Author

luzpaz commented Feb 2, 2019

Yes, it's installed on my system:

Name            : python-gitpython
Version         : 2.1.11-2
Description     : A python library used to interact with Git repositories
Architecture    : any
URL             : https://github.com/gitpython-developers/gitpython
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : python  python-gitdb>=2.0.0
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.63 MiB
Packager        : Evangelos Foutras <[email protected]>
Build Date      : Wed 18 Jul 2018 03:22:57 AM CDT
Install Date    : Fri 11 Jan 2019 06:54:13 AM CST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

So is viewing some of the macros dependent on python-git installed?

@galou
Copy link
Collaborator

galou commented Feb 3, 2019

The AddonManager uses two sources for macros, this repository and the Wiki pages.
Getting macros from this "official" repository requires gitpython (or python-git, however it's called).

@luzpaz
Copy link
Contributor Author

luzpaz commented Feb 3, 2019

Very good to know. We should let people know this in the Add-on Manager interface or perhaps when FreeCAD first loads? I'm using the appimage so maybe we need to bundle the appimage with python-gitpython ?

@galou
Copy link
Collaborator

galou commented Feb 4, 2019

This is new to 0.18.

@galou galou closed this as completed Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants