Git Product home page Git Product logo

Comments (3)

mrachinskiy avatar mrachinskiy commented on May 23, 2024 1

@MADREVV your issue is irrelevant to the initial report, next time open a new issue.

If error occurs on add-on activation, it means you are trying to install add-on repository instead of release. Make sure you download add-on release using link provided in step one of installation guide.

No response from issue author, closing report as invalid.

from commotion.

mrachinskiy avatar mrachinskiy commented on May 23, 2024

Hi, could you please provide example blend file, or screenshot of the issue?

from commotion.

MADREVV avatar MADREVV commented on May 23, 2024

image
(Blender 3.3.2)

SPDX-License-Identifier: GPL-3.0-or-later

Copyright 2021-2022 Mikhail Rachinskiy

v1.1.1

from future import annotations
from pathlib import Path
from typing import Any

import bpy

def reload_recursive(path: Path, mods: dict[str, Any]) -> None:
import importlib

for child in path.iterdir():

    if child.is_file() and child.suffix == ".py" and not child.name.startswith("__") and child.stem in mods:
        importlib.reload(mods[child.stem])

    elif child.is_dir() and not child.name.startswith((".", "__")):

        if child.name in mods:
            reload_recursive(child, mods[child.name].__dict__)
            importlib.reload(mods[child.name])
            continue

        reload_recursive(child, mods)

def check(*args: Any) -> None:
for arg in args:

    if isinstance(arg, Path) and not arg.exists():
        msg = "READ INSTALLATION GUIDE"
        error = FileNotFoundError(f"\n\n!!! {msg} !!! {msg} !!! {msg} !!!\n")
        raise error

    if isinstance(arg, tuple) and arg > bpy.app.version:
        ver = "{}.{}".format(*arg)
        error = RuntimeError(f"\n\n!!! BLENDER {ver} IS REQUIRED !!!\n")
        raise error

from commotion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.