Comments (9)
You are correct, LOCALAPPDATA is a windows environment variable.
I don't know much about Linux, but you try could installing wine (if you haven't already) and see if that works. Otherwise, I will try to add support for Linux environments in the future.
from mubinimporter.
I will try to add support for Linux environments in the future.
That would be great! Thank you
from mubinimporter.
but you try could installing wine (if you haven't already) and see if that works.
I'm not sure how i would install the blender addon through wine
from mubinimporter.
but you try could installing wine (if you haven't already) and see if that works.
I'm not sure how i would install the blender addon through wine
I don't know how wine works, but I would assume you would have to install Blender through wine and then install the addon in that Blender install.
from mubinimporter.
I launched blender through wine. after that i installed the add-on successfully, I clicked Install Dependencies and got this this error:
Python: Traceback (most recent call last):
File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 814, in move
os.rename(src, real_dst)
FileNotFoundError: [WinError 2] File not found: 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\export' -> 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\exported'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\interface.py", line 82, in execute
shutil.move(f'{Data.data_dir}\\export', f'{Data.data_dir}\\exported')
File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 834, in move
copy_function(src, real_dst)
File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 443, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 265, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\export'
location: <unknown location>:-1
from mubinimporter.
manually created the export folder. This seems to fix the Install Dependencies Error
from mubinimporter.
Tried importing a smubin file. Got the following error
File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\interface.py", line 31, in execute
import_mubin(Path(self.filepath), context, self.import_shader)
File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\importer.py", line 167, in import_mubin
for actor in data.content['Objs']:
SystemError: <built-in method __next__ of PyCapsule object at 0x0000000012096840> returned NULL without setting an error
location: <unknown location>:-1
from mubinimporter.
I launched blender through wine. after that i installed the add-on successfully, I clicked Install Dependencies and got this this error:
Python: Traceback (most recent call last): File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 814, in move os.rename(src, real_dst) FileNotFoundError: [WinError 2] File not found: 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\export' -> 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\exported' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\interface.py", line 82, in execute shutil.move(f'{Data.data_dir}\\export', f'{Data.data_dir}\\exported') File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 834, in move copy_function(src, real_dst) File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 443, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "Z:\home\user\Downloads\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 265, in copyfile with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\users\\user\\Downloads\\blender-3.0.1-windows-x64\\export' location: <unknown location>:-1
This is because the addon fails to run a Windows x64 executable that creates the export folder with required files. And therefore the folder does not exist in the expected location.
from mubinimporter.
Tried importing a smubin file. Got the following error
File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\interface.py", line 31, in execute import_mubin(Path(self.filepath), context, self.import_shader) File "C:\users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\mubin_importer\importer.py", line 167, in import_mubin for actor in data.content['Objs']: SystemError: <built-in method __next__ of PyCapsule object at 0x0000000012096840> returned NULL without setting an error location: <unknown location>:-1
No idea what that's about, sorry.
from mubinimporter.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mubinimporter.