Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
grip
grip-errorhandling.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grip-errorhandling.patch of Package grip
For now, reduce this patch to to the two error logging functions, "doing it right"[tm] requires bigger changes which I have in principle ready but might need some final testing of the built packages, so this is the part which is 100% safe: ================================================================================ --- grip-3.2.0/src/rip.c +++ grip-3.2.0/src/rip.c @@ -1480,6 +1480,14 @@ bytesleft=BytesLeftInFS(ginfo->ripfile); if(bytesleft<(ginfo->ripsize*1.5)) { + /* + * We have to abort ripping because there is not enough space + * to rip the next track (plus an extra space just for safety) + * Let's show in the status window what we have and what we want: + */ + LogStatus(ginfo,_("Out of space while ripping: " + "%.1f MB left, wanted %.1f MB\n"), + (float)bytesleft/1000000, ginfo->ripsize*0.0000015); DisplayMsg(_("Out of space in output directory")); return FALSE; @@ -1735,6 +1743,13 @@ (gfloat)(ginfo->kbits_per_sec*1024)/600.0); if(bytesleft<(ginfo->mp3size[cpu]*1.5)) { + /* + * We have to abort encoding because there is not enough space + * to encode the next track (plus an extra space just for safety) + * Lets show in the status window what we have and what we want: + */ + LogStatus(ginfo,_("Out of space while encoding: %.1f MB left, wanted %.1f MB\n"), + (float)bytesleft/1000000, ginfo->mp3size[cpu]*0.0000015); DisplayMsg(_("Out of space in output directory")); return FALSE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor