Can't add Sculpt Mesh: No module uvcalc_follow_active_coords
Hello, I wanted to thank you for writting an excellent script but apparently it no longer works for me in Ubuntu 10.04
File "", line 1, in
File "/home/skynet/.blender/scripts/primstar/add_mesh_sculpt_mesh.py", line 48, in
from primstar import sculpty
File "/home/skynet/.blender/scripts/primstar/sculpty.py", line 36, in
from primstar.uv_tools import add_map_uv, snap_to_pixels
File "/home/skynet/.blender/scripts/primstar/uv_tools.py", line 44, in
from uvcalc_follow_active_coords import extend
ImportError: No module named uvcalc_follow_active_coords
As you can see the primstar 1.0 script is installed correctly. I'm using blender 2.49.2 Compiled with Python version 2.6.5. I've even installed the extra Python tkInter package.
Any help would be appreciated. I'd like to do my exporting from linux rather than windows. Thanks for your time.

hey Blaze
Last time I checked Primstar was working just fine on my Ubuntu 10.04, check this link.
thank you for your reply
thank you for your reply manny,
I followed the instructions you kindly gave in the link provided to no effect.
I noticed that despite changing the owner of the linked folders in the home/user/.blender/scripts directory as well as all files within those folder, nothing changed. So I went a step further changed the owner of the /usr/share/blender directory as well also no luck. Same error as above.
I'm not sure what I'm missing as I had no problem getting this to work in winXP. I suspect it could be a permission based problem but all installed blender files are owned by the default created user.
Jass does a great job of pre-installing everything for me only downside is I have to use it in wine. Still works great and I appreciate all the hard work thats been put into primstar to make this possible.
hey Blaze again
Ok, took the time to screw-up my Blender's configuration to reproduce your same console error:
manny@pc:~$ blender Compiled with Python version 2.6.5. Checking for installed Python... got it! Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/manny/.blender/scripts/primstar/add_mesh_sculpt_mesh.py", line 48, in <module> from primstar import sculpty File "/home/manny/.blender/scripts/primstar/sculpty.py", line 36, in <module> from primstar.uv_tools import add_map_uv, snap_to_pixels File "/home/manny/.blender/scripts/primstar/uv_tools.py", line 44, in <module> from uvcalc_follow_active_coords import extend ImportError: No module named uvcalc_follow_active_coordsWhat happened... What I have done!?
1) Made a back-up of my .B.blend and then I deleted the original one. (the .B.blend is located at /home [hidden: Cntrl+H to unhide files])
2) Moved 'primstar' folder from ".../scripts/blender/primstar" to ".../scripts/primstar" (like your error shows).
Obviously mine isn't working right now as you can see... How do I fix it?
1) Would be useful if you, as well, delete your .B.blend (IMPORTAT: you're gonna lose your previous Blender configuration.)
2) I changed the owner of my "scripts" subdirs for my first installation, as mentioned in that old comment you read, so I don't need to work that out again. You shouldn't need it if ya did it correctly.
3) Currently my 'primstar' folder is located at: /home/manny/.blender/scripts/primstar I will fix that moving it to: /home/manny/.blender/scripts/blender/primstar. Done!
4) Run Blender, check if the "Add > Mesh > Sculpt Mesh" is there, good it's there, let's try to add a Sculpt Mesh, BIGFAIL, it's not working... w00t!? Let's calm down...
5) Right there let's drag down the User Preferences window, move my mouse's pointer over "File Paths" and click the button, next takes place to define the scripts default directory, so I do it, pointing it to: /home/manny/.blender/scripts/blender/ finally press the "re-evaluate scripts" button. check this new image
6) Drag back/(up) the User Preferences window; Erase the Cube in the 3D View and hit: Cntrl+U to save preferences. (a new .B.blend will be created at your /home)
7) Quit Blender.
8) Run Blender. Let's see if it worked... Sweet...
Worked! Should work for you.
You're awesome.
Works! Thanks Manny!
Wow. Something so simple I think I must have missed that re-evaluate scripts button or I simply had the primstar folder located in the wrong directory.
Thank you for your time manny. Once again the script is a huge help and now I no longer need to run Jass in wine. I owe you many thanks.
Post new comment