question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System.Exception: Method Pin on type MS.Internal.NamedObject does not have a valid method signature

See original GitHub issue

What You Are Seeing?

obrazek

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)

  1. I opened Chocolatey GUI and then “chocolatey” (list of remote packages)
  2. I searched for “QGIS”
  3. I right-clicked the “QGIS” package and selected “Details”
  4. 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:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

2reactions
CicadaCinemacommented, Apr 12, 2022
Untitled

I’m getting the same error.

Steps to reproduce

Opened Chocolatey GUI, waited a few seconds

System Details

  • OS Build: 10.0.19044.0
  • Windows PowerShell version: 5.1.19041.1620
  • Chocolatey version: 1.1.0
0reactions
Ethanadams642commented, Jul 23, 2023

Issue still present but triggers when getting details on some remote packages.

Chocolatey gui v2.1.0.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found