Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add file fail #522

Closed
pcl5x2008 opened this issue Sep 5, 2023 · 2 comments
Closed

add file fail #522

pcl5x2008 opened this issue Sep 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pcl5x2008
Copy link

pcl5x2008 commented Sep 5, 2023

add file show error
image
here is the log and videofile

Traceback (most recent call last):
  File "fastflix\widgets\progress_bar.py", line 94, in run
    task.command(config=self.app.fastflix.config, app=self.app, **task.kwargs)
  File "fastflix\flix.py", line 430, in detect_interlaced
    for line in output.stderr.splitlines():
                ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'splitlines'
2023-09-05 21:10:37,402 - fastflix      ERROR    Exception in 'run': 'NoneType' object has no attribute 'splitlines' - args: (<fastflix.widgets.progress_bar.ProgressBar(0x1a5866539c0, name="ProgressBar") at 0x000001A580486740>,)
Traceback (most recent call last):
  File "reusables\wrappers.py", line 285, in wrapper
  File "fastflix\widgets\progress_bar.py", line 94, in run
    task.command(config=self.app.fastflix.config, app=self.app, **task.kwargs)
  File "fastflix\flix.py", line 430, in detect_interlaced
    for line in output.stderr.splitlines():
                ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'splitlines'
2023-09-05 21:10:37,403 - fastflix      ERROR    Could not properly read the files F:\番剧\23七月\白圣女与黑牧师\[ANi] 白聖女與黑牧師 - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT].mp4
Traceback (most recent call last):
  File "fastflix\widgets\main.py", line 1474, in update_video_info
    ProgressBar(self.app, tasks, hidden=hide_progress)
  File "fastflix\widgets\progress_bar.py", line 63, in __init__
    self.run()
  File "reusables\wrappers.py", line 293, in wrapper
  File "reusables\wrappers.py", line 285, in wrapper
  File "fastflix\widgets\progress_bar.py", line 94, in run
    task.command(config=self.app.fastflix.config, app=self.app, **task.kwargs)
  File "fastflix\flix.py", line 430, in detect_interlaced
    for line in output.stderr.splitlines():
                ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'splitlines'

[link removed by admin]

@pcl5x2008 pcl5x2008 added the bug Something isn't working label Sep 5, 2023
@tidypy
Copy link

tidypy commented Mar 29, 2024

Research indicates: "try to use the split() method, on a list object instead of a string."
I have the same issue.
Workarounds tried: "adding attributes in properties", Running as Admin, Changing file Permissions, Tried various files and filetypes.

Code change required.

cdgriffith added a commit that referenced this issue Aug 6, 2024
* Adding #536 Improve Profiles - save advanced options (thanks to CelticTaonga and DCNerds)
* Fixing #185 audio channels not being set properly and resetting on encoder change (thanks to Tupsi)
* Fixing #522 add file fails - fixed as of 5.7.0 (thanks to pcl5x2008)
* Fixing #531 list limitation in readme that FFmpeg must support the software encoders listed (thanks to brunoais)
@cdgriffith
Copy link
Owner

Should be fixed as of 5.7.0!

cdgriffith added a commit that referenced this issue Aug 9, 2024
* Adding #283 support for experimental DTS (dca) audio by adding -strict -2 (thanks to Sub7)
* Adding #354 M1 support (thanks to Nhunz and Anton)
* Adding #536 Improve Profiles - save advanced options (thanks to CelticTaonga and DCNerds)
* Adding #568 center app on startup (thanks to Viet-Duc Le)
* Adding #589 support for pydantic 2.x (thanks to dmo marillat)
* Adding #592 Add alpha channel for VP9 (thjanks to subof)
* Fixing #185 audio channels not being set properly and resetting on encoder change (thanks to Tupsi)
* Fixing #522 add file fails - fixed as of 5.7.0 (thanks to pcl5x2008)
* Fixing #531 list limitation in readme that FFmpeg must support the software encoders listed (thanks to brunoais)
* Fixing #567 Profiles for WebP did not work (nor GIF dither) (thanks to jpert)
* Fixing #582 BT.2020-10 Color transfer not maintained (thanks to Ryushin)
* Fixing #585 error when trying to return a video from queue that has the video track after audio or subtitiles (thanks to Hankuu)
* Fixing #586 audio channels being set incorrectly (thanks to Hankuu)
* Fixing #588 audio and subtitle dispositions were not set from source (thanks to GeZorTenPlotZ)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants