Black Lives Matter. Please consider donating to Black Girls Code today.
https://www.blackgirlscode.com

PlotRequestError: "already exists" newly occurring on old code (6+ months)

I’m getting a new error as of last week (just noticed it in my usual job):

chart_studio.exceptions.PlotlyRequestError: Sorry, a file named ‘Net Karma Metric - Daily_grid’ already exists

This is from code I’ve had successfully running since September, so I don’t think anything could have changed on my end.

The code I’m running has this structure:

import chart_studio.plotly.plotly as py
...<create fig>
py.iplot(fig, filename=filename)
1 Like

I have the same problem today. Was working fine earlier this morning

Well, I deleted all the _grid files (letting them be recreated automatically) and it seems to be working now.

1 Like