jafeha / parabird

Simple script written in python to build an os independent truecrypt encrypted usb-stick containing a portable thunderbird, enigmail, torbirdy and vidalia.
GNU General Public License v3.0
11 stars 7 forks source link

IO Error #50

Closed jojoo- closed 11 years ago

jojoo- commented 11 years ago

[INFO::main]: Extracting Applications /private/var/folders/Ym/YmMCc80nE8asn34XiR-k4++++TI/-Tmp-/tmpwnx4ZS/GPGTools-20130330.dmg Traceback (most recent call last): File "parabird_build.py", line 283, in shutil.copy2(os.path.join(tempdir+"/"+parser.get('enigmail', 'file')), os.path.join(parser.get('thunderbird_windows', 'path'), 'core/distribution/extensions/', ID+'.xpi')) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 5] Input/output error: u'/private/var/folders/Ym/YmMCc80nE8asn34XiR-k4++++TI/-Tmp-/tmpcG0tBB/apps/win/thunderbird/core/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}.xpi'

maybe the stick is fried, maybe there is another error. i tend to blame it on the possibility

jafeha commented 11 years ago

Afair i had the same error with my fried sticks, I'd blame the hardware.

jojoo- commented 11 years ago

note for redesign: catch IOErrors when writing or writing from USB and log a error: your stick might be broken