Hi guys,

I really apologize, but it seems I made a platform-specific example here by
accident. I just made a quick fix to adjust for supporting Windows:
https://gist.github.com/3949647

I am updating the cmiVFX project files archive within the hour.


On Wed, Oct 24, 2012 at 4:19 PM, CharlieWales <charliewa...@gmail.com>wrote:

> hi. That happened to me also. I think it is because we, on windows, don't
> have the shell command 'sleep' that the code is invoking. At least by
> default. I think it is a Unix-like shell command. Maybe through cygwin it
> can be accesible. I have not checked. Otherwise I'm wrong :)
> El 25/10/2012 00:42, "PixelMuncher" <pixeldr...@gmail.com> escribió:
>
> >
> > Hey Justin:
> > Thanks so much for creating this.  I'm finding it to be quite
> excellent.  Your teaching style is mellow and thorough.
> > I've run into a problem w/my Python Install (Win 7 x64/Maya 2013).  Not
> sure if this is the right place to post, but the forum @ cmi doesn't seem
> to be working at the moment.
> >
> > I'm at the part where 'blocking' is discussed.  When I open the window
> and click the 'Block' button, it doesn't block the input and I get the
> error pasted below.
> > Apparently python is looking in my Maya install rather than my python
> install when executing some or all of the python code. I have both
> C:\Program Files\Autodesk\Maya2013\bin & D:\MiscApps\Python26 in my path.
> > I've tried switching the order in the path, but that didn't work.  I've
> also checked that .py is associated with python.exe in my python install.
> > Any ideas?  Thanks again.
> >
> > File
> "D:\PFarm\_Software_stuff\Maya\Python\JIsrael_PyQt4_Maya_01\project_files\Chapter03\blocking.py",
> line 90, in blocking
> > process = subprocess.Popen(['sleep', '5'])
> > File "C:\Program
> Files\Autodesk\Maya2013\bin\python26.zip\subprocess.py", line 650, in
> __init__
> > return data
> > File "C:\Program
> Files\Autodesk\Maya2013\bin\python26.zip\subprocess.py", line 855, in
> _execute_child
> > if c2pwrite is not None:
> > WindowsError: [Error 2] The system cannot find the file specified
> >
> > --
> > view archives: http://groups.google.com/group/python_inside_maya
> > change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to