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

Ensure backend is initialized on import #275

Merged
merged 2 commits into from Jan 14, 2019
Merged

Ensure backend is initialized on import #275

merged 2 commits into from Jan 14, 2019

Conversation

@philippjfr
Copy link
Member

philippjfr commented Jan 14, 2019

philippjfr added 2 commits Jan 14, 2019
@philippjfr philippjfr merged commit 31116f0 into master Jan 14, 2019
0 of 4 checks passed
0 of 4 checks passed
continuous-integration/travis-ci/push The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/branch Waiting for AppVeyor build to complete
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@TimoRoth

This comment has been minimized.

Copy link

TimoRoth commented Jan 22, 2019

I'm getting errors after upgrading to 1.6.1 due to this:

Traceback (most recent call last):
  File "./app.py", line 18, in <module>
    import geoviews as gv
  File "/home/users/timo/oggm_venv/lib/python3.7/site-packages/geoviews/__init__.py", line 30, in <module>
    if extension._loaded:
AttributeError: type object 'extension' has no attribute '_loaded'

frozen environment: https://bpaste.net/show/70053f841805

@philippjfr

This comment has been minimized.

Copy link
Member Author

philippjfr commented Jan 22, 2019

@TimoRoth You will have to upgrade holoviews to a minimum of 1.11.0 and pyviz_comms to a minimum of 0.7.0.

@philippjfr

This comment has been minimized.

Copy link
Member Author

philippjfr commented Jan 22, 2019

Hmm, your environment seems to indicate you have those versions. Not quite sure how this could happen with those versions but I'll have a look.

@philippjfr

This comment has been minimized.

Copy link
Member Author

philippjfr commented Jan 22, 2019

Okay nevermind, I can see how it can happen. I'll push a fix shortly and then tag 1.6.2.

@philippjfr philippjfr mentioned this pull request Jan 22, 2019
1 of 1 task complete
@philippjfr philippjfr deleted the initialize_backend branch Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.