<?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: error activating extension in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213165#M97917</link>
    <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;lmori,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried&amp;nbsp;minemeld-taxii-ng but there are lots of issues in that so i used the other taxii miner.&amp;nbsp;I already have the code that&amp;nbsp;I wanted to build for taxii miner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me figuring out this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vinamra&lt;/P&gt;</description>
    <pubDate>Fri, 04 May 2018 13:27:35 GMT</pubDate>
    <dc:creator>VBhatnagar</dc:creator>
    <dc:date>2018-05-04T13:27:35Z</dc:date>
    <item>
      <title>error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213079#M97915</link>
      <description>&lt;P&gt;Hi Guys need some help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I copied the taxii class and renamed it then i followed youtubeminer to make and extension out of it. when I install it it shows me install success and shows success in activation. but i don't see the prototype in the list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the logs in see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;loader._initialize_entry_point_group ERROR: vinamrataxii.prototypes not loadable: &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;werkzeug&lt;/STRONG&gt; &lt;/FONT&gt;not installed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;check the mm-jobs-extention file i see &lt;STRONG&gt;&lt;FONT color="#993300"&gt;werkzeug&lt;/FONT&gt; &lt;/STRONG&gt;Requirement already satisfied: Werkzeug==0.14.1 in /opt/minemeld/engine/current/lib/python2.7/site-packages&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pip also outputs same&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure where else i can install Werkzeug to load the extension properly&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;minemeld-engine.log&lt;/P&gt;
&lt;PRE&gt;2018-05-03T21:17:08 (18834)launcher._run_chassis INFO: power off 2018-05-03T21:17:09 (18816)launcher.main INFO: One of the chassis has stopped, exit 2018-05-03T21:17:11 (19333)launcher.main INFO: Starting mm-run.py version 0.9.44.post1 2018-05-03T21:17:11 (19333)launcher.main INFO: mm-run.py arguments: Namespace(config='/opt/minemeld/local/config', multiprocessing=0, nodes_per_chassis=15.0, verbose=False) 2018-05-03T21:17:11 (19333)loader._initialize_entry_point_group ERROR: vinamrataxii.prototypes not loadable: werkzeug not installed 2018-05-03T21:17:11 (19333)config.resolve_prototypes INFO: Prototypes entrypoint vinamrataxii.prototypes not loadable 2018-05-03T21:17:12 (19333)loader._initialize_entry_point_group ERROR: vinamrataxii.VinamraTaxiiClient not loadable: werkzeug not installed 2018-05-03T21:17:12 (19333)config.resolve_prototypes INFO: Prototypes entrypoint vinamrataxii.prototypes not loadable 2018-05-03T21:17:13 (19333)config._load_config_from_dir INFO: Switching to candidate config 2018-05-03T21:17:13 (19333)config._load_config_from_dir INFO: Changes in config: []&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 May 2018 01:35:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213079#M97915</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-04T01:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213116#M97916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/62255"&gt;@VBhatnagar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;if you want to build a new TAXII Miner as an extension, I would start from here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/PaloAltoNetworks/minemeld-taxii-ng" target="_blank"&gt;https://github.com/PaloAltoNetworks/minemeld-taxii-ng&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a new non-opinionated TAXII Miner we are working on and it is structured as an extension.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 08:39:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213116#M97916</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2018-05-04T08:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213165#M97917</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;lmori,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried&amp;nbsp;minemeld-taxii-ng but there are lots of issues in that so i used the other taxii miner.&amp;nbsp;I already have the code that&amp;nbsp;I wanted to build for taxii miner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me figuring out this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vinamra&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 13:27:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213165#M97917</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-04T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213339#M97918</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be really appriciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vinamra&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 15:42:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213339#M97918</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-06T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213346#M97919</link>
      <description>&lt;P&gt;So&amp;nbsp;I removed&amp;nbsp;&lt;STRONG&gt;werkzeug&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; from requirements.txt and prototype installs without error but i cant see my prototype in the list.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i dont see any error in minemeld-engine.log&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 01:36:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213346#M97919</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-07T01:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213347#M97920</link>
      <description>&lt;P&gt;Guys i am out of options now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/vinamra2004/vinamrataxii" target="_blank"&gt;https://github.com/vinamra2004/vinamrataxii&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is my extention. if any one can help me out why prototype is not listed under prototypes in web UI that would be great.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vinamra&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 01:49:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213347#M97920</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-07T01:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213349#M97921</link>
      <description>&lt;P&gt;I&amp;nbsp;tried to force test by adding the prototype in running config and saw error related to prototype yml.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So&amp;nbsp;I checked the prototype yml syntax and found issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After fixing the yml&amp;nbsp;I redeployed the extention. Now&amp;nbsp;I can see the prototype in the Prototype list and can create a node out of it but when&amp;nbsp;I commit/restart the engine.&amp;nbsp;I get following errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Traceback (most recent call last):
  File "/opt/minemeld/engine/core/minemeld/run/launcher.py", line 53, in _run_chassis
    c.configure(fts)
  File "/opt/minemeld/engine/core/minemeld/chassis.py", line 102, in configure
    config=ftconfig.get('config', {})
  File "/opt/minemeld/engine/core/minemeld/ft/__init__.py", line 5, in factory
    node_class = load(MM_NODES_ENTRYPOINT, classname)
  File "/opt/minemeld/engine/core/minemeld/loader.py", line 136, in load
    return mmep.ep.load()
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2322, in load
    return self.resolve()
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2328, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/minemeld/local/library/537b327d-0f93-4564-88c4-9dbbda03fe1a/vinamrataxii/node.py", line 53, in &amp;lt;module&amp;gt;
    from . import basepoller
ImportError: cannot import name basepoller
&lt;/PRE&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 02:33:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213349#M97921</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-07T02:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: error activating extension</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213640#M97922</link>
      <description>&lt;P&gt;So because i copy pasted the whole code from taxii.py there were few imports that was from . and this is an extention so . didint reference properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i changed the imports to use proper class names and it worked like a charm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vinamra&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 23:59:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/error-activating-extension/m-p/213640#M97922</guid>
      <dc:creator>VBhatnagar</dc:creator>
      <dc:date>2018-05-08T23:59:32Z</dc:date>
    </item>
  </channel>
</rss>

