Coder Social home page Coder Social logo

Comments (8)

REDxEYE avatar REDxEYE commented on September 9, 2024

Imported fine for me. I need more time to investigate

from sourceio.

othello777 avatar othello777 commented on September 9, 2024

My system specs in case it's helpful:

Linux Mint upgraded to 22.10 packages
blender 3.3.1 downloaded from the blender website
Sourceio 4.0.3

and there are several layers of symbolic links in the path to the file.

from sourceio.

CmdrMaylee avatar CmdrMaylee commented on September 9, 2024

I am personally getting an identical error from what I can tell, every source model .mdl I've tried to import thus far end up in the same IsADirectoryError.
As a sidenote, an excplicit install of Python 3.8 was required to enable the plug-in after installation, otherwise a missing dependency of py3.8 libs would occur. Probably has nothing to do with anything in this particular error, but may be worth mentioning just in case.
This was tested on Arch Linux with the latest Blender 3.3.1 from the official package repo alongside 4.0.3 of SourceIO. An attempt on the windows partition might be in order to check for the potential of an OS anomaly.

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

I've made an attempt to fix it. Try with version from master

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

And it it crash again, provide full console log

from sourceio.

CmdrMaylee avatar CmdrMaylee commented on September 9, 2024

Ace fixing mate, top marks! Loading in the same models from before now works a charm! Sorry to say however that the next step of loading in the textures for said models leads to a somewhat similar error. Unfortunately I cannot tell at a glance whether this is user error or not.

[INFO]--[Source1::VTF:import_texture]: Loading "wings.vtf" texture
Traceback (most recent call last):
  File "/home/maylee/.config/blender/3.3/scripts/addons/SourceIO/blender_bindings/operators/source1_operators.py", line 211, in execute
    import_texture(file.name, (directory / file.name).open('rb'), True)
  File "/home/maylee/.config/blender/3.3/scripts/addons/SourceIO/blender_bindings/source1/vtf/__init__.py", line 18, in import_texture
    rgba_data, image_width, image_height = load_texture(file_object)
  File "/home/maylee/.config/blender/3.3/scripts/addons/SourceIO/library/source1/vtf/__init__.py", line 33, in load_texture
    vtf_lib = VTFLib.VTFLib()
  File "/home/maylee/.config/blender/3.3/scripts/addons/SourceIO/library/source1/vtf/VTFWrapper/VTFLib.py", line 79, in __init__
    self.vtflib_cdll = self.load_dll()
  File "/home/maylee/.config/blender/3.3/scripts/addons/SourceIO/library/source1/vtf/VTFWrapper/VTFLib.py", line 345, in load_dll
    return cdll.LoadLibrary(os.path.join(full_path, vtf_lib_name))
  File "/usr/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libtxc_dxtn.so: cannot open shared object file: No such file or directory

Many thanks for what you've done thus far though! 💯

from sourceio.

REDxEYE avatar REDxEYE commented on September 9, 2024

It's weird to see stack trace to system python instead of blender bundled

from sourceio.

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.