MediaArea / MediaConch

MediaConch (funded by PREFORMA)
29 stars 11 forks source link

MediaConch GUI crashes when clicking any of the view buttons #122

Closed Elorrain closed 8 years ago

Elorrain commented 8 years ago

I'm using MediaConch GUI Version 16.02 on OS X 10.6.8. When I click any of the 'view report' buttons when the analyse of a file is completed, MediaConch crashes and quits. This is always the case no matter what kind of file format I check, including several FFV1/MKV files. I don't have another computer around me right now, can it be linked to my OS version? I attach the crash report.

crash_report_10_6_8.zip

tribouille commented 8 years ago

Hi,

it should not related to the OS version. Can you try to move your GUI database? On Mac, you can find it in: ~/Library/Application Support/MediaConch/MediaConchUi.db.

Then, try a simple file (this one, without policy/display for instance : https://github.com/MediaArea/MediaConch_SampleFiles/raw/master/PolicyTestFiles/FFV1/ffv1_test_pixfmt-bgr0_coder-0_level-1.mkv). If you still have an error, put back the database. If it works, maybe try to add a file (with the policy) you used.

If it works or not, you can put back the database, it should be enough to have some directions.

Thanks, Florent.

Elorrain commented 8 years ago

Hi Florent, I moved the MediaConchUi.db. away from the MediaConch folder and used your file. MediaConch was still crashing. But one thing I've noticed is that with any file, if I click on the 'view' button of 'implementation' before the 'view' button of MediaInfo report, it doesn't crash. If I click on the MediaInfo report 'view' button directly after the analysis is done, it crashes. I've tested with and without the database file in the folder but it's always the same. Also the MediaInfo report view window doesn't display anything (stays on loading…).

mediaconch_capture

Thanks.

tribouille commented 8 years ago

Ok, thank you, I'll try to find out what is the problem.

Just to be sure, the file was finished to be analyzed? (the box on the right is green) Does the Implementation report was displaying something when you clicked on it?

Last question, which package did you use? (Homebrew, from https://mediaarea.net/MediaConch/downloads/mac_os.html, compiled, something else...)

Thanks.

Elorrain commented 8 years ago

Yes, the analyse was completed and the box was green. I attach a screenshot of the implementation report when I click on it: capture d ecran 2016-03-11 a 14 59 51

I got my version from https://mediaarea.net/MediaConch/downloads/mac_os.html Thanks.

tribouille commented 8 years ago

Ok, that's weird :S

Does your MediaInfoLib and ZenLib are up-to-date? The report generated is not correct... and the crash could happen due to an internal error between interfaces.

If you have access to the CLI, can you try to do : MediaConch -mi -fx /Users/o/Desktop/temp/ffv1_test_pixfmt-bgr0_coder-0_level-1.mkv (I took the file path from the report) and see if the xml generated seems correct?

Thanks,

JeromeMartinez commented 8 years ago

Does your MediaInfoLib and ZenLib are up-to-date?

@tribouille on Mac MediaInfoLib and ZenLib are embedded in the MediaConch binary.

JeromeMartinez commented 8 years ago

I can reproduce the crash.

Elorrain commented 8 years ago

@tribouille When using the CLI the XML seems correct, here's the full output in attachment:

mediaconch_cli_output.txt

tribouille commented 8 years ago

Ok, thanks. I suppose the github presentation destroyed the XML output...

We finally found the problem... The Mac release was not compiled with SQLite support. So, the UI database was not correct. And the backup for the no-SQL was buggy... Which makes the GUI crashing.

We're rebuilding the GUI with the correct support and debugging the wrong behavior.

Elorrain commented 8 years ago

Great ! Thanks.

JeromeMartinez commented 8 years ago

Development snapshot is OK now.

Elorrain commented 8 years ago

Looks like it is fixed now with the new package. I don't get any crash anymore.