Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rbtrt opened this issue Nov 20, 2021 · 20 comments
Closed

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

rbtrt opened this issue Nov 20, 2021 · 20 comments

Comments

@rbtrt
Copy link

rbtrt commented Nov 20, 2021

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: ================================================

@JacksonRG
Copy link
Collaborator

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?

@diegueno
Copy link

diegueno commented Nov 22, 2021

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

@rbtrt
Copy link
Author

rbtrt commented Nov 23, 2021

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.

@louagej
Copy link

louagej commented Dec 9, 2021

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

@PlayerIn3D
Copy link

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}

@TOADERFL
Copy link

TOADERFL commented Jan 6, 2022

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)

@louagej
Copy link

louagej commented Jan 6, 2022

image

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

@Frari489
Copy link

Frari489 commented Feb 6, 2022

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

@tkazik
Copy link

tkazik commented May 15, 2022

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

Cheers

@JacksonRG
Copy link
Collaborator

JacksonRG commented May 17, 2022

@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.

@tkazik
Copy link

tkazik commented Jun 14, 2022

@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.

@JacksonRG
Copy link
Collaborator

@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
Copy link
Collaborator

Windows N Wont start

@tkazik
Copy link

tkazik commented Jun 30, 2022

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 :)

@slimbyte
Copy link

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.

@JacksonRG
Copy link
Collaborator

@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.

@slimbyte
Copy link

@JacksonRG I was running OpenShot in Romanian language.

@vadrian89
Copy link

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

@Colorjet3
Copy link
Collaborator

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

@conterio
Copy link

conterio commented Mar 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests