* "yocto-kernel config list yocto-bsp" throws error
@ 2014-10-25 18:53 Mathias Rudnik
2014-10-25 19:36 ` Mathias Rudnik
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Rudnik @ 2014-10-25 18:53 UTC (permalink / raw)
To: yocto
Hi,
when issuing the command "$ yocto-kernel config list yocto-bsp" command
i get following error message:
Traceback (most recent call last):
File "/home/c0dix/Downloads/Font/poky/scripts/yocto-kernel", line
394, in <module>
ret = main()
File "/home/c0dix/Downloads/Font/poky/scripts/yocto-kernel", line
389, in main
invoke_subcommand(args, parser, yocto_kernel_help_usage, subcommands)
File "/home/c0dix/Downloads/Font/poky/scripts/lib/bsp/help.py", line
73, in invoke_subcommand
subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
File "/home/c0dix/Downloads/Font/poky/scripts/yocto-kernel", line 65,
in yocto_kernel_config_list_subcommand
yocto_kernel_config_list(scripts_path, args[0])
File "/home/c0dix/Downloads/Font/poky/scripts/lib/bsp/kernel.py",
line 191, in yocto_kernel_config_list
config_items = read_config_items(scripts_path, machine)
AttributeError: 'NoneType' object has no attribute 'readlines'
Any ideas how to solve this problem?
^ permalink raw reply [flat|nested] 2+ messages in thread
* "yocto-kernel config list yocto-bsp" throws error
2014-10-25 18:53 "yocto-kernel config list yocto-bsp" throws error Mathias Rudnik
@ 2014-10-25 19:36 ` Mathias Rudnik
0 siblings, 0 replies; 2+ messages in thread
From: Mathias Rudnik @ 2014-10-25 19:36 UTC (permalink / raw)
To: yocto
I just found out that whenever this error is thrown it means that there
is no kernel config file in the specified layer (here it was
meta-yocto-bsp).
Therefore the configuration options can't be listed.
I think it's very irritating that in such cases a traceback is printed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-25 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-25 18:53 "yocto-kernel config list yocto-bsp" throws error Mathias Rudnik
2014-10-25 19:36 ` Mathias Rudnik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.