Rhino 8 WIP 8.0.23220 (Windows) (and possibly also earlier versions), attempting to use the rhinoscriptsyntax autocomplete in a python 3 script by writing
rs. does not work for me.
The Logs show the following:
[RhinoCode] Error parsing python autocompletes | Expected end of string, but instead reached end of data. Path: $.docstring | LineNumber: 0 | BytePositionInLine: 786432.
A similar thing happens if I’m trying to use the
rs. autocomplete in an ironpython 2 script:
[RhinoCode] Error calling autocomplete on language support | Microsoft.Scripting.SyntaxErrorException: EOF while scanning triple-quoted string
followed by a really long stack trace.
Looks like some issue with triple quoted strings / python docstrings? Autocompletion for RhinoCommon (
Rhino.) works just fine.
I’ve tested it on two different machines, the second one never had any WIP version installed.
Also tried a reset by removing the
.rhinocode folder from the user folder.
Are the autocompletes included in the installation or are they downloaded on first use? I’m asking because I had issues in the past during the editor’s initial python runtime and package deployment caused by a really strict firewall. So maybe that’s the case here as well…