Open choksi81 opened 10 years ago
Author: albert Here's what my Android install gives me when the SD card is full:
1344002090.48:PID-3340:Traceback (most recent call last):
File "/mnt/sdcard/sl4a/seattle/seattle_repy/nmrequesthandler.py", line 100, in handle_request
File "/mnt/sdcard/sl4a/seattle/seattle_repy/nmrequesthandler.py", line 235, in process_API_call
File "/mnt/sdcard/sl4a/seattle/seattle_repy/nmAPI.py", line 2948, in readvessellog
File "/home/manuel/AptanaStudio3Workspace/python-for-android/python-build/output/usr/lib/python2.6/shutil.py", line 57, in copyfile
IOError: [28](Errno) No space left on device
Seash on the other hand only gives me an Node Manager error 'Internal Error'
Author: albert
Catching file.write()
's exceptions yields
[28](Errno) No space left on device
It's not clear from looking at the docs what we do when the disk is full. We should take this into account and act in a sane manner.
Both Repy and Repy V2 need to have something done for this in their programming APIs.