RE: Advice For Tracking Down Why A Python Plugin Is Not Loading?
Got it working! Thanks everyone! -Original Message- From: Eric Thivierge [mailto:ethivie...@hybride.com] Sent: Monday, January 13, 2014 3:52 PM To: softimage@listproc.autodesk.com Cc: Avinash Sunnasy Subject: Re: Advice For Tracking Down Why A Python Plugin Is Not Loading? Make sure you install PyWin32 for Python 2.6 as well otherwise Python won't register within Softimage. If you have, try running the runonce.bat as that sometimes fixes it too. Eric T. On Monday, January 13, 2014 6:50:15 PM, Avinash Sunnasy wrote: > OK, so I think I’ve found the issue. > > The user is unable to select “python” from the script editor preferences. > > The user has python2.6 installed and the path has “C:\python26” > > I tried to follow the guide on the softimage wiki. However I, nor the > user, has: > > C:\Python2x\Lib\site-packages\win32comext\axscript\client\pyscript.py > > Thanks, > > *From:*softimage-boun...@listproc.autodesk.com > [mailto:softimage-boun...@listproc.autodesk.com] *On Behalf Of > *Stephen Blair > *Sent:* Monday, January 13, 2014 1:12 PM > *To:* softimage@listproc.autodesk.com > *Subject:* Re: Advice For Tracking Down Why A Python Plugin Is Not > Loading? > > If the plugin doesn't load, RegisterCommand is never going to be called. > > Is there anything logged in the script history? Usually there's some > kind of error. > > On Mon, Jan 13, 2014 at 3:37 PM, Jon Swindells > mailto:jon_swinde...@fastmail.fm>> wrote: > > pip freeze ? > > -- > > Jon Swindells > > jon_swinde...@fastmail.fm <mailto:jon_swinde...@fastmail.fm> > > On Mon, Jan 13, 2014, at 10:33 PM, Alan Fregtman wrote: > > Any failed imports? You can start there. > > On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy > mailto:sa.69...@konami.com>> wrote: > > Hello all, > > I’ve developed a python plugin that will successfully load for > all members of the team except one. > > How can I track down why the plugin doesn’t load? > > Unfortunately a try/catch around in_reg.RegisterCommand hasn’t > given me any output. > > Any ideas? > > My hunch is that the user doesn’t have something installed > that others do, but I’m not sure what that is. > > Thanks, > > Avinash. >
Re: Advice For Tracking Down Why A Python Plugin Is Not Loading?
Make sure you install PyWin32 for Python 2.6 as well otherwise Python won't register within Softimage. If you have, try running the runonce.bat as that sometimes fixes it too. Eric T. On Monday, January 13, 2014 6:50:15 PM, Avinash Sunnasy wrote: OK, so I think I’ve found the issue. The user is unable to select “python” from the script editor preferences. The user has python2.6 installed and the path has “C:\python26” I tried to follow the guide on the softimage wiki. However I, nor the user, has: C:\Python2x\Lib\site-packages\win32comext\axscript\client\pyscript.py Thanks, *From:*softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] *On Behalf Of *Stephen Blair *Sent:* Monday, January 13, 2014 1:12 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: Advice For Tracking Down Why A Python Plugin Is Not Loading? If the plugin doesn't load, RegisterCommand is never going to be called. Is there anything logged in the script history? Usually there's some kind of error. On Mon, Jan 13, 2014 at 3:37 PM, Jon Swindells mailto:jon_swinde...@fastmail.fm>> wrote: pip freeze ? -- Jon Swindells jon_swinde...@fastmail.fm <mailto:jon_swinde...@fastmail.fm> On Mon, Jan 13, 2014, at 10:33 PM, Alan Fregtman wrote: Any failed imports? You can start there. On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy mailto:sa.69...@konami.com>> wrote: Hello all, I’ve developed a python plugin that will successfully load for all members of the team except one. How can I track down why the plugin doesn’t load? Unfortunately a try/catch around in_reg.RegisterCommand hasn’t given me any output. Any ideas? My hunch is that the user doesn’t have something installed that others do, but I’m not sure what that is. Thanks, Avinash.
RE: Advice For Tracking Down Why A Python Plugin Is Not Loading?
OK, so I think I've found the issue. The user is unable to select "python" from the script editor preferences. The user has python2.6 installed and the path has "C:\python26" I tried to follow the guide on the softimage wiki. However I, nor the user, has: C:\Python2x\Lib\site-packages\win32comext\axscript\client\pyscript.py Thanks, From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Stephen Blair Sent: Monday, January 13, 2014 1:12 PM To: softimage@listproc.autodesk.com Subject: Re: Advice For Tracking Down Why A Python Plugin Is Not Loading? If the plugin doesn't load, RegisterCommand is never going to be called. Is there anything logged in the script history? Usually there's some kind of error. On Mon, Jan 13, 2014 at 3:37 PM, Jon Swindells wrote: pip freeze ? -- Jon Swindells jon_swinde...@fastmail.fm On Mon, Jan 13, 2014, at 10:33 PM, Alan Fregtman wrote: Any failed imports? You can start there. On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy wrote: Hello all, I've developed a python plugin that will successfully load for all members of the team except one. How can I track down why the plugin doesn't load? Unfortunately a try/catch around in_reg.RegisterCommand hasn't given me any output. Any ideas? My hunch is that the user doesn't have something installed that others do, but I'm not sure what that is. Thanks, Avinash.
Re: Advice For Tracking Down Why A Python Plugin Is Not Loading?
If the plugin doesn't load, RegisterCommand is never going to be called. Is there anything logged in the script history? Usually there's some kind of error. On Mon, Jan 13, 2014 at 3:37 PM, Jon Swindells wrote: > pip freeze ? > > -- > Jon Swindells > jon_swinde...@fastmail.fm > > > > On Mon, Jan 13, 2014, at 10:33 PM, Alan Fregtman wrote: > > Any failed imports? You can start there. > > > > On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy wrote: > > > Hello all, > > > > I’ve developed a python plugin that will successfully load for all members > of the team except one. > > > > How can I track down why the plugin doesn’t load? > > > > Unfortunately a try/catch around in_reg.RegisterCommand hasn’t given me > any output. > > > > Any ideas? > > > > My hunch is that the user doesn’t have something installed that others do, > but I’m not sure what that is. > > > > Thanks, > > > > Avinash. > > > >
Re: Advice For Tracking Down Why A Python Plugin Is Not Loading?
pip freeze ? -- Jon Swindells jon_swinde...@fastmail.fm On Mon, Jan 13, 2014, at 10:33 PM, Alan Fregtman wrote: Any failed imports? You can start there. On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy <[1]sa.69...@konami.com> wrote: Hello all, I’ve developed a python plugin that will successfully load for all members of the team except one. How can I track down why the plugin doesn’t load? Unfortunately a try/catch around in_reg.RegisterCommand hasn’t given me any output. Any ideas? My hunch is that the user doesn’t have something installed that others do, but I’m not sure what that is. Thanks, Avinash. References 1. mailto:sa.69...@konami.com
Re: Advice For Tracking Down Why A Python Plugin Is Not Loading?
Any failed imports? You can start there. On Mon, Jan 13, 2014 at 2:55 PM, Avinash Sunnasy wrote: > Hello all, > > > > I’ve developed a python plugin that will successfully load for all members > of the team except one. > > > > How can I track down why the plugin doesn’t load? > > > > Unfortunately a try/catch around in_reg.RegisterCommand hasn’t given me > any output. > > > > Any ideas? > > > > My hunch is that the user doesn’t have something installed that others do, > but I’m not sure what that is. > > > > Thanks, > > > > Avinash. >