Skip to content

After installing plotly3.0.0rc10 I cannot sign in #1044

@empet

Description

@empet

I installed plotly3.0.0rc10 in a miniconda env, with python 3.6.4.
It works fine, but trying to sign_in I get the following error

PlotlyRequestError                        Traceback (most recent call last)
~/plotly/plotly/plotly.py in sign_in(username, api_key, **kwargs)
     69         # with the given, username, api_key, and plotly_api_domain.
---> 70         v2.users.current()
     71     except exceptions.PlotlyRequestError:

~/plotly/api/v2/users.py in current()
     16     url = build_url(RESOURCE, route='current')
---> 17     return request('get', url)

~/plotly/api/v2/utils.py in request(method, url, **kwargs)
    152         raise exceptions.PlotlyRequestError(message, status_code, content)
--> 153     validate_response(response)
    154     return response

~/plotly/api/v2/utils.py in validate_response(response)
     78
---> 79     raise exceptions.PlotlyRequestError(message, status_code, content)
     80

PlotlyRequestError: Plotly-Client-Platform header is too long

During handling of the above exception, another exception occurred:

PlotlyError                               Traceback (most recent call last)
<ipython-input-1-5ba4ad58d071> in <module>()
      1 import plotly.plotly as py
----> 2 py.sign_in('empet', '')

~/plotly/plotly/plotly.py in sign_in(username, api_key, **kwargs)
     70         v2.users.current()
     71     except exceptions.PlotlyRequestError:
---> 72         raise exceptions.PlotlyError('Sign in failed.')
     73
     74 update_plot_options = session.update_session_plot_options

PlotlyError: Sign in failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions