Skip to content

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

@eavergara96

Description

@eavergara96

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.

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