ryanheise / just_audio

Audio Player
1.05k stars 677 forks source link

LockCachingAudioSource._fetch _File.renameSync issue #1032

Open AmmarZY opened 1 year ago

AmmarZY commented 1 year ago

The following error is reported by firebase analytics regarding LockCachingAudioSource._fetch method, where an exception is thrown by _File.renameSync (dart:io)

Error messages

Fatal Exception: FlutterError PathNotFoundException: Cannot rename file to '/var/mobile/Containers/Data/Application/DFBCF9C9-13D9-4E3D-853D-7487BF63D8A2/Library/Caches/todayprayers_audio/zeyarat_ashuraa_abather.mp3', path = '/var/mobile/Containers/Data/Application/DFBCF9C9-13D9-4E3D-853D-7487BF63D8A2/Library/Caches/todayprayers_audio/zeyarat_ashuraa_abather.mp3.part' (OS Error: No such file or directory, errno = 2)

Fatal Exception: FlutterError 0 ??? 0x0 _File.renameSync (dart:io) 1 ???

No errors occur

github-actions[bot] commented 1 year ago

Oops, it appears that your issue did not follow the template and is missing one or more required sections. Please open a new issue, and provide all required sections and information.

FAQ:

  1. Do I really need to submit a minimal reproduction project for a bug? A: Yes. I prioritise bugs secondarily on how many people are affected, and primarily on whether the bug report is complete, in the sense that it enables me to immediately reproduce it and start working on a fix. If a bug is important to you, the best thing you can do is to provide all requested information ASAP so that I can start looking into it ASAP.

  2. I think I supplied all required information, so did the bot make a mistake? A: The bot only checks the section headings, so when you post a new issue, make sure you leave the section headings intact. (Note that because of this, it is even possible to trick the bot by including only the section headings, and then not providing the requested information under each heading. This is frowned upon, and the issue will be closed manually.)

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.