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

Example evaluating_clearance.py doesn't work. AttributeError: 'Mesh' object has no attribute 'flag' #144

Open
sensebur opened this issue Jan 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@sensebur
Copy link

sensebur commented Jan 9, 2023

Example evaluating_clearance.py doesn't work. AttributeError: 'Mesh' object has no attribute 'flag'

Problem:
welleng 0.5.1 on Windows. vedo 2022.4.2

Traceback (most recent call last):
File "C:\welleng-main\examples\evaluating_clearance.py", line 209, in
we.visual.plot(scene, names=names, colors=colors)
File "C:\Users\username\anaconda3\envs\welleng\lib\site-packages\welleng\visual.py", line 287, in plot
plt = Plotter(data, **kwargs)
File "C:\Users\username\anaconda3\envs\welleng\lib\site-packages\welleng\visual.py", line 109, in init
m_vedo.flag()
AttributeError: 'Mesh' object has no attribute 'flag'
python-BaseException

Solution:
pip install --upgrade vedo==2021.0.6

@jonnymaserati jonnymaserati added the bug Something isn't working label Mar 26, 2023
@jonnymaserati
Copy link
Owner

@sensebur apologies for the delay... I've been taking a break from welleng.

I see this was a dependencies issue. I think going forward I'll start locking in dependency versions to try and prevent this sort of stuff, but for now I think you've close this one yourself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants