tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
114 stars 20 forks source link

Xubuntu 18.04LTS #13

Open mhdbabiker opened 4 years ago

mhdbabiker commented 4 years ago

I found the following error during adding VTK to blender

Traceback (most recent call last): File "/home/mohammed/Post-Processing/Blender/blender-2.83.0-linux64/2.83/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/home/mohammed/.config/blender/2.83/scripts/addons/BVtkNodes-master/init.py", line 114, in from . import core File "/home/mohammed/.config/blender/2.83/scripts/addons/BVtkNodes-master/core.py", line 26, in from .update import * File "/home/mohammed/.config/blender/2.83/scripts/addons/BVtkNodes-master/update.py", line 193, in open(logfile, 'w').write('') PermissionError: [Errno 13] Permission denied: '/home/mohammed/.config/blender/2.83/scripts/addons/BVtkNodes-master/vtklog.txt'

tkeskita commented 4 years ago

Looks like you don't have write permission to add-on folder, where add-on is trying to create vtklog.txt. Are you running Blender as normal user?

mhdbabiker commented 4 years ago

Yes, I am. i have the folder blender-2.83-linux64 and i open the terminal inside the folder and run it using ./blender . the thing that worth mentioning when I check for the vtk version using python version i get the following '8.1.2' but I can not find VTKtreee

tkeskita commented 4 years ago

Maybe this is ownership or writability issue. Please check file ownership and make writable file ~/.config/blender/2.83/scripts/addons/BVtkNodes-master/vtklog.txt and BVtkNodes-master directory. If they have correct rights, you can edit and save vtklog.txt at that directory in a text editor. Does that work?