Security

slim partition command gives Traceback error

mufthmu
Path Finder

I ran the command :
$ slim partition AlertApp-1.0.0.tar.gz

and it gave me this error:

slim partition: Extracting source from "AlertApp-1.0.0.tar.gz"...
slim partition: Adding AlertApp:1.0.0 to installation graph...
Traceback (most recent call last):
File "/Users/muhammad/Virtualenvs/slim/bin/slim", line 8, in
sys.exit(main())
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/main.py", line 26, in main
args.invoke_command(args)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/partition.py", line 64, in main
), args.target_os)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/server_class.py", line 377, in add
server_class, dependency_graph, target_os, self._validate, is_external
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 601, in from_dependency_graph
installation_graph._resolve()
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 858, in _resolve
installation.resolve_dependents(self)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/slim/app/_installation.py", line 301, in resolve_dependents
self._version_range = semantic_version.Spec(*version_range)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 1196, in __init
_
super(LegacySpec, self).init(expression)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 618, in init
self.clause = self._parse_to_clause(expression)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 1014, in _parse_to_clause
return cls.Parser.parse(expression)
File "/Users/muhammad/Virtualenvs/slim/lib/python2.7/site-packages/semantic_version/base.py", line 1034, in parse
raise ValueError("Invalid simple block %r" % block)
ValueError: Invalid simple block ''

Does anybody have this issue?
Thanks!

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...