have set the automatic log in but still the system is asking for password on log in and some time the place where the password as to be written does not accept any writing is block then I have to restart and hope
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: plainbox-provider-checkbox 0.3-2
ProcVersionSignature: Ubuntu 3.13.0-16.36-generic 3.13.5
Uname: Linux 3.13.0-16-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Fri Mar 7 13:26:38 2014
ExecutablePath: /usr/lib/plainbox-providers-1/checkbox/bin/removable_storage_test
InstallationDate: Installed on 2014-03-04 (2 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140301)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: python3 /tmp/nest-ljcb4_bi.3e5aa4faf85bd3b57f990d86ca257e70e5123b0dd09f39deff10d4c3ee875380/removable_storage_test -s 268400000 --memorycard sdio usb scsi
ProcEnviron:
PATH=(custom, user)
LANG=C.UTF-8
PythonArgs: ['/tmp/nest-ljcb4_bi.3e5aa4faf85bd3b57f990d86ca257e70e5123b0dd09f39deff10d4c3ee875380/removable_storage_test', '-s', '268400000', '--memorycard', 'sdio', 'usb', 'scsi']
SourcePackage: plainbox-provider-checkbox
Title: removable_storage_test crashed with OSError in write_file(): [Errno 5] Input/output error
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
The problem is in the section of the code (starts at line 124) that writes the file.
with outfile:
outfile. write(self. data)
logging. error(" Unable to write data to %s: %s", dest, exc)
return False
outfile. flush()
os.fsync( outfile. fileno( ))
return True
try:
except IOError as exc:
else:
We only catch exceptions if they happen during *writing* the file, but in this case they were thrown in the "else" section, where we're no longer expecting them to happen.
Moving all file operations so they're inside the "try" section should help here, but we need to consider the implications and reasons why this was in the "else" section in the first place. IMHO clearly if the write operation failed, we don't need to flush and sync.