You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We cannot install the addon due to no support in bae/preferences.py for FreeBSD OS: File "/home/valery/.config/blender/3.6/scripts/addons/CAD_Sketcher-main/base/preferences.py", line 71, in get_wheel version_info.major, version_info.minor, platform_strig UnboundLocalError: local variable 'platform_strig' referenced before assignment
Expected value:
import sys
sys.platform
'freebsd14'
bugfix could be like:
def get_wheel():
p = Path(__file__).parent.absolute()
from sys import platform, version_info
if platform == "linux" or platform == "linux2":
# Linux
platform_strig = "linux"
elif platform == "darwin":
# OS X
platform_strig = "macosx"
elif platform == "win32":
# Windows
platform_strig = "win"
elif platform.startswith("freebsd")
# FreeBSD
platform_strig = "freebsd"
but I don't know the future use for platform_strig, so "linux" could be a better value.
Addon Version
0.27
Blender Version
3.6
What platform are you running on?
Linux
The text was updated successfully, but these errors were encountered:
Contact Details
[email protected]
Description
We cannot install the addon due to no support in bae/preferences.py for FreeBSD OS:
File "/home/valery/.config/blender/3.6/scripts/addons/CAD_Sketcher-main/base/preferences.py", line 71, in get_wheel version_info.major, version_info.minor, platform_strig UnboundLocalError: local variable 'platform_strig' referenced before assignment
Expected value:
bugfix could be like:
but I don't know the future use for
platform_strig
, so"linux"
could be a better value.Addon Version
0.27
Blender Version
3.6
What platform are you running on?
Linux
The text was updated successfully, but these errors were encountered: