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

cant create HTML report #94

Open
geoHeil opened this issue Jul 1, 2021 · 4 comments
Open

cant create HTML report #94

geoHeil opened this issue Jul 1, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@geoHeil
Copy link

geoHeil commented Jul 1, 2021

When trying to create an HTML report for the computed dataframe analysis an error is created during the creation of the HTML file:

my_report = sv.compare_intra(df_viz, df_viz["key"] == 0, ["normal", "anomaly"])
my_report.show_html()
--------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-11-a72fccb99362> in <module>
----> 1 my_report.show_html()

path/to/file/lib/python3.8/site-packages/sweetviz/dataframe_report.py in show_html(self, filepath, open_browser, layout, scale)
    522         sv_html.set_summary_positions(self)
    523         sv_html.generate_html_detail(self)
--> 524         if self.associations_html_source:
    525             self.associations_html_source = sv_html.generate_html_associations(self, "source")
    526         if self.associations_html_compare:

AttributeError: 'DataframeReport' object has no attribute 'associations_html_source'
@fbdesignpro
Copy link
Owner

Thank you for the report @geoHeil! I think this could be legit edge case issue. Are you still running into this? If so, I would love for you to test an update I will try to get in by the end of the week.

@fbdesignpro fbdesignpro added the bug Something isn't working label Jul 7, 2021
@fbdesignpro fbdesignpro self-assigned this Jul 7, 2021
@fbdesignpro fbdesignpro added working on it A fix/update for this should be coming soon! and removed working on it A fix/update for this should be coming soon! labels Jul 7, 2021
@HWiese1980
Copy link

I am running into this now. What's the status?

@HWiese1980
Copy link

HWiese1980 commented Sep 23, 2021

It's caused when a large number of features are auto-pairwise analyzed and show_html is subsequently called despite the warning of exponential time consumption and the pre-mature return, because in that case associations_html_source is never initialized on DataFrameReport.

@fbdesignpro fbdesignpro added the working on it A fix/update for this should be coming soon! label Sep 30, 2021
@mithrandir184
Copy link

Is there any update on this? I am also getting the error

@fbdesignpro fbdesignpro removed the working on it A fix/update for this should be coming soon! label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants