<?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 Error while running slim partition command in Security</title>
    <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488854#M15322</link>
    <description>&lt;P&gt;I am using splunk packaging toolkit for partioning and getting following error on &lt;BR /&gt;
Command:&lt;BR /&gt;
&lt;STRONG&gt;slim partition demo_splunk_app-3.0.0.tar.gz&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/bin/slim", line 10, in &lt;BR /&gt;
    sys.exit(main())&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/&lt;STRONG&gt;main&lt;/STRONG&gt;.py", line 26, in main&lt;BR /&gt;
    args.invoke_command(args)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/partition.py", line 64, in main&lt;BR /&gt;
    ), args.target_os)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/&lt;EM&gt;server_class.py", line 377, in add&lt;BR /&gt;
    server_class, dependency_graph, target_os, self._validate, is_external&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 601, in from_dependency_graph&lt;BR /&gt;
    installation_graph._resolve()&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 858, in _resolve&lt;BR /&gt;
    installation.resolve_dependents(self)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 301, in resolve_dependents&lt;BR /&gt;
    self._version_range = semantic_version.Spec(*version_range)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 1159, in __init&lt;/EM&gt;_&lt;BR /&gt;
    super(LegacySpec, self).&lt;STRONG&gt;init&lt;/STRONG&gt;(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 610, in &lt;STRONG&gt;init&lt;/STRONG&gt;&lt;BR /&gt;
    self.clause = self._parse_to_clause(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 975, in _parse_to_clause&lt;BR /&gt;
    return cls.Parser.parse(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 997, in parse&lt;BR /&gt;
    raise ValueError("Invalid simple block %r" % block)&lt;BR /&gt;
ValueError: Invalid simple block ''&lt;/P&gt;

&lt;P&gt;Could someone help what is the issue?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:19:35 GMT</pubDate>
    <dc:creator>ajain_mi</dc:creator>
    <dc:date>2020-09-30T02:19:35Z</dc:date>
    <item>
      <title>Error while running slim partition command</title>
      <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488854#M15322</link>
      <description>&lt;P&gt;I am using splunk packaging toolkit for partioning and getting following error on &lt;BR /&gt;
Command:&lt;BR /&gt;
&lt;STRONG&gt;slim partition demo_splunk_app-3.0.0.tar.gz&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/bin/slim", line 10, in &lt;BR /&gt;
    sys.exit(main())&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/&lt;STRONG&gt;main&lt;/STRONG&gt;.py", line 26, in main&lt;BR /&gt;
    args.invoke_command(args)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/partition.py", line 64, in main&lt;BR /&gt;
    ), args.target_os)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/&lt;EM&gt;server_class.py", line 377, in add&lt;BR /&gt;
    server_class, dependency_graph, target_os, self._validate, is_external&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 601, in from_dependency_graph&lt;BR /&gt;
    installation_graph._resolve()&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 858, in _resolve&lt;BR /&gt;
    installation.resolve_dependents(self)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 301, in resolve_dependents&lt;BR /&gt;
    self._version_range = semantic_version.Spec(*version_range)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 1159, in __init&lt;/EM&gt;_&lt;BR /&gt;
    super(LegacySpec, self).&lt;STRONG&gt;init&lt;/STRONG&gt;(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 610, in &lt;STRONG&gt;init&lt;/STRONG&gt;&lt;BR /&gt;
    self.clause = self._parse_to_clause(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 975, in _parse_to_clause&lt;BR /&gt;
    return cls.Parser.parse(expression)&lt;BR /&gt;
  File "/Users/ajain/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 997, in parse&lt;BR /&gt;
    raise ValueError("Invalid simple block %r" % block)&lt;BR /&gt;
ValueError: Invalid simple block ''&lt;/P&gt;

&lt;P&gt;Could someone help what is the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:19:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488854#M15322</guid>
      <dc:creator>ajain_mi</dc:creator>
      <dc:date>2020-09-30T02:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running slim partition command</title>
      <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488855#M15323</link>
      <description>&lt;P&gt;Hi, @ajain_mi did u ever find out the solution to this?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 22:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488855#M15323</guid>
      <dc:creator>mufthmu</dc:creator>
      <dc:date>2020-01-03T22:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running slim partition command</title>
      <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488856#M15324</link>
      <description>&lt;P&gt;@mufthmu No, I couldn't. I tried to split my app according to my need for various component.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 15:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488856#M15324</guid>
      <dc:creator>ajain_mi</dc:creator>
      <dc:date>2020-02-17T15:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running slim partition command</title>
      <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488857#M15325</link>
      <description>&lt;P&gt;This problem is caused by having a more recent version of the semantic_version pip package.&lt;/P&gt;

&lt;P&gt;Using an older version (pip install 'semantic_version==2.6.0') fixed the problem for me.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 02:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488857#M15325</guid>
      <dc:creator>nebffa</dc:creator>
      <dc:date>2020-04-15T02:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running slim partition command</title>
      <link>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488858#M15326</link>
      <description>&lt;P&gt;6 years later, that answer is the good one ! &lt;BR /&gt;
With python 2.7 not supported after 2020/01/01 the semantic_version installed by default is still too high for the slim partition command !&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 21:33:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-while-running-slim-partition-command/m-p/488858#M15326</guid>
      <dc:creator>ldongradi_SPL</dc:creator>
      <dc:date>2020-06-04T21:33:28Z</dc:date>
    </item>
  </channel>
</rss>

