Shawn Walker wrote:
> Virginia Wray wrote:
>   
>> Hi -
>>
>> I noticed at the end of installation of my latest test image......
>> when I rebooted, the system printed a live-fs-root failure message.
>> It appears that the clean up that needs to happen at the end of the 
>> installation is not happening properly.
>>
>>
>> I'm seeing this in the finish_log of the slim live cd.
>>
>> editing GRUB menu: bootadm update-menu -R /a -Z -o /dev/rdsk/c4t0d0s0
>> bootadm: get_grubroot(): cannot get (hd?,?,?) for menu. menu not on 
>> bootdisk: /dev/rdsk/c4t0d0s0
>> Creating boot_archive for /a
>> updating /a/platform/i86pc/amd64/boot_archive
>> updating /a/platform/i86pc/boot_archive
>> 16 blocks
>> Traceback (most recent call last):
>>   File "/usr/bin/pkg", line 2185, in ?
>>     __img.history.operation_result = \
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/history.py", line 
>> 196, in
>> __setattr__
>>     if self.__save():
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/history.py", line 
>> 407, in
>> __save
>>     encoding=sys.getdefaultencoding())
>>   File 
>> "/var/tmp/pkgbuild-gbuild/SUNWPython-extra-2.4.2-build/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py",
>>  
>> line 1746, in writexml
>>   File 
>> "/var/tmp/pkgbuild-gbuild/SUNWPython-extra-2.4.2-build/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py",
>>  
>> line 821, in writexml
>>   File 
>> "/var/tmp/pkgbuild-gbuild/SUNWPython-extra-2.4.2-build/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py",
>>  
>> line 816, in writexml
>>   File 
>> "/var/tmp/pkgbuild-gbuild/SUNWPython-extra-2.4.2-build/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py",
>>  
>> line 304, in _write_data
>> AttributeError: 'NoneType' object has no attribute 'replace'
>>     
>
> This particular error indicates that some value that should have been 
> defined is None instead causing minidom to fail.
>
> It's difficult to say what the real problem is without reproducing the 
> issue and doing some debugging.
>
> The unhelpful error is courtesy of minidom.
>
> Can you file a bug for this?
>   
Having recently debugged a problem with a similar back trace, I can 
offer the advice to do the following:
Add
if attrs[a_name] is None:
        print "a_name without attrs is:%s" % a_name

between lines 815 and 816 of 
/usr/lib/python2.4/vendor-packages/_xmlplus/dom/minidom.py
Remove your /usr/lib/python2.4/vendor-packages/_xmlplus/dom/minidom.pyc 
file, just to be certain it will get updated. Then repeat the steps 
needed to generate the above stacktrace, and look for the output of the 
printline. It will most likely be just before the traceback appears. 
That info might help us narrow down the problem.

Hope that helps,
Brock


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to