FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

Exception in 'open_file'

Open kliffgomel opened this issue 7 months ago • 2 comments

FastFlix 5.12, Windows 11 26100.4061 An error occurs when opening some mkv source files.

fastflix[76048] ERROR Exception in 'open_file': 'str' object has no attribute 'name' - args: (<fastflix.widgets.main.Main(0x24a47c678b0, name="Main") at 0x0000024A4B840A80>,) Traceback (most recent call last): File "fastflix\widgets\main.py", line 327, in File "reusables\wrappers.py", line 293, in wrapper File "reusables\wrappers.py", line 285, in wrapper File "fastflix\widgets\main.py", line 1139, in open_file File "fastflix\widgets\main.py", line 1829, in page_update File "fastflix\widgets\main.py", line 1780, in build_commands File "fastflix\encoders\hevc_x265\command_builder.py", line 83, in build File "fastflix\encoders\common\helpers.py", line 278, in generate_all File "fastflix\encoders\common\attachments.py", line 21, in build_attachments File "fastflix\encoders\common\attachments.py", line 11, in image_type AttributeError: 'str' object has no attribute 'name'

Jackie.Brown.1997.2160p.UHD.BluRay.REMUX.DV.HDR.HEVC.DTS-HD.MA.5.1-SpaceHD13.ffprobe_video.txt

kliffgomel avatar May 16 '25 07:05 kliffgomel

you should read the #654 and try the changes implied - should work for your situation also

larsk2 avatar May 16 '25 13:05 larsk2

My app started doing this on every file I try. I was working fine yesterday, it worked OK for one file today, now every file I try does this same error. I have no idea what the implied fix is in post 654. There is no "replace this code with that code". Using Fastflix 5.12.0

Looks like a temporary solution is to remux the source file and delete the cover.jpg attachment. When I coded a new video before this error, the cover.jpg was never carried over to begin with, I always had to remux it back to the resulting file. Should the cover.jpg had been carried over?

Krawk avatar Jun 29 '25 20:06 Krawk