Have you tried using blackslash instead of forwardslash? I know that in
python you can always use a forward slash even for windows, but the
Maya.env isnt python. The docs suggest for windows to use backslash for
paths in Maya.env:
http://download.autodesk.com/global/docs/maya2013/en_us/index.html?url=files/Environment_Variables_Setting_environment_variables_using_Maya.env.htm,topicNumber=d30e136681



On Friday, January 4, 2013, Jesse Kretschmer wrote:

> Can you provide your maya.env file?
> Can you also perform a directory listing of full plugin path on the D:
> drive?
>
> I can assure you that maya has no issue with multiple drive letters in the
> MAYA_PLUGIN_PATH.
>
> Try running this to verify your paths:
> import os
> import glob
> for p in os.environ['MAYA_PLUGIN_PATH'].split(";"):
>     files = glob.glob(os.path.join(p,"*.mll"))
>     exists = os.path.exists(p)
>     print "Path: %s\nExists: %s\nFiles: %d\n%s" % (p, exists, len(files),
> "-"*80)
>
>
>
>
>
> On Fri, Jan 4, 2013 at 10:36 AM, Mitch Rosefelt 
> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> > wrote:
>
>> Maya is not adding plugins from a path that I've added to my Maya.env.
>> I'm following Justin's Python Vol2 Tut (excellent, BTW), and we can see
>> that the dir is being read when Maya loads:
>> import os, sys
>> os.getenv('MAYA_PLUGIN_PATH')
>> // Result:
>> D:/PFarm/_Software_stuff/Maya/Python/Justin_Python4MayaVol2/Project_Files/Code/Plugins;C:/Users/Mitch/Documents/maya/plug-ins;
>> //
>> When I display the Plug-in Manager, the 2nd path shows up, but not the
>> first (I've tried re-ordering them).
>> Plugins that reside in the 2nd path work.
>> My guess is that Maya doesn't like the path being on a separate drive,
>> but perhaps there is something else?
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To post to this group, send email to 
>> [email protected]<javascript:_e({}, 'cvml', 
>> '[email protected]');>
>> .
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:_e({},
>> 'cvml', 'python_inside_maya%[email protected]');>.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({},
> 'cvml', 'python_inside_maya%[email protected]');>.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to