Installation Errors ( OS X )

Home Forums Bug Reports and Feature Requests Installation Errors ( OS X )

This topic contains 12 replies, has 3 voices, and was last updated by Avatar rhenriques 4 months, 2 weeks ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #17063

    Hi There,

    Is anyone else having errors when trying to enable Verge
    in Blender RC1 on Mac OS ? ( 10.14.5 )

    I’ve included the text from the console for clues.

    Thank you,

    Chris

    #17068
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Hi Chris,

    No text from console is included in the post. Could you please try again?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17082

    Sorry Yuri ..I had thought I had attached a text file.
    Pasting the console text below. and thank you!

    bpy.data.window_managers[“WinMan”].addon_search = “ver”
    Traceback (most recent call last):
    File “/Applications/Blender.app/Contents/Resources/2.80/scripts/modules/addon_utils.py”, line 384, in enable
    mod.register()
    File “/Users/chrisryan/Documents/Blender Files/AddOns/2.8/verge3d/addons/verge3d/__init__.py”, line 218, in register
    from . import custom_props, custom_ui
    File “/Users/chrisryan/Documents/Blender Files/AddOns/2.8/verge3d/addons/verge3d/custom_props.py”, line 20, in <module>
    from . import utils
    File “/Users/chrisryan/Documents/Blender Files/AddOns/2.8/verge3d/addons/verge3d/utils.py”, line 19, in <module>
    import numpy as np
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/__init__.py”, line 142, in <module>
    from . import add_newdocs
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/add_newdocs.py”, line 13, in <module>
    from numpy.lib import add_newdoc
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/lib/__init__.py”, line 8, in <module>
    from .type_check import *
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/lib/type_check.py”, line 11, in <module>
    import numpy.core.numeric as _nx
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/core/__init__.py”, line 35, in <module>
    from . import _internal # for freeze programs
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/site-packages/numpy/core/_internal.py”, line 15, in <module>
    import ctypes
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/ctypes/__init__.py”, line 543, in <module>
    _reset_cache()
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/ctypes/__init__.py”, line 273, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
    MemoryError

    #17086
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Sorry, we are not reproducing this. Did you by any chance install it from the zip archive? (i.e. not by specifying the script path as we recommend it)

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17090

    I’ve been using the same path to scripts for many weeks.
    I always unpack and place the payload in the same location.
    It wasn’t until RC1 and the latest Verge version that I encountered the
    Errors.

    #17091
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    It seems to be Blender’s bug which Verge3D addon revealed. Found a possible workaround here
    https://github.com/powerline/powerline/issues/1947#issuecomment-431784358

    Try editing the file

    /Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/ctypes/__init__.py

    and commenting out the line:
    CFUNCTYPE(c_int)(lambda: None)

    so it looks as follows:

    #CFUNCTYPE(c_int)(lambda: None)

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17093
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    fresh update:
    https://www.crowd-render.com/single-post/2019/07/15/Work-Around-for-addons-not-working-on-MacOS-Blender-280-RC1

    and

    https://developer.blender.org/T66986

    Looks like this issue is already fixed. Try downloading the newest Blender 2.80 RC1 build.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17095

    I’ve been using that build. It is what brought my other AddOns back.
    I tried Commenting out the line you had suggested but, no success.

    I appreciate the help as I know that Mac OS users are few and far between : )

    #17096
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    So if you type

    import ctypes

    in Blender’s Python console, are any errors thrown?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17097

    indeed there re errors

    >>> import ctypes
    Traceback (most recent call last):
    File “<blender_console>”, line 1, in <module>
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/ctypes/__init__.py”, line 543, in <module>
    _reset_cache()
    File “/Applications/Blender.app/Contents/Resources/2.80/python/lib/python3.7/ctypes/__init__.py”, line 273, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
    MemoryError

    #17098
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Well, I guess your Blender version does not contain the fix from https://developer.blender.org/T66986

    Blender devs are going to release RC2 later this week. Once they do this, you might want to update and see if the issue is gone.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #17099

    Thank you for your time Yuri …
    I will wait for the release of RC2

    #17121
    Avatar
    rhenriques
    Licensee

    Hi digitalelements, I had the same problem. The trick, for now, is to disable SIP and Gatekeeper. That way you will be able to enable Verge3D add on.

    • This reply was modified 4 months, 2 weeks ago by Avatar rhenriques.
Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.