Some troubles running the scripts -python errors
Running Ubuntu 9.10 with blender 22.49a install from synaptic and primstar 0.9.25-git. Blender runs fine but primstar is giving errors:
mike@lanfear:~$ blender
Compiled with Python version 2.6.4.
Checking for installed Python... got it!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/mike/blender_scripts/primstar/import_sculptie.py", line 53, in <module>
from primstar import sculpty
File "/home/mike/blender_scripts/primstar/sculpty.py", line 37, in <module>
from primstar.uv_tools import add_map_uv, snap_to_pixels
File "/home/mike/blender_scripts/primstar/uv_tools.py", line 44, in <module>
from uvcalc_follow_active_coords import extend
ImportError: No module named uvcalc_follow_active_coords
Saved session recovery to /home/mike/.blender/quit.blendBlender quit
That eror happens if i click "import --> second life sculpt" or "Add-->mesh-->sculpt mesh".
I installed primstar to my user defines script directory and the .blender/scripts dir contains simlinks to /usr/share/blender/scripts.
I'm not sure why uvcalc_follow_activve_coords is not being found

ImportError: No module named uvcalc follow active coords
That module is one of the standard blender scripts. Can you see it in the scripts directory?
yeah it's in the blender dir
yeah it's in the blender dir in /usr/share/blender/scripts. I even copied it into the .blender/scripts dir just in case the symlinks were the trouble (don't know why they would be).
Paths problem
It has to be either a paths or permissions issue. If you do Help - System - System Information Blender will generate a text file with the paths at the top. That'll help determine whether it's paths or not. If the path is there, check the permissions on the script.
Does the script work from the uv unwrap menu? It should be there as "Follow Active (Quads)"
yeah...i don't get it. The
yeah...i don't get it. The script is there, the paths are there, it has the same perms as all the other scripts and it works fine from the unwrap menu.
Script subdirectories
As Manny mentions, the full path to the script should be /home/mike/.blender/scripts/uvcalc_follow_active_coords.py with /home/mike/.blender/scripts showing as one of the paths and the "default dir for scripts" in the system_info.txt
It would still show up in the menus if it's in a subdirectory of that, but any scripts that import it will fail. Moving the scripts (and any other subdirectories) to the proper place would fix it in that case.
it happened to me like a week
it happened to me like a week ago all seemed to be normal but I found the scripts were acutally at: /home/manny/.blender/scripts/blender <--- the scripts shouldn't be there. Blender was working just fine, tho, as you mention it.
However it wasn't working with Primstar, so what I did was move the default scripts to the /scripts subdir where I placed the Primstar folder as well, finally deleted that "blender" subdir which was inside my scripts directory holding the default scripts.
So instead /home/manny/.blender/scripts/blender it went back to /home/manny/.blender/scripts/
May be the same issue or not, but that happened to me.
Before the last up-date Primstar was working just fine, I had my Primstar folder inside the scripts dir but my default scripts where placed inside the blender folder I mentioned earlier so obviously now all have to be in the same place.
Yep, that was it - thanks.
Yep, that was it - thanks. Thats the one thing i didn't try of course :/
I have also this issue but my
I have also this issue but my paths are ok..
the script is here:
/home/butti/.blender/scripts/uvcalc_follow_active_coords.py
and the default blender script path also there. What else kann I do?
Post new comment