From: Geoff O. <oa...@us...> - 2005-01-22 04:31:54
|
No you're not, this is a genuine bug: running out of disc space isn't handled in a reasonable way. Thanks for brining it up! Geoff On Fri, Jan 21, 2005 at 09:03:05PM -0600, James Evans wrote: > Ok, I'm a moron. After extensive debugging and trial modifications of my > software, it was that I was out of disk space. After freeing up enough > space it ran to completion with no errors. > > <sigh> I think I've been working on this too much today. > > Thanks, > > james > > Geoff Oakham said: > > Ok, Let's check the obvious first: are you low on disc space? Second, > > try modifying line 111 of src/userfile.c to print out the integer > > "errno" when the error happens. For example: > > > > ifp_wrn("error writing downloaded file: %d bytes written instead of %d; > > errno %d", > > j, i, errno); > > > > .. and see what happens. > > > > Good luck, > > > > Geoff > > > > On Fri, Jan 21, 2005 at 08:02:33PM -0600, James Evans wrote: > >> While testing my python bindings for libifp I'm getting errors during a > >> batch download. The situation is that I'm using ifp_download_dir to > >> download the root (\) directory to make a backup of the files on the > >> iFP. > >> > >> wrn: [_ifp_read_stream_progress] error writing downloaded file: 12288 > >> bytes written instead of 16384 > >> err: [_download_file] err=16384. problem reading.. > >> ifp:\\music\Classical > >> Chillout Volume 2\Craig Armstrong - Weather Storm.ogg > >> err: [_ifp_download_dir] err=16384. couldn't download file > >> ifp:\\music\Classical Chillout Volume 2\Craig Armstrong - Weather > >> Storm.ogg > >> err: [ifp_download_dir] err=16384. couldn't download directory ifp:\\ > >> > >> ifp_error_message returns "internal error.. unknown error number." > >> > >> It happens at a different spot during the download each time I try. Its > >> failed on the first file, and in this case it downloaded almost 100 > >> files. > >> > >> Since it occurs at such different places during the download I don't > >> think > >> its a leak in the python bindings. > >> > >> Anyone seen this before? > >> > >> Thanks, > >> > >> james evans > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > >> Tool for open source databases. Create drag-&-drop reports. Save time > >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >> _______________________________________________ > >> Ifp-driver-common mailing list > >> Ifp...@li... > >> https://lists.sourceforge.net/lists/listinfo/ifp-driver-common > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Ifp-driver-common mailing list > > Ifp...@li... > > https://lists.sourceforge.net/lists/listinfo/ifp-driver-common > > > -- PGP fingerprint: 8ADC 92E1 6782 D034 E0E3 8EF4 EA4D 25E3 C17C 48D2 "If you want to learn more about guns, get a job at [an American] convenience store or visit our website at ... " --Michael Moore |