Video-Hub-App icon indicating copy to clipboard operation
Video-Hub-App copied to clipboard

How to identify cause of loading getting 'stuck'

Open jamesfpb opened this issue 4 years ago • 5 comments

I am running Video Hub App on MacBookPro (2019) on Monterrey. I have current hub set to watch for changes on my content folder. On every start-up, the load process runs and get stuck at 50%. I assume it is choking on one of my mp4 files but can't see any that are obviously missing or without clips/screenshots etc How can I identify the source of the problem? Is there a log file somewhere? (this may be a good item to add into the user guide troubleshooting section) Many thanks Screen Shot 2022-01-20 at 12 24 26 PM !

jamesfpb avatar Jan 20 '22 20:01 jamesfpb

Thank you for the bug report. The "watch for changes" will do the equivalent of the Rescan button. I suspect if you press stop and then click Rescan in the 4th tab (Current hub) in Settings, the same behavior will happen.

You can use Debugtron to see the logs - perhaps it will show what went wrong (though I'm afraid the app might not be logging individual video file names).

I have noticed a few times when using the app that the progress bar indicator gets stuck; there's a good chance that it's not related to the app being stuck on a file, but a matter of the user interface not receiving the "done scanning" message 🤔

If you think of anything else that might be useful in debugging this issue, please do share 🤝

* note: the logging I'm talking about happens only inside the app during runtime and is never written to disk or sent out anywhere -- this is purely console.log() inside node (the technology that runs the code) 👌

whyboris avatar Jan 21 '22 15:01 whyboris

I'm seeing this same thing

newadventure079 avatar Mar 22 '23 03:03 newadventure079

I'm seeing the same thing. Is there any logging for this without having to install 3rd party software?

neilgrz avatar Nov 23 '23 23:11 neilgrz

@neilgrz - there is no logging in the distributed software (demo or purchased version); installing Debugtron should show some of the logs.

For any logging you'd like, you can run the software from the source code (see the Readme for instructions).

The scan should not get stuck on any video for longer than setExtractionDurations function sets.

I'd love to figure out what is breaking on other people's computers, but I've not been able to replicate 😓

whyboris avatar Nov 24 '23 17:11 whyboris

@whyboris Thanks for the info. I was able to use process of elimination and found my hanging issue to be two videos that were corrupt/wouldn't play. This is with the "watch folder" option on.

After cleaning that up and all was good, I was also able to reproduce the issue again on demand by putting a 0 byte .mkv file (blank txt file simply renamed with extension mkv) in the "watch folder". With that "bad" video in place and then starting Video Hub App, the title bar sits at "loading - 0%" and pulsating green dot indefinitely until the dud file is removed or "watch folder" is disabled.

neilgrz avatar Nov 24 '23 21:11 neilgrz