View Full Version : Rhino 5 WIP 2010-07-21 - rhinoscript library missing
07-22-2010, 02:33 PM
I just updated to the newest version WIP 2010-07-21 and none of my scripts worked anymore. The reason seems to be that the rhinoscript library is missing in the installation. Fortunately a colleague of mine works with the mac version and I copied his library. Now everything is working fine again. So better make a copy of your rhinoscript library before you update.
07-22-2010, 03:26 PM
Is anyone else seeing this? This definitely should not be happening. The rhinoscript library is actually embedded in the python plug-in and unpacked when the plug-in is first run.
07-22-2010, 04:28 PM
running bootcamp and both Rhinoscript and Rhinoscriptsyntax are there;
07-22-2010, 04:39 PM
I'll add a way to reset these files if they somehow get messed up. For the time being, if you think the rhinoscript package is messed up or missing you should be able to delete the file
C:\Users\steve\AppData\Roaming\McNeel\Rhinoceros\5 .0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\version.txt
Where you would replace "steve" with your user name. An easy way to get to this directory would be to go to Tools->Options... in the python script editor and double click on the second path listed (it's the long one). version.txt should be in the parent directory. Once the file is deleted, restart Rhino
When the python plug-in first loads, it checks for the existence of version.txt and looks at the number in this file. If the file exists AND the number matches a version number built into the python plug-in, it doesn't do anything. On the other hand, if the file is missing or there is a version mismatch (which should happen with every new WIP) the plug-in unpacks all of the rhinoscript support files and writes them to disk.
07-23-2010, 05:13 AM
Here it is all ok
07-23-2010, 06:15 AM
I had the same problem as Marco
The above fix did.
07-23-2010, 03:09 PM
Was the entire ../settings/lib/rhinoscript directory gone on your computer?
07-26-2010, 07:53 AM
Yes, the whole directory ../settings/lib/rhinoscript was gone, but the files rhinoscriptsyntax.py and scriptcontext.py were still there.
07-26-2010, 05:46 PM
I changed the code around to hopefully fix this issue. I also added code to try provide debugging messages when errors occur while unpacking the files into the rhinoscript directory. Please let me know if you continue to experience this bug in the next WIP.
Powered by vBulletin™ Version 4.0.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.