Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Path error on kytos napps upload [python3.8] #312

Open
hdiogenes opened this issue Dec 23, 2020 · 0 comments
Open

Path error on kytos napps upload [python3.8] #312

hdiogenes opened this issue Dec 23, 2020 · 0 comments
Labels

Comments

@hdiogenes
Copy link
Member

$ cd some_napp_dir
$ kytos napps upload
Do you have REST endpoints and wish to create an API skeleton in openapi.yml? (Y/n) n
Traceback (most recent call last):
  File "venv/bin/kytos", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "kytos-utils/bin/kytos", line 50, in <module>
    parse(argv)
  File "kytos-utils/kytos/cli/commands/napps/parser.py", line 52, in parse
    call(sys.argv[2], args)
  File "kytos-utils/kytos/cli/commands/napps/parser.py", line 63, in call
    func(args)
  File "kytos-utils/kytos/cli/commands/napps/api.py", line 102, in upload
    NAppsManager().upload()
  File "kytos-utils/kytos/utils/napps.py", line 522, in upload
    package = self.build_napp_package(metadata.get('name'))
  File "kytos-utils/kytos/utils/napps.py", line 460, in build_napp_package
    matches = get_matches(path)
  File "kytos-utils/kytos/utils/napps.py", line 432, in get_matches
    pathlib.Path.home())
AttributeError: type object 'Path' has no attribute 'home'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants