System.Exception: Method Pin on type MS.Internal.NamedObject does not have a valid method signature
See original GitHub issueWhat You Are Seeing?
I can see the above error when trying to open the details of some packages with a mouse right-click. Oddly, the error does not happen when opening the details with a double click. More oddly, I can observe it only with some particular packages. So far I have experienced this behavior with: openorienteering-mapper
, qgis
, putty
.
After clicking “OK”, Chocolatey GUI crashes for good and must be started over.
There is a side-issue, which might or might not be related: After starting the Chocolatey GUI again, the invalid package (the one on its details the Chocolatey GUI crashed) cannot be found with the search-box in the remote packages view.
What is Expected?
Details page opens and no error happens.
How Did You Get This To Happen? (Steps to Reproduce)
- I opened Chocolatey GUI and then “chocolatey” (list of remote packages)
- I searched for “QGIS”
- I right-clicked the “QGIS” package and selected “Details”
- The “System.Exception” happened
System Details
- OS Build (In PowerShell run
[System.Environment]::OSVersion.version.tostring()
): 10.0.19043.0 - Windows PowerShell version (Run:
$PSVersionTable
): 5.1.19041.1320 - Chocolatey version (Run
choco --version
): 0.12.1
Output Log
not relevant I think, see the screenshot on the top
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Unable to cast object of type 'MS.Internal.NamedObject' to ...
I am a little new to WPF so this may sound as a dumb question but why is AncestorType=DataGrid when TickImage is defined...
Read more >InvalidCastException: Unable to cast object of type 'MS. ...
InvalidCastException : Unable to cast object of type 'MS.Internal.NamedObject' to type 'CellSmartPOS.SelectedGroupRows'.
Read more >Re: Error Message on indexer console
So I created a new receiver on port 23 and now I can see that the servers are connected on the netstat output....
Read more >Method's type signature is not Interop compatible. | Blue ...
The problem I faced with the Error: "Method's type signature is not Interop compatible", was that I was trying to write a TimeSpan...
Read more >Move, simply - Herb Sutter
If any non- const function on an object (including moving from it) makes the object invalid, the function has a bug. Don't some...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m getting the same error.
Steps to reproduce
Opened Chocolatey GUI, waited a few seconds
System Details
Issue still present but triggers when getting details on some remote packages.
Chocolatey gui v2.1.0.0