Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75783 - Blender gets wrong scriptdir
Summary: Blender gets wrong scriptdir
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
Depends on:
Reported: 2004-12-27 05:26 UTC by Stefan de Konink
Modified: 2006-07-17 02:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2004-12-27 05:26:03 UTC
After emerging blender the scripts are stored in /usr/lib/blender/scripts, blender doesn't know this and tries to search in /usr/bin/.blender/scripts and ~/.blender/scripts.

Reproducible: Always
Steps to Reproduce:
1. emerge blender
2. update menu's in script panel
Actual Results:  
Directory not found

Expected Results:  
Creates new menu entries
Comment 1 Luca Barbato gentoo-dev 2004-12-28 09:04:50 UTC
I'll change the way blender looks for the script soon, the location I pick is the one I thought was most suitable for that purpose, the default blender uses aren't
Comment 2 Stefan de Konink 2004-12-28 14:23:37 UTC
It is ofcourse simply solved by making a symlink in the users homedir, but can't the blender default .blender not be changed to /usr/lib/blender solves most initial problems?

(Or is that what you are going to do?)
Comment 3 Luca Barbato gentoo-dev 2004-12-29 06:02:33 UTC
that's what I'm going to do ^^
Comment 4 Reuben Martin 2005-06-18 08:18:13 UTC
There's a simple way around this. If you set all the paths correctly in Blender
and then save the file as ~/.B.blend then Blender will always load that file as
soon as it starts up. (The locations you set for scripts, textures, etc, etc are
all stored within the file)
Comment 5 Luca Barbato gentoo-dev 2005-06-18 09:15:30 UTC
The problem is that the default is plainly WRONG for any sane os.

I fixed the issue o the .36 the .37 has changed the dir handling (again) and I'm
not so sure I fixed everything.
Comment 6 Andreas Volz 2005-09-02 15:56:24 UTC
Please do something to change this problem. I really need 2.37a. Is there a
simple workaround like doing symlinks in the filesystem? Perhaps you could
describe what to change in Blender source. Perhaps I do it on my own and create
a patch. But please do something. Blender > 2.37 is nearly unusable without!
Comment 7 Andreas Volz 2005-09-02 16:05:42 UTC
Ok, this does the workaround:

> ln -s /usr/lib/blender /usr/bin/.blender

I'm not happy with this "solution", but I could work with Blender-2.37a. I think
this should be really easy to fix in Blender sourcecode.

.. If I read better before writing the comment above I had seen the symlink
comment from  Stefan de Konink... Sorry!
Comment 8 Luca Barbato gentoo-dev 2005-09-15 23:17:52 UTC
Isn't really that trivial...
and currently I don't have the time to track the changes here and there, if you
want some improvement please fill a bug in the upstream bts.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 02:57:14 UTC
Pretty stale bug, reopen if it's still a problem w/ up-to-date versions (and, tell upstream in that case). AFAICS, it's "fixed" by blender-2.37-dirs.patch.