You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
kpm new foo/bar
Namespace(directory='.', func=<bound method type.call of <class 'kpm.commands.new.NewCmd'>>, output='text', package=['foo/bar'], with_comments=False)
Traceback (most recent call last):
File "/usr/local/bin/kpm", line 6, in <module>
cli()
File "/usr/local/lib/python2.7/site-packages/kpm/command.py", line 83, in cli
args.func(args)
File "/usr/local/lib/python2.7/site-packages/kpm/commands/command_base.py", line 27, in call
cls(options)()
File "/usr/local/lib/python2.7/site-packages/kpm/commands/command_base.py", line 30, in __call__
self._call()
File "/usr/local/lib/python2.7/site-packages/kpm/commands/new.py", line 29, in _call
self.path = kpm.new.new_package(self.package, self.directory, self.with_comments)
File "/usr/local/lib/python2.7/site-packages/kpm/new.py", line 77, in new_package
_, app = name.split("/")
AttributeError: 'list' object has no attribute 'split'
The first line comes from a print(options) I've added in commands/new.py
The text was updated successfully, but these errors were encountered:
The first line comes from a
print(options)
I've added incommands/new.py
The text was updated successfully, but these errors were encountered: