Skip to content

EXCEPTION of type 'AttributeError' occurred with message: type object 'Config' has no attribute 'targets_path' #92

Description

@wearetyomsmnv

Hi, i'm install counterfit with conda .. but when i creating new targets .. i have this fail:

Traceback (most recent call last):
File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/cmd2.py", line 2385, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/cmd2.py", line 2836, in onecmd
stop = func(statement)
File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/decorators.py", line 379, in cmd_wrapper
return func(*args_list, **kwargs) # type: ignore[call-arg]
File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/examples/terminal/commands/init.py", line 54, in do_new
new_.new_cmd(args)
File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/examples/terminal/commands/new.py", line 35, in new_cmd
if target_name not in os.listdir(Config.targets_path):
AttributeError: type object 'Config' has no attribute 'targets_path'
EXCEPTION of type 'AttributeError' occurred with message: type object 'Config' has no attribute 'targets_path'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: QuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions