<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Standard NetXML modules are not loading after 5.0.2 upgrade]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We've upgraded our NetXMS installation from 4.5.0 to 5.0.2. Then we had to replace all deprecated functions in our EPP scripts. Now EPP scripts are being compiled successfully.<br />
However, actual execution generates an error - Script (EPP::1) execution error: Script load failed<br />
When we try to Execute Script on a node, even simple<br />
String::right("Test", 2);<br />
gives the following error: <br />
Cannot execute script: Script compilation error (Error 16 in line 1:Requested module not found or cannot be loaded)</p>
<p dir="auto">Any recommendations on how to fix the issue?</p>
<p dir="auto">Thank you,</p>
<p dir="auto">Leo</p>
]]></description><link>https://forum.netxms.org/topic/7949/standard-netxml-modules-are-not-loading-after-5.0.2-upgrade</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:48:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7949.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 May 2024 16:53:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Standard NetXML modules are not loading after 5.0.2 upgrade on Tue, 21 May 2024 13:05:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lroytman" aria-label="Profile: lroytman">@<bdi>lroytman</bdi></a> said in <a href="/post/33513">Standard NetXML modules are not loading after 5.0.2 upgrade</a>:</p>
<blockquote>
<p dir="auto">Hi Victor,</p>
<p dir="auto">Please, see here: <a href="https://netxms.org/documentation/nxsl-latest/#func-right" rel="nofollow ugc">https://netxms.org/documentation/nxsl-latest/#func-right</a><br />
It says:  <strong>This function is deprecated starting from version 5.0.</strong> Please use <a href="https://netxms.org/documentation/nxsl-latest/#class-string-right" rel="nofollow ugc">String::right()</a></p>
<p dir="auto">Regards,</p>
<p dir="auto">Leo</p>
</blockquote>
<p dir="auto">I've updated documentation to be more descriptive.</p>
]]></description><link>https://forum.netxms.org/post/33517</link><guid isPermaLink="true">https://forum.netxms.org/post/33517</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 21 May 2024 13:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to Standard NetXML modules are not loading after 5.0.2 upgrade on Fri, 17 May 2024 19:45:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Please, see here: <a href="https://netxms.org/documentation/nxsl-latest/#func-right" rel="nofollow ugc">https://netxms.org/documentation/nxsl-latest/#func-right</a><br />
It says:  <strong>This function is deprecated starting from version 5.0.</strong> Please use <a href="https://netxms.org/documentation/nxsl-latest/#class-string-right" rel="nofollow ugc">String::right()</a></p>
<p dir="auto">Regards,</p>
<p dir="auto">Leo</p>
]]></description><link>https://forum.netxms.org/post/33513</link><guid isPermaLink="true">https://forum.netxms.org/post/33513</guid><dc:creator><![CDATA[lroytman]]></dc:creator><pubDate>Fri, 17 May 2024 19:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to Standard NetXML modules are not loading after 5.0.2 upgrade on Fri, 17 May 2024 19:31:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">is this:</p>
<pre><code>String::right("Test", 2);
</code></pre>
<p dir="auto">really in documentation somewhere? Or some text/example that suggests this is the correct way? Because it is incorrect and never was.<br />
Module::function syntax is supported since 4.x, and some functions were indeed moved to system packages in version 5, but there never been module "String".</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/33512</link><guid isPermaLink="true">https://forum.netxms.org/post/33512</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 17 May 2024 19:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Standard NetXML modules are not loading after 5.0.2 upgrade on Fri, 17 May 2024 18:46:12 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, Filipp, for your quick reply. After another turn of script corrections they seem to be working now.<br />
It is unfortunate that documentation has not been updated. And compilation diagnostics has not been updated too. We wasted quite a few hours because of that. And, as compilation does not catch deprecated code, we cannot be sure we have not missed some places which can fail on execution.</p>
<p dir="auto">Regards,</p>
<p dir="auto">Leo</p>
]]></description><link>https://forum.netxms.org/post/33511</link><guid isPermaLink="true">https://forum.netxms.org/post/33511</guid><dc:creator><![CDATA[lroytman]]></dc:creator><pubDate>Fri, 17 May 2024 18:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to Standard NetXML modules are not loading after 5.0.2 upgrade on Fri, 17 May 2024 17:21:26 GMT]]></title><description><![CDATA[<p dir="auto">String functions were deprecated, now string methods should be used:</p>
<pre><code>a = "abc";
b = a.right(2);
println(b);
</code></pre>
<p dir="auto">Documentation should be up to date: <a href="https://www.netxms.org/documentation/nxsl-latest/#class-string" rel="nofollow ugc">https://www.netxms.org/documentation/nxsl-latest/#class-string</a></p>
]]></description><link>https://forum.netxms.org/post/33510</link><guid isPermaLink="true">https://forum.netxms.org/post/33510</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 17 May 2024 17:21:26 GMT</pubDate></item></channel></rss>