Skip to content

global name 'load_theme' is not defined #118

@ikanobori

Description

@ikanobori

When I change the config file to use a different theme (light.theme), the program raise this error:

#!python

$ bpython
Traceback (most recent call last):
  File "/home/aplanas/bin/bpython-hg/bin/bpython", line 6, in <module>
    sys.exit(main())
  File "/home/aplanas/bin/bpython-hg/lib/python2.6/site-packages/bpython/cli.py", line 1693, in main
    config, options, exec_args = bpython.args.parse(args)
  File "/home/aplanas/bin/bpython-hg/lib/python2.6/site-packages/bpython/args.py", line 101, in parse
    loadini(config, options.config)
  File "/home/aplanas/bin/bpython-hg/lib/python2.6/site-packages/bpython/config.py", line 153, in loadini
    load_theme(struct, path, config_path, default_colors)
NameError: global name 'load_theme' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions