I o error 123 как исправить
Описание: Общее обсуждение по аудиоплееру foobar2000
Сообщений: 7 • Страница 1 из 1
SAOPP » 25.01.2008, 12:24
Ребят, иногда, если бегать по листу, то при нажатии на воспроизведение любого трэка, фубар падает, и показывает мне следующую картинку:

Помню был разговор о албумарт, но тогда вродебы автор траблу поправил. Но что это сейчас тогда, кто-то может сказать? Заранее спасибо.
SAOPP Автор темы Возраст: 38 Откуда: Харьков Сити Репутация: 0 С нами: 17 лет
skipyrich » 25.01.2008, 19:51
Да ничего он не исправил
Помни! : пережатие из (wav|mp3|mpc|ogg|aac|. ) в (mp3|mpc|ogg|aac|. ) при любых битрейтах ухудшает качество
SAOPP » 25.01.2008, 20:19
Обновился сегодня до декабрьского билда албум арта, пока не замечал ничего.
skipyrich: Да ничего он не исправил
Т.е. трабла не только у меня?
SAOPP Автор темы Возраст: 38 Откуда: Харьков Сити Репутация: 0 С нами: 17 лет
meDveD » 28.01.2008, 03:38
на бетах работала и старая версия (0.2.6 — January 14, 2007),
а вот на 0.9.5 final выкидывает с этой ошибкой
и работает только последняя версией (0.2.7.1 — December 16, 2007)
но в новой версии ряд изменений,
я пока даже не знаю как заставить, чтобы новая версия этого плагина работала так же как старая..
http://www.last.fm/user/meDveD_spb
Mishail » 28.01.2008, 05:12
за финал не скажу, а вот на бетах моя панель (2.5.2 compiled: Apr 14 2007) работает нормально, после правки дефолтных рулов.
meDveD » 28.01.2008, 13:17
Mishail: за финал не скажу, а вот на бетах моя панель (2.5.2 compiled: Apr 14 2007) работает нормально, после правки дефолтных рулов.
думаю это ещё зависит от версии колумсов..
—
хотя нет, заработала и старая версия, вроде без ошибок пока..
Последний раз редактировалось meDveD 28.01.2008, 13:34, всего редактировалось 1 раз.
http://www.last.fm/user/meDveD_spb
SAOPP » 28.01.2008, 14:04
Возможно, у Михи новые, я же юзаю старьё. Но от 16 декабря вроде бы тишина, на счёт заставить работать так же ещё не разбирался, показывает, это и нужно.
Ошибка: Exception class EInOutError with message ‘I/O error 123’

Ошибка «raised exception class ejpeg with message ‘jpeg error #42»
Ошибка возникает при щелчке строки на таблице в котором нет изображения. Добавлено через 10.
Непонятная ошибка: Exception class EClassNotFound with message ‘Class TLabeledEdit not found’
Когда написал среду в Делфи для БД Access то при запуске выдает такую ошибку. project.
3488 / 2611 / 741
Регистрация: 19.09.2012
Сообщений: 7,972
Ты к пути к папке, в которой расположен исполняемый файл программы, прибавляешь еще путь к файлу.
Регистрация: 05.07.2016
Сообщений: 100
а можно как то исправить ситуацию не меняя адресов файлов
1437 / 1014 / 228
Регистрация: 31.05.2013
Сообщений: 6,645
Записей в блоге: 6

