<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116165/kconfig-failed-errno-22-invalid-argument</link><description>Kconfig failed: [Errno 22] Invalid argument: &amp;#39;c:/users/user/zephyr/kconfig&amp;quot;&amp;#39; is an error that appeared this morning. What is supposed to be in the Kconfig file. I have been trying to solve this most of the day. Prj.conf is the file the error originates</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2024 01:28:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116165/kconfig-failed-errno-22-invalid-argument" /><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/510004?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 01:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f3e49d9-1398-484c-baba-4dcc1e726244</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;Just following up:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Issue was with the toolchain and the way Ezuro/Laird wants the Pinnacle-100 firmware environment set up, and how it interacts with the VSC environment.&lt;/p&gt;
&lt;p&gt;For reference:&amp;nbsp;&lt;a href="https://github.com/LairdCP/Pinnacle_100_Sample_Applications_Manifest"&gt;LairdCP/Pinnacle_100_Sample_Applications_Manifest: Manifest repo for Pinnacle 100 sample applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/LairdCP/Pinnacle-100-Firmware"&gt;LairdCP/Pinnacle-100-Firmware: Common repository for MG100 and Pinnacle 100 DVK firmware.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking at OP, when toolchain was adjusted it started trying to reference things that simply weren&amp;#39;t in the SDK. (Such as CONFIG_LCZ)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Resolved by adjusting toolchain and making sure it played nice with that manifest repo.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509956?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 16:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef6f01b0-48c0-4029-95f9-f456e95b5381</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;Hi Stephen, I&amp;#39;ve reached out via e-mail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509775?ContentTypeID=1</link><pubDate>Sun, 10 Nov 2024 05:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efcca6a9-a0d3-4cc3-9a37-dbd71436ab3d</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Just ran on to this.&amp;nbsp; None of the GUIConfig and MenuConfig can launch either and all state&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&lt;span&gt;Unable to find Kconfig information to display. Please select a Kconfig file first.&amp;quot;&amp;nbsp;&lt;span style="color:#000000;"&gt; I think I may be a victim of an auto-update.....&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;I am not sure how to fix this. See below:&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp; File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 198, in _run_module_as_main&lt;br /&gt;&amp;nbsp; File &amp;quot;&amp;lt;frozen runpy&amp;gt;&amp;quot;, line 88, in _run_code&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\Users\User\AppData\Roaming\Python\Python311\Scripts\west.exe\__main__.py&amp;quot;, line 4, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\ncs\toolchains\ce3b5ff664\opt\bin\Lib\site-packages\west\app\main.py&amp;quot;, line 34, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; from west.commands import WestCommand, extension_commands, \&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\ncs\toolchains\ce3b5ff664\opt\bin\Lib\site-packages\west\commands.py&amp;quot;, line 24, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; import pykwalify&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\ncs\toolchains\ce3b5ff664\opt\bin\Lib\site-packages\pykwalify\__init__.py&amp;quot;, line 7, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; import logging.config&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\logging\config.py&amp;quot;, line 30, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; import logging.handlers&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\logging\handlers.py&amp;quot;, line 26, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; import io, logging, socket, os, pickle, struct, time, re&lt;br /&gt;&amp;nbsp; File &amp;quot;C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\socket.py&amp;quot;, line 51, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; import _socket&lt;br /&gt;&lt;span style="background-color:#ccffcc;"&gt;ImportError: Module use of python39.dll conflicts with this version of Python.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ccffcc;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ccffcc;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509759?ContentTypeID=1</link><pubDate>Sat, 09 Nov 2024 14:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8550fad8-3baf-408c-978d-c56419d86422</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Johnny,&lt;/p&gt;
&lt;p&gt;Doesn&amp;#39;t look like my reply went through yesterday. I checked for updates on VSC.&amp;nbsp; It says I&amp;#39;m up to date, but at this point I will re-install and see.&amp;nbsp; I was using 2.7, but when this problem started,.I went back to 2.4.1 on both toolchain and SDK simply because that was the original recommended by the DVK.&amp;nbsp; &amp;nbsp;I will go back to 2.7.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509736?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 20:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f24092-57c0-4c2f-b788-2368d9f8bbbd</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;Hi Stephen,&lt;/p&gt;
&lt;p&gt;the conf looks fine, as well as the terminal bar the warnings below the build message.&lt;/p&gt;
&lt;p&gt;Did it ever build without error? Is this a fresh install?&lt;/p&gt;
&lt;p&gt;Seems like a bad install or VSC being misconfigured. (HOME variable for instance, given the Kconfig gui not opening up)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try updating to the latest vsc extensions and installing latest sdk/toolchain versions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509732?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 18:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83839ee5-9c04-4a42-bc15-2d648045d8e3</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/32887.prj.conf"&gt;devzone.nordicsemi.com/.../32887.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509731?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 18:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:658ab9e2-e632-4b76-a394-a6db97d3b246</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Also, if I try building a sample application from the SDK, I get the same error.&amp;nbsp; Sorry for the delay, just wanted to confirm that first&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509728?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 17:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:953fa734-6d1e-46c3-98cb-3381f8ae7bfc</guid><dc:creator>Johnny Nguyen</dc:creator><description>&lt;p&gt;Stephen,&lt;/p&gt;
&lt;p&gt;Can you provide your prj.conf please?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509722?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 17:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e74d670-d2cb-4a0d-b8b2-a7b5b48e1eee</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here is the terminal log.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Executing-task-nRF-Connect-Build.zip"&gt;devzone.nordicsemi.com/.../Executing-task-nRF-Connect-Build.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509721?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 16:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6cd5e9-3678-4986-98c5-a723a15b4e13</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you please check the terminal to view the complete log while building? This might provide more details on the error message. Please share the full log here. Also, what happens when you try building a sample application from the SDK?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509712?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 15:17:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17ea0b93-6327-4aa2-b5bc-564d13deef33</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Everywhere I look for this ErrNo 22 seems to indicate that KConfig file is either corrupted or the path is broken, but&amp;nbsp; do not see that.&amp;nbsp; Is there a way to verify that?&lt;/p&gt;
&lt;p&gt;This is the only error that is stopping the build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509546?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 16:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9597e69-9f12-4a64-ba0a-ecbcf8720c4c</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Okay, I was able to go back to the 2.4.1 toolchain and did a rebuild.&amp;nbsp; I still get the same error.&lt;/p&gt;
&lt;p&gt;See screenshot below:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730998424230v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try to build another sample now as you suggested to from the SDK to see if the problem follows.&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t seem to matter, I can&amp;#39;t even open the nRF KConfig GUI at all either.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Stephen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509541?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 16:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b28ce8d-f637-41e1-ac2b-c352544e6a4e</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Good Day,&lt;/p&gt;
&lt;p&gt;Thank you for the reply.&amp;nbsp; I have been using the SDK and toolchain versions like this for a while with no issues,but I will try.&amp;nbsp; &amp;nbsp;How do I go back to a 2.4 toolchain?&amp;nbsp; The only options shown in VSCode go back to 2.6.0?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Stephen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kconfig failed: [Errno 22] Invalid argument</title><link>https://devzone.nordicsemi.com/thread/509514?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 16:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade80bae-9c23-47bf-9e46-4282baa5fc36</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;From the screenshot you shared, it looks like the SDK and toolchain versions you are using may not align, or they might be different versions. Could you try using the corresponding toolchain version and see if this resolves the issue? If not, please let me know.&lt;/p&gt;
&lt;p&gt;Also, does the same issue occur when you try a sample from the SDK, or does it only happen with your custom application?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>