stepan at openbios.org
Wed Dec 1 11:20:01 CET 2004
the error disclosure of the config tool is a little bit mystic.
Building the sandpoint configuration says the following:
Creating directory motorola_sandpoint/only
Traceback (most recent call last):
File "motorola_sandpoint/config.py", line 2732, in ?
File "motorola_sandpoint/config.py", line 2649, in writecode
gencode(image.getroot(), file, 1)
File "motorola_sandpoint/config.py", line 2654, in gencode
File "motorola_sandpoint/config.py", line 804, in gencode
file.write("struct device **last_dev_p = &%s.next;\n" %
AttributeError: 'int' object has no attribute 'instance_name'
This looks like an error in the config tool, while it is a mistake in the
config file. Is there any easy way to point the user/developer to the
place in the config file that is wrong (rather than printing a python
traceback)? This could make it a lot easier for newbies to create fresh
linuxbios ports to motherboards whose hardware is basically already
supported and it could safe the regulars quite some time comparing
config files between the ports...
More information about the coreboot