Сообщение было отмечено novi4ek_dll как решение
Решение
Сообщение от novi4ek_dll 
а можно как то исправить ситуацию не меняя адресов файлов
Можно. Например, так:
1 2 3 4 5 6 7 8 9 10 11 12 13
const Fn1 = 'D:\_print1_edited777\7.txt'; //Имя исходного файла. Fn2 = 'D:\_print1_edited777\6.txt'; //Имя файла с преобразованным текстом. var F1, F2 : File; Size : Integer; Path : String; SUtf8 : UTF8String; //UTF8String = AnsiString. SAnsi : AnsiString; begin AssignFile(F1, Fn1); AssignFile(F2, Fn2); Reset(F1, 1);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
const Fn1 = '7.txt'; //Имя исходного файла. Fn2 = '6.txt'; //Имя файла с преобразованным текстом. var F1, F2 : File; Size : Integer; Path : String; SUtf8 : UTF8String; //UTF8String = AnsiString. SAnsi : AnsiString; begin //Путь к папке, в которой расположен исполняемый файл программы. Path := ExtractFilePath(ParamStr(0)); AssignFile(F1, Path + Fn1); AssignFile(F2, Path + Fn2); Reset(F1, 1);
I o error 123 как исправить
I/O error 123 при поиске файлов
процедура поиска
procedure TForm1.findmp3; var searchResult : TSearchRec; dir_name : string; begin try if FindFirst('*.mp3', faAnyFile, searchResult) = 0 then begin repeat GetDir(0, dir_name); memo1.Lines.Add(dir_name + '\' + searchResult.Name); until FindNext(searchResult) <> 0; end; if FindFirst('*', faAnyFile, searchResult) = 0 then repeat if (searchResult.Attr and faDirectory) = faDirectory then if (searchResult.Name[1] <> '.') and (searchResult.Name <> 'System Volume Information') then begin ChDir(searchResult.Name); findmp3; ChDir('..'); end; until FindNext(searchResult) <> 0; except FindClose(searchResult); end; end;
а так запускаю поиск
procedure TForm1.Button1Click(Sender: TObject); var ld: DWORD; i: integer; drivechar : array [0..25] of string; k: integer; begin k := 0; ld := GetLogicalDrives; for i := 2 to 25 do begin if (ld and (1 shl i)) <> 0 then begin if (GetDriveType(PChar(Char(Ord('A') + i) + ':\')) = DRIVE_FIXED) or (GetDriveType(PChar(Char(Ord('A') + i) + ':\')) = DRIVE_REMOVABLE) then begin drivechar[i] := Char(Ord('A') + i) + ':\'; k := k + 1 ; end; end; end; /// ниже переходим на каждый найденный диск,занесенный в массив drivechar и выполняем поиск while k >= 0 do begin memo1.lines.add(drivechar[k]); ChDir(drivechar[k]); findmp3; k := k - 1; end; end;
и все бы ничего, ищет, заносит пути к найденным файлам в memo. но через некоторое время происходит ошибка «I/O error 123». Файлов mp3 на компьютере около 10000, находит примерно 5600 и появляется ошибка.
почему происходит ошибка? как сделать так чтобы корректно работало?
$me = $me == $me ? $me : $me;
Board index » delphi » I/O Error 123
I’m getting this error when I try to write to a file using writeln. The
file is on a WinXP system and the filename may contain spaces. I have
enclosed the full path and filename in «» to deal with the spaces.
Tue, 20 Nov 2007 00:34:04 GMT
Re:I/O Error 123
Quote
Jeff Patrick wrote:
> I’m getting this error when I try to write to a file using writeln.
> The file is on a WinXP system and the filename may contain spaces. I
> have enclosed the full path and filename in «» to deal with the
> spaces.
kinda, this is not uncommon with long filenames, many routines dont
suppose the non 8.3 filenames, and treat it as different commands, eg
Especially with parameters. I think if you’re doing it internally, eg
you do
filename:=’a long file.txt»;
You can probably get away with it, its more of the
myapp a long file.txt
will see
param 1=a
param 2=long
param 3=file.txt
there isnt much you can do about that, thats very very normal.
notepad c:\program files\borland\delphi5\readme.txt
edit c:\program files\borland\delphi5\readme.txt
notepad brings up the file, edit actually says «C:\documents and
settings\\files\borland\delphi5\readme.txt doesnt exist»
Tue, 20 Nov 2007 01:10:10 GMT
Re:I/O Error 123
That is what I figure, but wouldn’t enclosing the string in double quotes
take care of that? (i.e. strPath := ‘»c:\program files\test\»‘;) If not is
there another way around it? I’m trying to work with in a customer spec
that actually calls for directory and file names with spaces in them.
Quote
news:xn0e30z3dh8jvgx000@newsgroups.borland.com.
Quote
> Jeff Patrick wrote:
>> I’m getting this error when I try to write to a file using writeln.
>> The file is on a WinXP system and the filename may contain spaces. I
>> have enclosed the full path and filename in «» to deal with the
>> spaces.> kinda, this is not uncommon with long filenames, many routines dont
> suppose the non 8.3 filenames, and treat it as different commands, eg> c:\program files\
> turns into
> c:\program
> files\> Especially with parameters. I think if you’re doing it internally, eg
> you do> filename:=’a long file.txt»;
> You can probably get away with it, its more of the
> myapp a long file.txt
> will see
> param 1=a
> param 2=long
> param 3=file.txt> there isnt much you can do about that, thats very very normal.
> For example
> notepad c:\program files\borland\delphi5\readme.txt
> edit c:\program files\borland\delphi5\readme.txt> notepad brings up the file, edit actually says «C:\documents and
> settings\\files\borland\delphi5\readme.txt doesnt exist»