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

TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type #219

Open
eavergara96 opened this issue Jul 29, 2022 · 0 comments

Comments

@eavergara96
Copy link

Report is not generated and in the last step shown next error:

WARNING: Use explicit --no-blame command line argument! In next major version, default behavior will change in favor of fetching blame data by default. /Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/analysis/gitrepository.py:135: UserWarning: Not an email passed: = Git path: /Users/runner/work/backend-2.0/backend-2.0 warnings.warn(str(ex)) Collecting data... Traceback (most recent call last): Fetching whole history data... File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/bin/repostat", line 8, in <module> Elapsed time: 0:01:02.641595 sys.exit(main()) Fetching linear history data... File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/analysis/repostat.py", line 52, in main Elapsed time: 0:00:13.775476 report.create(output_path) Output path: /Users/runner/work/backend-2.0/backend-2.0/report File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/report/htmlreportcreator.py", line 141, in create Generating HTML report... self.make_authors_page(), Fetching files data... File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/report/htmlreportcreator.py", line 308, in make_authors_page Elapsed time: 976.06 ms page.add_plot(self.make_authors_plot()) File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/report/htmlreportcreator.py", line 352, in make_authors_plot email_domains_distribution = top_domains.append(pd.Series(other_domains, index=["Others"])) File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/pandas/core/series.py", line 314, in __init__ data = sanitize_array(data, index, dtype, copy, raise_cast_failure=True) File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 712, in sanitize_array subarr = construct_1d_arraylike_from_scalar(value, len(index), dtype) File "/Users/runner/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/pandas/core/dtypes/cast.py", line 1233, in construct_1d_arraylike_from_scalar subarr = np.empty(length, dtype=dtype) TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type Error: Process completed with exit code 1.

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