+ Reply to Thread
Results 1 to 5 of 5

Thread: No module named string ?!

  1. #1

    No module named string ?!

    Hi,

    since my last update of Rhino 5 (Version 5.0 (5.1.20801.1108, 01.08.2012))
    Python Script doesn't work anymore.

    Here's the errormessage:
    Code:
    Message: No module named string
    
    Traceback:
      line 7, in <module>, "C:\Users\Martin\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"
      line 8, in <module>, "C:\Users\Martin\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\application.py"
      line 8, in <module>, "C:\Users\Martin\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\__init__.py"
      line 2, in <module>, "C:\Users\Martin\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscriptsyntax.py"
    How can it be that the string module is suddenly missing?

    Thanks
    - Martin
    Last edited by Martin; 08-03-2012 at 02:32 PM.

  2. #2
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,464
    Blog Entries
    19
    Hi Martin,
    Check your path. If you have customized it there may be a bad path pointing to a directory where Rhino 5 used to be installed (WIP).
    -Steve

  3. #3
    Hi Steve,

    yes. for some reason that didn't update with the Beta install. I hit the "restore defaults" - and it worked.
    I had an additional path in that list. Maybe that was the reason.

    Thanks.
    Martin

  4. #4
    Same here thanks for the info!
    Already thought it was a faulty V5 update. Uninstalled, reinstalled updated manually - same error.

    Resetting the defaults fixed it.

    Maybe a more specific error message with a suggestion to reset the scipt options would be helpful.

    Thanks Conrad

  5. #5
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,464
    Blog Entries
    19
    Yep, this is a bug that I need to fix.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts