Recover snapshot crashes when the file cannot be accesed bu

Bug #215931 reported by Adrián
2
Affects Status Importance Assigned to Milestone
HD Lorean
In Progress
High
HD Lorean - Core

Bug Description

Trying to make snapshot by the user ends in this permission error:

Unhandled exception in thread started by <bound method Watcher.__threadedSnapshotRequest of <watcher.Watcher.Watcher object at 0x7fd716000250>>
Traceback (most recent call last):
  File "/home/winterfuse/IS/hdlorean/testing/src/hdloreand/watcher/Watcher.py", line 380, in __threadedSnapshotRequest
    completeContent = self.__getContent(path)
  File "/home/winterfuse/IS/hdlorean/testing/src/hdloreand/watcher/Watcher.py", line 310, in __getContent
    completeContent = completeContent + self.__recursiveGetContent(item)
  File "/home/winterfuse/IS/hdlorean/testing/src/hdloreand/watcher/Watcher.py", line 280, in __recursiveGetContent
    relativeCurrent = os.listdir(current)
OSError: [Errno 13] Permission denied: '/home/winterfuse/.root'

Not exactly same issue but related with similar behaviour is the next error when trying to recover a snapshot:

Unhandled exception in thread started by
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/service.py", line 774, in __repr__
    if (self._object_path is not _MANY
AttributeError: 'XDelta3Wrapper' object has no attribute '_object_path'

Revision history for this message
Adrián (adrianbn) wrote :

hdlorean-core and hdlorean-watcher should fix this bug in their own modules.

Changed in hdlorean:
assignee: nobody → hdlorean-core
importance: Undecided → High
Revision history for this message
Adrián (adrianbn) wrote :

Fixed in hdlorean-watcher module with push #102 of testing repo. Still remains in snapshot manager.

Revision history for this message
Adrián (adrianbn) wrote :

Fixed part, working on the rest

Changed in hdlorean:
status: New → In Progress
Revision history for this message
Adrián (adrianbn) wrote :

Core members, do you check file perms before trying to access it?

Revision history for this message
gnufede (gnu.fede) wrote : Re: [Bug 215931] Re: Recover snapshot crashes when the file cannot be accesed bu
  • unnamed Edit (720 bytes, text/html; charset=ISO-8859-1)

Me temo que no

On Sun, Apr 20, 2008 at 4:39 PM, Winterfuse <email address hidden> wrote:

> Core members, do you check file perms before trying to access it?
>
> --
> Recover snapshot crashes when the file cannot be accesed bu
> https://bugs.launchpad.net/bugs/215931
> You received this bug notification because you are a member of HD Lorean
> - Core, which is a bug assignee.
>

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

Other bug subscribers

Bug attachments

Remote bug watches

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