View Single Post
Old 05-16-2010, 01:33 PM   #20
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Turning now to delete issue:

It seems to delete fine from the SD card via USB reader mount.
Sorry I can't test the HD2 - the wife has it.
The delete problem is intermittent on the the HD. I've tried C: (programs and boot) and E: (large raid). Both are intermittent. I checked:
Code:
    def delete_books(self, paths, end_session=True):
        for i, path in enumerate(paths):
            print 'i: ', i
            print 'path: ', path
            self.report_progress((i+1) / float(len(paths)), _('Removing books from device...'))
            if os.path.exists(path):
                print 'Path exists.'
                # Delete the ebook
                os.unlink(path)
The path is always valid (rooted in the linked folder), but it sometimes fails to enter "if os.path.exists(path):"

I'm not sure how important this is, since it seems to only appear when connected to a local drive.
Starson17 is offline   Reply With Quote