Closed Jonah-multi closed 2 months ago
I don't know how to label this properly, terribly sorry. It's an importer issue on the 7.0.0 branch.
looks like your file permissions in windows are messed up. try to see if both C:\Program Files\Blender Foundation\Blender 4.2\4.2 and the Dependency Blender version folder have the correct permission https://www.thewindowsclub.com/change-files-and-folders-permissions-in-windows-10
Uncertain if it's a PICNIC(Problem In Chair, Not In Computer), but it's not done anything at all.
does this happen to just this card?
No.
I'm going to try reinstalling blender.
Alright, reinstalled Blender 4.2, reinstalled all the assets manually, nothing. Didn't get past the WinError 5.
Traceback (most recent call last):
File "C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\importbuttons.py", line 91, in execute
self.convert_and_import_textures()
File "C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\kkbp\importing\importbuttons.py", line 141, in convert_and_import_textures
process = Popen([bpy.context.scene.kkbp.blender_path, blender_file, "-P", secondscriptname, os.path.dirname(__file__), bpy.context.scene.kkbp.import_dir], stdout=PIPE, universal_newlines=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied
I believe the "violation" might have something to do with this...
oh yep I had issues with rpack_core before where other versions of the 7.0.0 addon wouldn't even install/enable at all, something is strange about it
are you downloading it from releases or directly from the branch on github?
From Releases, I'll go through Branches now. How on earth do I access the branch version?
Alright, I downloaded the Branch Code and chucked it into the "scripts" %appdata%\Blender Foundation\Blender\4.2\scripts\addons
and I still got WinError 5, but it did remove the Warning... Actually, this new error is slightly different, same outcome... But different Traceback. Uploading the full Log next.
Reloading external rigs...
Reloading external metarigs...
Loading translations
Selected language: en_US
Available languages: ['auto', 'en_US', 'ja_JP', 'ko_KR']
Loading translation file: C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\cats_blender_plugin\resources\translations\en_US.json
Loaded 763 translations
Warning: Unknown phrase: FixFBTButton.label
Warning: Unknown phrase: FixFBTButton.desc
Warning: Unknown phrase: RemoveFBTButton.label
Warning: Unknown phrase: RemoveFBTButton.desc
Warning: Unknown phrase: Importer.export_resonite.label
Warning: Unknown phrase: Importer.export_resonite.desc
Warning: add-on missing manifest, this can cause poor performance!: 'C:\\Users\\capta\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\user_default\\kkbp\\blender_manifest.toml'
Warning: Unknown phrase: FixArmature.description
### Loading CATS...
register_class(...):
Info: Registering uilist class: 'MMD_ROOT_UL_display_items', bl_idname 'MMD_ROOT_UL_display_items' has been registered before, unregistering previous
register_class(...):
Info: Registering uilist class: 'MMD_ROOT_UL_display_item_frames', bl_idname 'MMD_ROOT_UL_display_item_frames' has been registered before, unregistering previous
### Loaded CATS successfully!
update_settings_core function called
Settings are locked, returning
update_ui function called
update_settings_core function called
Settings are locked, returning
Settings not updated, scripts not reloaded
Settings applied successfully
console toggled
Opening older version of Blender to convert model textures...
Traceback (most recent call last):
File "C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KK-Blender-Porter-Pack-blender_4_2_support\importing\importbuttons.py", line 91, in execute
self.convert_and_import_textures()
File "C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KK-Blender-Porter-Pack-blender_4_2_support\importing\importbuttons.py", line 141, in convert_and_import_textures
process = Popen([bpy.context.scene.kkbp.blender_path, blender_file, "-P", secondscriptname, os.path.dirname(__file__), bpy.context.scene.kkbp.import_dir], stdout=PIPE, universal_newlines=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied
We got a new error! I was trying to "uninstall" through the Plugin Manager, and it hit me with the same error, but it gave me a file that failed!
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\shutil.py", line 622, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\shutil.py", line 620, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\capta\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\scripts\\addons\\KK-Blender-Porter-Pack-blender_4_2_support\\exporting\\rpack\\_core.cp311-win_amd64.pyd'
My next solution is going to be installing a fresh copy of 3.6.9 through KKBP, wish me luck.
:)
Traceback (most recent call last):
File "C:\Users\capta\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\KK-Blender-Porter-Pack-blender_4_2_support\importing\installdependency.py", line 40, in execute
z.extractall(os.path.join(os.path.dirname(__file__), 'dependencies'))
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\zipfile.py", line 1681, in extractall
self._extract_member(zipinfo, path, pwd)
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\zipfile.py", line 1735, in _extract_member
open(targetpath, "wb") as target:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\capta\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\scripts\\addons\\KK-Blender-Porter-Pack-blender_4_2_support\\importing\\dependencies\\blender-3.6.9-windows-x64\\3.6\\python\\lib\\site-packages\\charset_normalizer-2.0.10-py3.10.egg-info\\dependency_links.txt'
Error: Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\zipfile.py", line 1735, in _extract_member
open(targetpath, "wb") as target:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\capta\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\scripts\\addons\\KK-Blender-Porter-Pack-blender_4_2_support\\importing\\dependencies\\blender-3.6.9-windows-x64\\3.6\\python\\lib\\site-packages\\charset_normalizer-2.0.10-py3.10.egg-info\\dependency_links.txt'
THIS MOTHERFUC- In the "Blender 2.80 / 3.6 exe path", I thought it meant the folder itself, NOT THE ACTUAL EXE FILE. This might work, if it checks/amends it to be a .exe, say you leave it empty and then add "blender.exe" afterwards in the programming. It explains so much, the program was attempting to start a process out of a folder, how do you make a folder into a process? YOU DON'T. My solution is either amending the blender_path to have the .exe included if you put in a folder, throwing a complaint that no .exe file was included or adding a default argument for users to reference.
bruuuuuh I was wondering what was going on. I have put in a fix to accept the direct path to the .exe or the folder, and also rephrased the text string
Card is too large for Github, is a personal card with 7 outfits, but it doesn't even make it to that point. I plan on trying a few other solutions after work, such as changing Dependency to 2.83 and see if that works. I tried running 4.2 in Administrator, but that did nothing. Full log unedited is below,