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

'MaterialMap' has no attribute '__annotations__' #1

Open
zstreeter opened this issue Aug 23, 2024 · 2 comments
Open

'MaterialMap' has no attribute '__annotations__' #1

zstreeter opened this issue Aug 23, 2024 · 2 comments
Labels
wontfix This will not be worked on

Comments

@zstreeter
Copy link

Hi there!

Looking forward to using this project to start creating some CAD projects! Really appreciate your effort!

I followed the install instructions and tried out the verification step but resulted in the following error

  File "/home/zstreet/Documents/Repos/anchorscad/src/anchorscad/extrude.py", line 13, in <module>
    import anchorscad.core as core
  File "/home/zstreet/Documents/Repos/anchorscad/src/anchorscad/__init__.py", line 2, in <module>
    from .core import *
  File "/home/zstreet/Documents/Repos/anchorscad/src/anchorscad/core.py", line 273, in <module>
    class MaterialMap:
  File "/home/zstreet/Documents/Repos/anchorscad/src/anchorscad/datatrees.py", line 959, in wrap
    return _process_datatree(
  File "/home/zstreet/Documents/Repos/anchorscad/src/anchorscad/datatrees.py", line 876, in _process_datatree
    if OVERRIDE_FIELD_NAME in clz.__annotations__:
AttributeError: type object 'MaterialMap' has no attribute '__annotations__'

Looks like the clz class isn't being initialized correctly or something.

I'm also seeing this on the stable branch as well so I'm thinking this is on my side. Any advice would be appreciated!

@owebeeone
Copy link
Owner

owebeeone commented Aug 23, 2024 via email

@owebeeone
Copy link
Owner

owebeeone commented Aug 23, 2024 via email

@owebeeone owebeeone added the wontfix This will not be worked on label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants