Skip to content

AttributeError: 'Process' object has no attribute 'num_fds' #71

Open
@manikandan-8kmiles

Description

@manikandan-8kmiles

@p.provenance()
def my_add(x, y):
print('Executed')
return x + y


print(my_add(1, 4))
AttributeError Traceback (most recent call last)
in
5
6
----> 7 print(my_add(1, 4))

<boltons.funcutils.FunctionBuilder-8> in my_add(x, y)

e:\python\lib\site-packages\provenance\core.py in _provenance_wrapper(*args, **kargs)
289 r = repos.get_repo_by_name(repo)
290
--> 291 _run_info = run_info()
292 archive_file = func_info['archive_file']
293

e:\python\lib\site-packages\provenance\core.py in run_info()
258
259 def run_info():
--> 260 return repos.Config.current().run_info()
261
262

e:\python\lib\site-packages\provenance\repos.py in run_info(self)
116 {
117 'host': _host_info(),
--> 118 'process': _process_info(),
119 'created_at': datetime.utcnow(),
120 }

e:\python\lib\site-packages\provenance\repos.py in _process_info()
50 'exe': p.exe(),
51 'name': p.name(),
---> 52 'num_fds': p.num_fds(),
53 'num_threads': p.num_threads(),
54 }

AttributeError: 'Process' object has no attribute 'num_fds'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions