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.

Can't Create a Custom Kernel Extension

See original GitHub issue

The package and version I’m asking about: 1.0.251301+06badd73c27d2c2065cf835ab7bd65bccd2339ee

Question

I’m trying to create a custom extension, using the ClockExtension example as a guide. You can find my code here - specifically, it’s the Collatz.Interactive project. I created a notebook to test it out - DemoExtension.ipynb. When I run it…it finds the local NuGet package, but running the help command (-h) doesn’t produce anything, and when I try to run it, I get this error:

Error: Required command was not provided.
Unrecognized command or argument '#!collatz'
Unrecognized command or argument '-s'
Unrecognized command or argument '444'

I’m not sure what I’m doing wrong. Any insight is appreciated - TIA.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JasonBockcommented, Nov 16, 2021

Finally! Success 😃 image @jonsequitur thanks for the help.

1reaction
jonsequiturcommented, Nov 16, 2021

This error is because the parameter binding in System.CommandLine is making a best attempt at satisfying the BigInteger constructor but can’t instantiate the ReadOnlySpan<byte>. You can probably solve this by providing a ParseArgument<T> delegate to your Option<BigInteger>.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing a Custom Kernel Extension
The most common way to install kexts is with a custom installer package. (Unlike apps and system extensions, you cannot distribute kexts through...
Read more >
macOS: Unable to resolve symbols for custom kernel ...
I am trying to build a custom kernel extension for macOS catalina 10.15.7 and XCode 12.4 to access a third-party USB-Wifi dongle (Alfa...
Read more >
Developing Kernel Extensions (Kexts) for macOS
Explore the basics of developing, testing, and signing macOS kernel extensions (kexts). Learn more about sophisticated driver development ...
Read more >
Can I make my own kernel extensions on El Capitan?
But to literally answer your question, yes; when you build a kext you have to specify how "critical" your kext is, and only...
Read more >
Add macOS system and kernel extensions in Intune
On macOS devices, you can add kernel extensions and system extensions. ... Intune uses "configuration profiles" to create and customize ...
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