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

TypeError: get() got an unexpected keyword argument 'fallback' #347

Open
pritomrajkhowa opened this issue Nov 6, 2019 · 1 comment
Open

Comments

@pritomrajkhowa
Copy link

After installation. I am getting following error. Can you please guide what went wrong?

In [1]: import cortex

In [2]: cortex.webshow(cortex.Volume.random("S1", "fullhead"))

TypeError Traceback (most recent call last)
in ()
----> 1 cortex.webshow(cortex.Volume.random("S1", "fullhead"))

/home/pritom/.local/lib/python2.7/site-packages/cortex/utils.pyc in call(self, *args, **kwargs)
21
22 def call(self, *args, **kwargs):
---> 23 return self._load()(*args, **kwargs)
24
25 def getattribute(self, name):

/home/pritom/.local/lib/python2.7/site-packages/cortex/webgl/view.pyc in show(data, types, recache, cmap, layout, autoclose, open_browser, port, pickerfun, template, overlays_available, overlays_visible, labels_visible, overlay_file, title, **kwargs)
300 # populate default webshow args
301 if autoclose is None:
--> 302 autoclose = options.config.get('webshow', 'autoclose', fallback='true') == 'true'
303 if open_browser is None:
304 open_browser = options.config.get('webshow', 'open_browser', fallback='true') == 'true'

TypeError: get() got an unexpected keyword argument 'fallback'

@alexhuth
Copy link
Contributor

Ugh this looks like a version issue with configparser, which is a built-in library. I can run this in python 2.7 without problems, so that's not it. Perhaps try running pip install --upgrade configparser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants