OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.35k stars 544 forks source link

App freezes when no connection available #5002

Open dv0vd opened 1 year ago

dv0vd commented 1 year ago

Describe the bug Sometimes my Internet connection interrupts. My WiFi is still on, but my computer can't connect to the Internet due to problems with my Internet provider. If I start the app during this time and try to open a project it just freezes. Also, this happens if I deny Internet access via opensnitch. In the logs, there is an error: ERROR version: Failed to get version from: http://www.openshot.org/version/json/. If I open the app when my WiFi is off - everything all right.

Steps to reproduce the behavior:

  1. Disconnect the ethernet cable from your router or deny Internet access to openshot using opensnitch
  2. Open the app and open a project or open your .osp file directly
  3. See app freeze

Expected behavior Open the project with active connection, but without the Internet connection without any errors.

System Details

Log Files

Exception / Stacktrace No stacktrace found in log files

Screenshots (Optional) If applicable, add screenshots to help explain your problem. You can include screenshots by copy/pasting them on GitHub or dragging-and-dropping into the GitHub page. All images are public, so please don't post screenshots containing personal information.

Colorjet3 commented 1 year ago

Please try the latest dev daily build of v3.0.0 and see if the problem persists. I was not able to replicate this issue in Windows or Ubuntu. Go to openshot.org/download/#daily and get the latest daily available.

dv0vd commented 1 year ago

Unfortunately , didn't found 3.0.0-dev build, that's why tested it on OpenShot-v3.0.0-x86_64.AppImage. The problem still persists. In the video you may see that the first time I tried with the Internet connection available and everything was fine, but the second try was without the Internet - and the app froze

https://user-images.githubusercontent.com/100205424/218253382-ca673a5a-0f57-4c27-92c8-3dc1024ea431.mp4

Colorjet3 commented 1 year ago

Hello @dv0vd I really don't know why this is happening. I am going to ping the lead developer and have him debug this issue.

By the way, you should be able to find the latest DEV Daily build at openshot.org/download/#daily.

dv0vd commented 1 year ago

Well, maybe I'm stupid but I really don't see v3.0.0-dev-daily here https://github.com/OpenShot/openshot-qt/releases/tag/daily, sorry( There are only v3.0.0-release-candidate and v3.0.0-daily, and only v2.6.1-dev-daily. Anyway, thank you very much for the support, hope you can figure out the problem. Have a nice day!

Colorjet3 commented 1 year ago

Hello @dv0vd, please try this to get the latest DEV daily.

  1. go to openshot.org.
  2. from the top menu options click on DOWNLOAD (https://www.openshot.org/download/).
  3. In the middle of the page find and click on "Daily Builds".
  4. You should see a listing of daily builds.
  5. Please download build #10996
Colorjet3 commented 1 year ago

Hello @dv0vd Have you had a chance to try downloading build #10996 and giving it a try?

dv0vd commented 1 year ago

Hi @Colorjet3 ! Yep, just finished testing. Unfortunately, the same exception(((

https://user-images.githubusercontent.com/100205424/219128574-3418a3d8-e958-4fd5-aab3-1a776d2edb4e.mp4

Colorjet3 commented 1 year ago

Thank you @dv0vd for the update. Pinging the development team again.

dv0vd commented 1 year ago

Okay, thanks)

Colorjet3 commented 1 year ago

Hello @dv0vd I see that there was no response to this. v3.1.1 has been released so if you don't mind giving it a try and let us know if the issue still exists.

dv0vd commented 1 year ago

Sure, with pleasure!

dv0vd commented 1 year ago

Unfortunately, the issue still exists. When the Internet enabled, but not active it takes more time for the app to start and finally it freezes. However, if I disable the Internet connection everything is fine

https://user-images.githubusercontent.com/100205424/236665877-61d02dd5-c162-4089-99fa-f8243a3b1279.mp4

Colorjet3 commented 1 year ago

Hello @dv0vd Thank you so much for this video. I will ping the lead developer to see if he can take a look at this. He is working on a similar issue reported by another user and hopefully that fix will fix this issue also: https://github.com/OpenShot/openshot-qt/issues/4824

dv0vd commented 1 year ago

Hello @Colorjet3! I see, this is great news, glad to hear that, thank you!)))

cboltz commented 1 year ago

Wild guess: could this be caused by #4735?