unable to commit transaction

Yvan Strahm yvan.strahm at gmail.com
Tue Sep 27 19:35:52 PDT 2005


Hello,

I get this error message then I try to commit the upgrade. Is this a 
python problem? I am using:
python-2.3.4-13.1
smart-0.39-1.1.fc3.rf
on a Fedora core 3 machine with 2.6.12-1.1378_FC3 as kernel.

Thank you for your help

Yvan

Committing transaction...
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line 
252, in _rpmoutthread
    self._rpmout(True)
  File "/usr/lib/python2.3/site-packages/smart/backends/rpm/pm.py", line 
262, 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'
Traceback (most recent call last):
  File "/usr/bin/smart", line 193, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 166, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.3/site-packages/smart/interface.py", line 53, 
in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.3/site-packages/smart/commands/upgrade.py", 
line 182, in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.3/site-packages/smart/control.py", line 464, in 
commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, 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 
246, in grabOutput
    self.rpmoutlock.release()
thread.error: release unlocked lock




More information about the Smart mailing list