Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
manikandan-8kmiles opened this issue Nov 21, 2020 · 1 comment
Open

Comments

@manikandan-8kmiles
Copy link

@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'

@manikandan-8kmiles
Copy link
Author

i have done conf part as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant