openshot-qt icon indicating copy to clipboard operation
openshot-qt copied to clipboard

OpenShot Video Editor does not launch (Windows 10 64bit)

Open rbtrt opened this issue 4 years ago • 17 comments

Describe the bug: When launching the program, it closes immediately.

Steps to reproduce the behavior:

  1. Launch OpenShot 2.6.1 on Windows 10 via the Shortcut or "C:\Program Files\OpenShot Video Editor\openshot-qt.exe" directly.
  2. It appears on the Task Manager for a moment, then disappears, no error message is given.

Expected behavior: The program should launch.

System Details:

  • OpenShot Version [e.g. 2.4.3]: 2.6.1
  • Operating System / Distro: Windows 10 64 bit 10.0.19043

Log Files: 18:09:50 INFO app: ------------------------------------------------ 18:09:50 INFO app: Sat Nov 20 18:09:50 2021
18:09:50 INFO app: Starting new session
18:09:50 ERROR app: OpenShotApp::Import Error Traceback (most recent call last): File "C:\Program Files\OpenShot Video Editor\classes\app.py", line 99, in init from classes import settings, project_data, updates File "C:\Program Files\OpenShot Video Editor\classes\project_data.py", line 48, in import openshot File "", line 259, in load_module File "C:\Users\Administrator\builds\7546b651\0\OpenShot\openshot-qt/openshot.py", line 15, in ImportError: DLL load failed while importing _openshot: Das angegebene Modul wurde nicht gefunden. 18:09:50 INFO app: OpenShot's session ended
18:09:50 INFO app: Sat Nov 20 18:09:50 2021
18:09:50 INFO app: ================================================

rbtrt avatar Nov 20 '21 17:11 rbtrt

Did you install version 2.6.1 (the large blue button on our download page, or one of the daily builds?

Also, whichever you're using, does it also occur when you try the other?

JacksonRG avatar Nov 22 '21 18:11 JacksonRG

The same behavior occurs with OpenShot-v2.6.1-dev-daily-8737-18bdad43-0fb4ab09-x86_64 I installed it following instructions in the process of reporting how I can't add project files with OpenShot-v2.6.1-x86_6 libopenshot.log openshot-qt.log

diegueno avatar Nov 22 '21 23:11 diegueno

Did you install version 2.6.1 (the large blue button on our download page, or one of the daily builds?

Also, whichever you're using, does it also occur when you try the other?

I'm pretty sure I ran the daily build as well, I certainly tried the official version 2.6.1. Unfortunately, I don't have access to the "offending" PC at the moment, so I could verify if I tested the daily build.

rbtrt avatar Nov 23 '21 14:11 rbtrt

Hi, I'm experiencing the same problem. System Details: OpenShot Version: 2.6.1 Operating System: Windows 10 Pro

  • Version 21H2
  • OS Build: 19044.1348

I downloaded the latest version( today on the website) image

But when I'm trying to start the program, it just doesn't launch. No Information in the EventViewer The "C:\Users\ My Username \.openshot_qt\openshot-qt.log" file stays empty

louagej avatar Dec 09 '21 20:12 louagej

Hello, I have stumbled uppon almost the same error type where i can not open the program and i do not rly know that to do so i will paste the log file in hope that an sollution might arrise.

00:54:14 INFO app: ------------------------------------------------ 00:54:14 INFO app: Sun Dec 12 00:54:14 2021
00:54:14 INFO app: Starting new session
00:54:14 INFO app: ------------------------------------------------ 00:54:14 INFO app: OpenShot (version 2.6.1)
00:54:14 INFO app: ------------------------------------------------ 00:54:14 INFO app: openshot-qt version: 2.6.1 00:54:14 INFO app: libopenshot version: 0.2.7 00:54:14 INFO app: platform: Windows-10-10.0.19041 00:54:14 INFO app: processor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel 00:54:14 INFO app: machine: AMD64 00:54:14 INFO app: python version: 3.8.9 00:54:14 INFO app: qt5 version: 5.15.2 00:54:14 INFO app: pyqt5 version: 5.15.4 00:54:14 INFO app: Frozen version info from build server: { "build_name": "OpenShot-v2.6.1-release-candidate-8238-59878784-d588dbd6", "date": "2021-09-04 23:49", "libopenshot": { "CI_COMMIT_REF_NAME": "release-20210904", "CI_COMMIT_SHA": "59878784732fa399c47ac5d282bfc9dfe470d0dc", "CI_JOB_ID": "27419", "CI_PIPELINE_ID": "8237", "CI_PROJECT_NAME": "libopenshot", "SO": "21", "VERSION": "0.2.7" }, "libopenshot-audio": { "CI_COMMIT_REF_NAME": "release-20210904", "CI_COMMIT_SHA": "d588dbd6057f71c987dc6d8448322aa6b6e86f1a", "CI_JOB_ID": "27414", "CI_PIPELINE_ID": "8236", "CI_PROJECT_NAME": "libopenshot-audio", "SO": "8", "VERSION": "0.2.2" }, "openshot-qt": { "CI_COMMIT_REF_NAME": "release-20210904", "CI_COMMIT_SHA": "11f8e5050bd95c7731beccda28a01fbb481fcf7d", "CI_JOB_ID": "27424", "CI_PIPELINE_ID": "8238", "CI_PROJECT_NAME": "openshot-qt", "SO": null, "VERSION": "2.6.1" } } 00:54:14 INFO project_data: Setting default profile to HD 720p 30 fps 00:54:14 INFO language: Qt Detected Languages: ['en-US'] 00:54:14 INFO language: LANG Environment Variable: 00:54:14 INFO language: LOCALE Environment Variable: 00:54:14 INFO language: OpenShot Preference Language: Default 00:54:14 INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556 00:54:14 INFO app: Setting font to C:\Program Files\OpenShot Video Editor\images\fonts\Ubuntu-R.ttf 00:54:14 INFO app: Setting custom dark theme 00:54:15 INFO ui_util: Initializing UI for MainWindow 00:54:15 INFO webkit: WebKit backend initializing 00:54:15 INFO thumbnail: Starting thumbnail server listening on port 8701 00:54:15 INFO transition_model: updating transitions model. 00:54:15 INFO app: OpenShot's session ended
00:54:15 INFO app: Sun Dec 12 00:54:15 2021
00:54:15 INFO app: ================================================ 00:54:15 INFO version: Found current version: {'error_rate_unstable': 0.05, 'openshot_version': '2.6.1', 'error_rate_stable': 0.05}

PlayerIn3D avatar Dec 11 '21 23:12 PlayerIn3D

Descrieți eroarea: La lansarea programului, acesta se închide imediat.

Pași pentru a reproduce comportamentul:

  1. Lansați OpenShot 2.6.1 pe Windows 10 prin intermediul comenzii rapide sau direct „C:\Program Files\OpenShot Video Editor\openshot-qt.exe”.
  2. Apare pentru un moment în Task Manager, apoi dispare, nu este dat niciun mesaj de eroare.

Comportament așteptat: programul ar trebui să se lanseze.

Detalii sistem:

  • Versiunea OpenShot [de ex. 2.4.3]: 2.6.1
  • Sistem de operare / Distribuție: Windows 10 64 biți 10.0.19043

Fișiere jurnal: 18:09:50 Aplicație INFO: --------------------------------------- --------- 18:09:50 Aplicația INFO: sâmb. 20 noiembrie 18:09:50 2021 18:09:50 Aplicația INFO: Începe o nouă sesiune 18:09:50 EROARE aplicație: OpenShotApp::Eroare de import traceback (apel cele mai recente ultima): File "C: \ program Files \ OpenShot Video Editor \ clase \ app.py", linia 99, în init din clasele de import setări, project_data, actualizări de fișier „C: \ program Files \ OpenShot Video Editor\classes\project_data.py", linia 48, în importarea fișierului openshot "", linia 259, în fișierul load_module "C:\Users\Administrator\builds\7546b651\0\OpenShot\openshot-qt/openshot.py", rândul 15, în ImportError: încărcarea DLL a eșuat la import _openshot: Das angegebene Modul wurde nicht gefunden. 18:09:50 Aplicația INFO: Sesiunea OpenShot s-a încheiat 18:09:50 Aplicația INFO: sâmb. 20 noiembrie 18:09:50 2021 18:09:50 Aplicația INFO: ============== ===================================

Set the display language of win 10 to English US (for example I had Romanian and so on, it didn't start). It worked for me width EN US!(for 30 computers)

TOADERFL avatar Jan 06 '22 11:01 TOADERFL

image

My Windows language is English US, so that won't do the trick

louagej avatar Jan 06 '22 15:01 louagej

Hi, had the same issue, found the solution.

It appears the issue is because Windows N does not include Microsoft Media Future pack by default.

I fixed the issue by following method 1 in following link: https://ugetfix.com/ask/how-to-fix-mfplat-dll-missing-on-windows-10/

You will probably have to find the correct version of the media pack by going to: https://support.microsoft.com/en-us/topic/media-feature-pack-list-for-windows-n-editions-c1c6fffa-d052-8338-7a79-a4bb980a700a

Frari489 avatar Feb 06 '22 00:02 Frari489

Thx a lot @Frari489, the media future pack was also missing in my case (W11): Please find it here

Cheers

tkazik avatar May 15 '22 11:05 tkazik

@tkazik Could you share some details about your computer setup like your processor, and the OpenShot versions involved? (I'd ask what OS, but I assume from your comment you're using Windows 11.3)

I'd love to track this issue down, and see if we can include those media packs in openshot's installer.

JacksonRG avatar May 17 '22 19:05 JacksonRG

@JacksonRG sorry for the delay:

  • MS Windows Version 21H2
  • AMD Ryzen 7 PRO 5850U with Radeon Graphics
  • OpenShot version 2.6.1

Hope this helps.

tkazik avatar Jun 14 '22 05:06 tkazik

@tkazik Unfortunately I don't have an N edition of windows to test on, but several users have reported that https://support.microsoft.com/en-us/windows/media-feature-pack-for-windows-n-8622b390-4ce6-43c9-9b42-549e5328e407 support page from microsoft explains that N editions are missing the media futures pack, which has to be manually enabled to allow windows to access several types of media.

If that helps you, I can work on adding a special error message to openshot which directs people to install that media pack.

JacksonRG avatar Jun 29 '22 18:06 JacksonRG

If that helps you, I can work on adding a special error message to openshot which directs people to install that media pack.

If you can detect that, yes, please. This will certainly be appreciated by someone running into the same surprise :)

tkazik avatar Jun 30 '22 22:06 tkazik

In my installation: v.2.6.1, Win10 Pro 21H2 the issue seems to be related to transitions translation. Source files of error: C:\Program Files\OpenShot Video Editor\windows\models\transition_model.py code lines:

                    if suffix_number:
                        trans_name = trans_name.replace(suffix_number, "%s")
                        trans_name = self.app._tr(trans_name) % suffix_number
                    else:
                        trans_name = self.app._tr(trans_name)

More exactly, Luminous boxes transition models failed to translate. In my case (romanian language) Luminous boxes %s translates to Cutii luminoase %. Please note the missing s. So, with this translation, the following code block which should replace the %s with the suffix_number will fail.

Putting the affected code into a try: except: block solved the issue and the launch of OpenShot completed successfully.

                try:
                    if suffix_number:
                        trans_name = trans_name.replace(suffix_number, "%s")
                        trans_name = self.app._tr(trans_name) % suffix_number
                    else:
                        trans_name = self.app._tr(trans_name)
                except:
                    log.info("Failed to translate {}".format(trans_name.replace("%s", suffix_number)))

Luminous boxes transitions remains untranslated, which is not a big deal.

slimbyte avatar Aug 14 '22 22:08 slimbyte

@slimbyte Thanks for your debugging on this issue. What language are you running openshot in? We have automatic tests of our translation code, so this may help us find a gap in that testing.

JacksonRG avatar Aug 19 '22 21:08 JacksonRG

@JacksonRG I was running OpenShot in Romanian language.

slimbyte avatar Aug 19 '22 22:08 slimbyte

In my installation: v.2.6.1, Win10 Pro 21H2 the issue seems to be related to transitions translation. Source files of error: C:\Program Files\OpenShot Video Editor\windows\models\transition_model.py code lines:

                    if suffix_number:
                        trans_name = trans_name.replace(suffix_number, "%s")
                        trans_name = self.app._tr(trans_name) % suffix_number
                    else:
                        trans_name = self.app._tr(trans_name)

More exactly, Luminous boxes transition models failed to translate. In my case (romanian language) Luminous boxes %s translates to Cutii luminoase %. Please note the missing s. So, with this translation, the following code block which should replace the %s with the suffix_number will fail.

Putting the affected code into a try: except: block solved the issue and the launch of OpenShot completed successfully.

                try:
                    if suffix_number:
                        trans_name = trans_name.replace(suffix_number, "%s")
                        trans_name = self.app._tr(trans_name) % suffix_number
                    else:
                        trans_name = self.app._tr(trans_name)
                except:
                    log.info("Failed to translate {}".format(trans_name.replace("%s", suffix_number)))

Luminous boxes transitions remains untranslated, which is not a big deal.

Same issue with romanian language, thank you for the work around!.

Windows 11 PRO

vadrian89 avatar Nov 22 '22 07:11 vadrian89

Please try the latest DEV Daily Build of v3.0.0 and confirm either way.

Colorjet3 avatar Jan 24 '23 03:01 Colorjet3

my fix was

On Windows 10 N: Select Start, then select Settings > Apps > Apps and Features > Optional features > Add a feature. Find the Media Feature Pack in the list of available optional features.

On Windows 11 N: Select Start, then select Settings > Apps > Optional features. Select View features next to Add an optional feature, and then select the Media Feature Pack in the list of available optional features.

conterio avatar Mar 03 '23 18:03 conterio