[SM-Grimoire-Bugs] [Bug 13864] New: Blender scripts and modules are not installed

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed Jul 4 05:43:38 EDT 2007


http://bugs.sourcemage.org/show_bug.cgi?id=13864

           Summary: Blender scripts and modules are not installed
           Product: Codex
           Version: test grimoire
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: graphics
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: m.spitzbarth at gmx.de


Blender comes along with a set of python scripts that extend its functionality,
e.g. import/export to other file formats, ..., but they don't get installed with
a cast.


You can see a demonstration of the bug with the following procedure:

cast blender.
start blender and go to the scripts window
    (to go to the scripts window, locate the display of the coordinate axes
     at the bottom left of the 3d view. Click on the button with a mesh
     depicted on it to change its window type to "Scripts Window")
Browse though the Scripts menu entries. They are empty (this is the bug).

To solve this, cast blender halfway again with delve -c start BUILD blender
Now there is a directory /usr/src/blender-2.44/install containing the following
files:

./blender
./blenderplayer
./.blender (directory containing python scripts and locale translations)
./plugins (directory containing source code for texture and sequencing plugins)
./GPL-license.txt
./blender.html
./release_244.txt
./copyright.txt
./BlenderQuickStart.pdf
./Python-license.txt

copy the .blender directory into your home directory and take another look at
the scripts menu. It is now filled with entries.

It is not acceptable for a distribution to mess in users home directories, so I
did a strace of blender to reveal the following search paths for the script
directory, all of which i think are not acceptable for installation:

$HOME/.blender
/usr/bin/.blender
/usr/bin/release/scripts

I have been unable to find the relevant portion of code to patch as I'm neither
a good programmer nor very familiar with python and scons.

I suggest we choose an appropiate place
(/usr/share/blender/{scripts,locale,modules} ?) and hack the search path of
blender to use $HOME/.blender and our path.

The modules don't compile for out of the box, but I am confident that some magic
with include search paths will help.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list