2.57 RC1 - sys.path not Initializing Properly

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

supergra
Posts: 2
Joined: Thu Jun 17, 2010 2:12 am

2.57 RC1 - sys.path not Initializing Properly

Postby supergra » Sat Apr 02, 2011 2:53 am

Under User Preferences -> File -> Scripts Path, I set a path to my personal folder of Blender scripts and libraries which I want to be easily imported.

In 2.56, after startup, typing

Code: Select all

import sys
sys.path


returned a list of paths which included my scripts path, so that I could simply type

Code: Select all

import my_Library


In the 2.57 RC1 (R35899), this no longer happens. Meaning I have to explicitly type:

Code: Select all

import sys
sys.path.append('Path to my scripts folder')
import my_Library


Much more tedious. Is this intentional or a bug?

supergra
Posts: 2
Joined: Thu Jun 17, 2010 2:12 am

Postby supergra » Sat Apr 02, 2011 11:54 pm

By the way, I have verified this on four separate builds:

1) Ubuntu 10.10 64-bit
2) My own build on a Redhat 5.6 machine
3) Mac OSX Snow Leopard
4) Windows 7


Return to “Testing Builds”

Who is online

Users browsing this forum: No registered users and 0 guests