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

audio file selection crashes QualCoder #913

Closed
ilippert opened this issue Jun 10, 2024 · 1 comment
Closed

audio file selection crashes QualCoder #913

ilippert opened this issue Jun 10, 2024 · 1 comment

Comments

@ilippert
Copy link
Contributor

Describe the bug :


Fresh Fedora install, fresh install of QualCoder directly pulled from master.

Initial install does not get VLC right (vlc missing) (even though vlc was instaleld with dnf).

#794 (comment) seems to fix the vlc missing report. But then, when I click on an mp3 file, QualCoder crashes, so, maybe a follow up to #889. But the error message is different now.

To Reproduce :

  • Code audio/video
  • click on an audio file

leads to crash, core dump.

Expected behavior :


vlc to open

Shell message :

'NoneType' object has no attribute 'stop'
remove: path should be string, bytes or os.PathLike, not NoneType
'NoneType' object has no attribute 'stop'
Segmentation fault (core dumped)

Desktop (please complete the following information):

  • OS: Fedora
  • Version 40

More Research: managing files
When Manage files and selecting an audio/video files, I get on the shell more detailed errors

'NoneType' object has no attribute 'stop'
remove: path should be string, bytes or os.PathLike, not NoneType
'NoneType' object has no attribute 'stop'
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 14 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libbs2b --enable-libcodec2 --enable-libcdio --enable-libdrm --enable-libjack --enable-libjxl --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libharfbuzz --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libplacebo --enable-librsvg --enable-librav1e --enable-librubberband --enable-libsmbclient --enable-version3 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libshaderc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-avfilter --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libvpl --enable-runtime-cpudetect
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ingmarlippert/Documents/GU/Hessenbox/Teaching/deep.teaching/QualCoder project/deep.teaching.qda/video/IMG_9095.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2023-11-09T14:42:58.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone X
    com.apple.quicktime.software: 16.7.1
    com.apple.quicktime.creationdate: 2023-11-03T15:40:58+0100
    com.apple.photos.originating.signature: AQk1C0nCfyBr3RfN7Ogwuwn90KNQ
  Duration: 00:00:56.20, start: 0.000000, bitrate: 22695 kb/s
  Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 93 kb/s (default)
    Metadata:
      creation_time   : 2023-11-09T14:42:58.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 3840x2160, 22570 kb/s, 24 fps, 24 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2023-11-09T14:42:58.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : H.264
  Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2023-11-09T14:42:58.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2023-11-09T14:42:58.000000Z
      handler_name    : Core Media Metadata
  Stream #0:4[0x5](und): Data: none (mebx / 0x7862656D), 27 kb/s (default)
    Metadata:
      creation_time   : 2023-11-09T14:42:58.000000Z
      handler_name    : Core Media Metadata
Stream mapping:
  Stream #0:0 (aac) -> aformat:default
  showwavespic:default -> Stream #0:0 (png)
Press [q] to stop, [?] for help
Output #0, image2, to '/home/ingmarlippert/Documents/GU/Hessenbox/Teaching/deep.teaching/QualCoder project/deep.teaching.qda/audio/waveform.png':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    com.apple.photos.originating.signature: AQk1C0nCfyBr3RfN7Ogwuwn90KNQ
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone X
    com.apple.quicktime.software: 16.7.1
    com.apple.quicktime.creationdate: 2023-11-03T15:40:58+0100
    encoder         : Lavf60.16.100
  Stream #0:0: Video: png, rgba(progressive), 1020x100 [SAR 1:1 DAR 51:5], q=2-31, 200 kb/s, 1 fps, 1 tbn
    Metadata:
      encoder         : Lavc60.31.102 png
[image2 @ 0x55bb0ca33a40] The specified filename '/home/ingmarlippert/Documents/GU/Hessenbox/Teaching/deep.teaching/QualCoder project/deep.teaching.qda/audio/waveform.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x55bb0ca33a40] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x55bb0ca33940] video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
Segmentation fault (core dumped)

I note that

'NoneType' object has no attribute 'stop'
remove: path should be string, bytes or os.PathLike, not NoneType

is also appearing without the core dump.

Potential pragmatic question: how to disable the waveform?

@ilippert
Copy link
Contributor Author

ilippert commented Jun 10, 2024

Sorry, I note that the end of the error message seems still to be the same as earlier this year at #889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant