Backup no longer works on Mac OS X (threading cannot release un-acquired lock)

Bug #483126 reported by Rob Oakes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Time Drive
New
Critical
Unassigned

Bug Description

  File "/Users/RobOakes/Developer/Time-Drive/timedrive/background/backupjob.py", line 235, in run
    self.doBackupJob(include, str(au.archiveUrl), str(au.gnuPassphrase))
  File "/Users/RobOakes/Developer/Time-Drive/timedrive/background/backupjob.py", line 171, in doBackupJob
    combinedExcludeList.extend(self.buildExcludeList(include.ExcludeList, folderName))
  File "/Users/RobOakes/Developer/Time-Drive/timedrive/background/backupjob.py", line 130, in buildExcludeList
    if self.isValidExclude(e, mountpoint):
  File "/Users/RobOakes/Developer/Time-Drive/timedrive/background/backupjob.py", line 63, in isValidExclude
    log.Error(str(mountpoint + exclude.Item) + " could not be found, ignoring")
  File "/Users/RobOakes/Developer/Time-Drive/timedrive/utils/log.py", line 50, in Error
    Log(msg, logging.ERROR)
  File "/Users/RobOakes/Developer/Time-Drive/timedrive/utils/log.py", line 57, in Log
    _logger.log(verb_level, msg.decode("utf8", "ignore"))
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1084, in log
    self._log(level, msg, args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1129, in _log
    self.handle(record)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1139, in handle
    self.callHandlers(record)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1176, in callHandlers
    hdlr.handle(record)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 664, in handle
    self.release()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 618, in release
    self.lock.release()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 136, in release
    raise RuntimeError("cannot release un-aquired lock")

Rob Oakes (robertsoakes)
Changed in time-drive:
importance: Undecided → Critical
Revision history for this message
Philippe Delodder (lodder) wrote :

It's something in the logging facility as the last line of time drive code is:
File "/Users/RobOakes/Developer/Time-Drive/timedrive/utils/log.py", line 57, in Log
    _logger.log(verb_level, msg.decode("utf8", "ignore"))

The first call to the logging could be the problem:
File "/Users/RobOakes/Developer/Time-Drive/timedrive/background/backupjob.py", line 63, in isValidExclude
    log.Error(str(mountpoint + exclude.Item) + " could not be found, ignoring")

could you give me the content of the fields mountpoint and exclude.item as the error occurs?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.