Rhino 8.7 yak cannot load DocoptNet

Hello,
after an update to candidate service release 7 yak cli has stopped working and displays the following error

Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'DocoptNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7a38c71da49a547e'. The system cannot find the file specified.
File name: 'DocoptNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7a38c71da49a547e'
   at Yak.Cli.Program.Main(String[] args)

it seems the docopt library is not packaged with the Rhino 8 installation

1 Like

Hey @Christos_Spathis,

Could you try a repair on Rhino 8 in System Settings > Apps > Installed Apps? This file should be included, but one of the service release candidates had packaged an incorrect version then later rolled back which can cause this problem.

Cheers,
Curtis.

5 Likes

This fixed it, thanks @curtisw

1 Like

Dear @curtisw,

I have update from the SR 8.6 to the SR 8.11.24254.15001, 2024-09-10 and now I have the same problem.

Best regards

Hi @GaeChrisRuvio,

Did you try a repair as suggested?

I have installed the last update 8.14, the problem has not recurred.

Thanks and best regards

I suspect, the problem recures in Rhino8 SR20: Within installation of a plugin (which was running in SR6 succesfully) via yak:
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly ā€˜DocoptNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7a38c71da49a547e’. Das System kann die angegebene Datei nicht finden.
File name: ā€˜DocoptNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=7a38c71da49a547e’
at Yak.Cli.Program.Main(String[] args)

Is there any solution for that problem?

I can’t seem to replicate this with Rhino 8.20. What command(s) are you executing? Also, could you try running a ā€œrepairā€ from the installer?

Cheers,
Curtis.

Thank you Curtis. After a repair of the installer the yak.exe works properly and the installation of the regarding plugins was successful. I have no idea what went wrong with the Rhino installation (upgrade from SR6 to SR20) yesterday.