Fri, Jan 3, 8:19 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 03 1:41 pm)



Subject: P7 and Shaid Material Scripts


Philip9000 ( ) posted Fri, 29 December 2006 at 10:21 AM · edited Fri, 03 January 2025 at 8:17 PM

I have been trying out the Shaid material scripts. They seem to work okay for me in P6.  However, after loading to the P7, I get the following error message:

Traceback (most recent call last):
  File "D:Program Filese frontierPoser 7RuntimePythonPoserScriptsWacrosShaidShaidGroup1.py", line 3, in ?
    import shaidGrp
ImportError: Bad magic number in D:Program Filese frontierPoser 7RuntimePythonPoserScriptsWacrosShaidshaidGrp.pyc

I dont know enough about Python to figure this out on my own yet.  My Poser .exe's are loaded on D: drive.  With P6 under Program FilesCurious Labs and P7 under Program Filese Frontier... if it matters.  I did load the Shaid .py scripts separately into each respective Runtime.

Thoughts?
thanks


Philip9000 ( ) posted Fri, 29 December 2006 at 10:22 AM

By the way, I did check the scripts to see if there was a specific path or Poser version referenced.  To the best of my ability, I don't see that there are either. 


Victoria_Lee ( ) posted Fri, 29 December 2006 at 10:33 AM

The P7 python engine uses a different compiler, from what I understand, so compiled scripts need to be recompiled for P7.  Some of my scripts work fine in P7 and some don't.  PhilC (http://www.philc.net) can explain it better since he had to recompile the Wardrobe Wizard script for P7.

Hugz from Phoenix, USA

Victoria

Remember, sometimes the dragon wins. Correction: MOST times.


Lucifer_The_Dark ( ) posted Fri, 29 December 2006 at 10:35 AM · edited Fri, 29 December 2006 at 10:36 AM

I think you'll find the problem is Poser, or rather the version of Python that each different version uses, afaik Poser6 uses v2.2 & Poser7 uses v2.4, any scripts compiled with the older version have to be recompiled with the newer to work with it. A quick pm to the creator of the script will hopefully solve it if they've bought Poser7, if not you're stuck until they do.

Beaten again!!!!!!! :D :D

Windows 7 64Bit
Poser Pro 2010 SR1


Philip9000 ( ) posted Thu, 03 May 2007 at 8:28 PM

Thanks... I will see if I can learn something about recompiling scripts... anyone have any thoughts?  Can a user do this, or does the author need to do it?


LostinSpaceman ( ) posted Thu, 03 May 2007 at 9:43 PM

The author will have to do it unless he distributed the uncompiled code for that pyc file which I seriuosly doubt or it wouldn't have had to be compiled in the first place.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.