<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to prepare extension environment in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252742#M4952</link>
    <description>&lt;P&gt;Is keycloak_ext the name of your extension or a python package?&lt;/P&gt;&lt;P&gt;If the former, then something weird happened with your build. Share the contents of the extension.zip file you are using, as well as how you built it.&lt;/P&gt;&lt;P&gt;If the latter, this usually happens when you build the extension in one platform but try to run it in another -- pip might miss downloading wheels for the platform you are trying to run on. Check what OS you are trying to run the extension on and whether the extension.zip file has the wheels required to install all packages for that OS.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 05:42:51 GMT</pubDate>
    <dc:creator>TomásSeroteRoos</dc:creator>
    <dc:date>2024-08-07T05:42:51Z</dc:date>
    <item>
      <title>Failed to prepare extension environment</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252551#M4937</link>
      <description>&lt;LI-SPOILER&gt;Hi all,&lt;BR /&gt;recently I tried to deploy a custom extension on activegate. Looking at the logs I noticed the following errors.&amp;nbsp;&lt;/LI-SPOILER&gt;&lt;P&gt;2024-08-05 14:47:04.469 UTC [003946f3] warning [native] Failed to prepare extension environment:&lt;BR /&gt;id: f_-5077411103933439232&lt;BR /&gt;datasource: python:3.10&lt;BR /&gt;time elapsed: 3.21s&lt;BR /&gt;command: "/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3/bin/python3" -m pip install --no-warn-script-location --no-cache-dir --no-index -f /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib keycloak_ext&lt;BR /&gt;error: WARNING: Location '/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib' is ignored: it is either a non-existing path or lacks a specific scheme.&lt;BR /&gt;ERROR: Could not find a version that satisfies the requirement keycloak_ext (from versions: none)&lt;BR /&gt;ERROR: No matching distribution found for keycloak_ext&lt;/P&gt;&lt;P&gt;2024-08-05 14:47:04.469 UTC [003946f3] warning [native] std ouput from ""/opt/dynatrace/remotepluginmodule/agent/res/dsruntime/python3.10/bin/python3" -m venv /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3 --system-site-packages --without-pip" command:&lt;/P&gt;&lt;P&gt;std ouput from ""/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3/bin/python3" -m pip install --no-warn-script-location --no-cache-dir --no-index -f /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib keycloak_ext" command:&lt;BR /&gt;Looking in links: /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib&lt;/P&gt;&lt;P&gt;2024-08-05 14:47:04.469 UTC [003946f3] info [native] Rejected fastcheck for task f_-5077411103933439232 -&lt;BR /&gt;2024-08-05 14:47:06.777 UTC [003946b5] info [native] Fastcheck f_-5077411103933439232 for datasource python ended with code -1: N/A&lt;BR /&gt;&lt;BR /&gt;Could you help me to understand what happened?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Davide&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 14:50:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252551#M4937</guid>
      <dc:creator>_davidemascolo</dc:creator>
      <dc:date>2024-08-05T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to prepare extension environment</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252553#M4938</link>
      <description>&lt;P&gt;Other details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Looking in links: /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib --&amp;gt; lib folder doesn't exist.&lt;BR /&gt;&lt;BR /&gt;The error seems to be the missing folder:&lt;BR /&gt;&lt;SPAN&gt;WARNING: Location '/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib' is ignored: &lt;STRONG&gt;it is either a non-existing path or lacks a specific scheme&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;How I can force the creation of lib (and eventually other resources) folder?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 05 Aug 2024 15:06:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252553#M4938</guid>
      <dc:creator>_davidemascolo</dc:creator>
      <dc:date>2024-08-05T15:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to prepare extension environment</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252742#M4952</link>
      <description>&lt;P&gt;Is keycloak_ext the name of your extension or a python package?&lt;/P&gt;&lt;P&gt;If the former, then something weird happened with your build. Share the contents of the extension.zip file you are using, as well as how you built it.&lt;/P&gt;&lt;P&gt;If the latter, this usually happens when you build the extension in one platform but try to run it in another -- pip might miss downloading wheels for the platform you are trying to run on. Check what OS you are trying to run the extension on and whether the extension.zip file has the wheels required to install all packages for that OS.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 05:42:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-to-prepare-extension-environment/m-p/252742#M4952</guid>
      <dc:creator>TomásSeroteRoos</dc:creator>
      <dc:date>2024-08-07T05:42:51Z</dc:date>
    </item>
  </channel>
</rss>

