Stack Trace While Hacking
Darrin Thompson
darrint at progeny.com
Mon Apr 17 08:48:46 PDT 2006
Managed to get this traceback doing some wierd hacking with the api. I
was unable to put a guard and the beginning of the method to get around
this.
Traceback (most recent call last):
( 0%)
File "testit2.py", line 114, in ?
control.commitTransactionStepped(trans, confirm=False)
File "/usr/lib/python2.3/site-packages/smart/control.py", line 552, in
commitTransactionStepped
caching, confirm)
File "/usr/lib/python2.3/site-packages/smart/control.py", line 580, in
commitChangeSetStepped
self.commitChangeSet(cs, confirm=confirm)
File "/usr/lib/python2.3/site-packages/smart/control.py", line 518, in
commitChangeSet
pmclass().commit(pmcs, pkgpaths)
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
192, in commit
cb.grabOutput(False)
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
235, in grabOutput
self._rpmout()
File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line
263, in _rpmout
output = self.rpmout.read(BLOCKSIZE)
File "/usr/lib/python2.3/site-packages/smart/util/protectedread.py",
line 27, in protectedread
if self.charbuffer:
File "/usr/lib/python2.3/codecs.py", line 343, in __getattr__
return getattr(self.stream, name)
AttributeError: 'file' object has no attribute 'charbuffer'
--
Darrin
More information about the Smart
mailing list