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

Make config_path default to None. #151

Merged
merged 1 commit into from Apr 29, 2015

Conversation

Projects
None yet
3 participants
@bgruening
Copy link
Member

bgruening commented Apr 29, 2015

This should fix the following error:

bag@bag ~/temp % planemo config_init       
/home/bag/temp
Traceback (most recent call last):
  File "/home/bag/.local/bin//planemo", line 11, in <module>
    sys.exit(planemo())
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args[1:], **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/planemo/commands/cmd_config_init.py", line 54, in cli
    config_path = config.global_config_path()
TypeError: global_config_path() takes exactly 1 argument (0 given)

@dannon

This comment has been minimized.

Copy link
Member

dannon commented Apr 29, 2015

+1

dannon added a commit that referenced this pull request Apr 29, 2015

Merge pull request #151 from bgruening/fix_config_init
Make config_path default to None.

@dannon dannon merged commit 32081bf into galaxyproject:master Apr 29, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@peterjc

This comment has been minimized.

Copy link
Contributor

peterjc commented on d20d383 Apr 30, 2015

Ah - this fixed planemo config_init which was giving me:

$ planemo config_init
Traceback (most recent call last):
...
TypeError: global_config_path() takes exactly 1 argument (0 given)

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment