Bug 400553

Summary: Can't add certain .wav files to project - get no details in error message
Product: [Applications] k3b Reporter: Lukas Sabota <lukas>
Component: Audio ProjectAssignee: k3b developers <k3b>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, lukas, michalm, trueg
Priority: NOR    
Version: 18.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: example of wav file that can be imported into k3b
example of wav file that CANNOT be imported into k3b audio project

Description Lukas Sabota 2018-11-01 16:19:40 UTC
SUMMARY
Some types of wav files are not accepted by k3b in "Audio Project" mode.  When attempting to add certain wav files to a k3b project, an error dialog titled "Sorry - K3b" with the text "Problems while adding files to the project." is shown - and no details are provided (even after clicking the details button).

Not *all* wav files exhibit this issue, but some do.  I will be attaching two separate files:  one is an example of something that works, and one is an example that does *not* work.

WORKING EXAMPLE
filename: Yamaha-V50-Synbass-1-C2.wav 
"file" output: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

NON WORKING EXAMPLE:
filename:  perfectRoll.wav
"file" output: RIFF (little-endian) data, WAVE audio

STEPS TO REPRODUCE
1. Have "perfectRoll.wav" available on your system.
2. Open K3b and select new audio project
3. Drag and drop "perfectRoll.wav" into the audio project

OBSERVED RESULT
Error dialog titled "Sorry - K3b" with the text "Problems while adding files to the project." is shown - and no details are provided (even after clicking the details button).


EXPECTED RESULT
File to be added to project


SOFTWARE VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.14.2
Qt Version: 5.11.2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.18.16-arch1-1-ARCH
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 15.6 GiB of RAM


ADDITIONAL INFORMATION
Sample files (perfectRoll may be too large to upload to tracker)
https://xannode.com/Yamaha-V50-Synbass-1-C2.wav
https://xannode.com/perfectRoll.wav
Comment 1 Lukas Sabota 2018-11-01 16:20:00 UTC
Created attachment 116025 [details]
example of wav file that can be imported into k3b
Comment 2 Lukas Sabota 2018-11-01 16:21:46 UTC
Created attachment 116026 [details]
example of wav file that CANNOT be imported into k3b audio project
Comment 3 Patrick Silva 2018-11-01 23:02:18 UTC
probably duplicate of bug 399056

bug with details button in the error message was reported as bug 387473
Comment 4 Patrick Silva 2020-02-06 01:30:00 UTC

*** This bug has been marked as a duplicate of bug 399056 ***