Coder Social home page Coder Social logo

Comments (9)

eliemichel avatar eliemichel commented on July 20, 2024

Hi @Unesty thanks for your feedback.

This error had been fixed by 7802395 but was indeed not available in the last published release, so here is a new one that includes the bugfix: https://github.com/eliemichel/DagAmendment/releases/tag/v1.0.1

from dagamendment.

Unesty avatar Unesty commented on July 20, 2024

@eliemichel For some reason, same here. And I used release and then built from source.

from dagamendment.

eliemichel avatar eliemichel commented on July 20, 2024

My bad, for some reason the commit got reverted. I just updated the release.

from dagamendment.

Unesty avatar Unesty commented on July 20, 2024

Now this

Read prefs: /bunny/.config/blender/2.93/config/userpref.blend
/run/user/1004/gvfs/ non-existent directory
Traceback (most recent call last):
  File "/usr/share/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/bunny/.config/blender/2.93/scripts/addons/DagAmendment/__init__.py", line 84, in <module>
    from . import overlays
  File "/bunny/.config/blender/2.93/scripts/addons/DagAmendment/overlays.py", line 29
    from .shaders import line_shader,, point_shader
                                     ^
SyntaxError: invalid syntax

from dagamendment.

Unesty avatar Unesty commented on July 20, 2024

After fixing this error new appears

reloading addon: DagAmendment 1633701810.674106 1633702126.534784 '/bunny/.config/blender/2.93/scripts/addons/DagAmendment/__init__.py'
Modules Installed () from '/bunny/Downloads/DagAmendment/releases/DagAmendment-v1.0.1.zip' into '/bunny/.config/blender/2.93/scripts/addons'
Traceback (most recent call last):
  File "/usr/share/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/bunny/.config/blender/2.93/scripts/addons/DagAmendment/__init__.py", line 85, in <module>
    from . import tools
  File "/bunny/.config/blender/2.93/scripts/addons/DagAmendment/tools.py", line 29, in <module>
    from .draw_utils import draw_lines_2d
  File "/bunny/.config/blender/2.93/scripts/addons/DagAmendment/draw_utils.py", line 29, in <module>
    from .shaders import tex2points_shader
ImportError: cannot import name 'tex2points_shader' from 'DagAmendment.shaders' (/bunny/.config/blender/2.93/scripts/addons/DagAmendment/shaders.py)

from dagamendment.

haxxolotl avatar haxxolotl commented on July 20, 2024
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\__init__.py", line 84, in <module>
    from . import overlays
  File "C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\overlays.py", line 29
    from .shaders import line_shader,, point_shader
                                     ^
SyntaxError: trailing comma not allowed without surrounding parentheses

same thing here

from dagamendment.

haxxolotl avatar haxxolotl commented on July 20, 2024

After resolving the extra comma issue, getting the following:

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\__init__.py", line 85, in <module>
    from . import tools
  File "C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\tools.py", line 29, in <module>
    from .draw_utils import draw_lines_2d
  File "C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\draw_utils.py", line 29, in <module>
    from .shaders import tex2points_shader
ImportError: cannot import name 'tex2points_shader' from 'DagAmendment.shaders' (C:\Users\enen9\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\DagAmendment\shaders.py)


from dagamendment.

haxxolotl avatar haxxolotl commented on July 20, 2024

Removing that line allows addon to be successfully added
from .shaders import tex2points_shader

from dagamendment.

eliemichel avatar eliemichel commented on July 20, 2024

So sorry, working a bit in a hurry on this, I had not taken the time to test my release. :/
Fixed again in v1.0.1, thank you both of you!

from dagamendment.

Related Issues (6)

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.