LilySurfaceScraper icon indicating copy to clipboard operation
LilySurfaceScraper copied to clipboard

Unable to enable 1.7.5 rc2 on 3.1 on Ubuntu 20.04

Open baldyman01 opened this issue 3 years ago • 5 comments

I can install this addon onto Blender 3.1 Stable running on Ubuntu 20.04 however when but when attempting to enable it the following traceback is thrown -

Traceback (most recent call last): File "/home/pete/Applications/Blender_Launcher/stable/blender-3.1.0+stable.c77597cd0e15/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = __import__(module_name) File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/__init__.py", line 31, in <module> from . import frontend File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/frontend.py", line 10, in <module> from .CyclesLightData import CyclesLightData File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/CyclesLightData.py", line 9, in <module> from .LightData import LightData File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/LightData.py", line 7, in <module> from .ScrapersManager import ScrapersManager File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/ScrapersManager.py", line 26, in <module> from .Scrapers.AbstractScraper import AbstractScraper File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/Scrapers/AbstractScraper.py", line 31, in <module> from lxml import etree ImportError: cannot import name 'etree' from 'lxml' (/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScrapper/site-packages/lxml/__init__.py) LSS 1.7.4 stable produces an identical traceback.

baldyman01 avatar Mar 14 '22 14:03 baldyman01

Can you run the linux equivalent of:

"C:\Program Files\Blender Foundation\Blender 3.1\3.1\python\bin\python.exe" -m pip install lxml -t "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules"

and then share the content of scripts\modules\lxml? I would add it to the official release so that everybody can benefit from the fix!

eliemichel avatar Mar 29 '22 17:03 eliemichel

Not OP, but: lxml.zip

P.S. I'm on Mac if that affects anything!

PhlixFer avatar Mar 29 '22 19:03 PhlixFer

Thanks a lot @PhlixFer it affects indeed, also do you have an arm (M1) or x86 (Intel) chip?

eliemichel avatar Mar 31 '22 06:03 eliemichel

I'm on an Intel Mac!

PhlixFer avatar Mar 31 '22 12:03 PhlixFer

Perfect thanks! I've updated the last release to include this.

eliemichel avatar Mar 31 '22 15:03 eliemichel