Cannot start on Windows XP

Bug #733365 reported by sghpunk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

I tried to run openshot on WinXP SP3.
Openshot 1.3.0
Python 2.7.1

I builded MLT framework like described in http://mltframework.org/twiki/bin/view/MLT/WindowsBuild
Except jack, sdl, sox, and swfdec. Becuse there was build errors with it, and I just disabled it.

So I can run this test:
>> import mlt
>> f = mlt.Factory()

Next I tried to run this: python.exe d:\openshot-1.3.0\openshot\openshot.py
Ok. there was errors about absent python modules (xdg, PIL, goocanvas, httplib2), I installed all those modules.

Next I got an error about locale:
=-=-=-=-=-=-=-=
Traceback (most recent call last):
  File "d:\openshot-1.3.0\openshot\openshot.py", line 71, in <module>
    main()
  File "d:\openshot-1.3.0\openshot\openshot.py", line 61, in main
    current_project = project.project()
  File "d:\openshot-1.3.0\openshot\classes\project.py", line 66, in __init__
    translator = Language_Init.Translator(self)
  File "d:\openshot-1.3.0\openshot\language\Language_Init.py", line 85, in __init__
    locale.setlocale(locale.LC_NUMERIC, 'POSIX')
  File "D:\Python27\lib\locale.py", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
=-=-=-=-=-==-

I edited Language_Init.py and change 'POSIX' to '' (I don't really know what this mean, just experiment)
And I got another error:
=-=-=-=-=-=-=
Traceback (most recent call last):
  File "d:\openshot-1.3.0\openshot\openshot.py", line 71, in <module>
    main()
  File "d:\openshot-1.3.0\openshot\openshot.py", line 61, in main
    current_project = project.project()
  File "d:\openshot-1.3.0\openshot\classes\project.py", line 66, in __init__
    translator = Language_Init.Translator(self)
  File "d:\openshot-1.3.0\openshot\language\Language_Init.py", line 86, in __init__
    locale.bindtextdomain("OpenShot", self.project.LOCALE_DIR)
AttributeError: 'module' object has no attribute 'bindtextdomain'
=-=-=-=-=-=-=

So, I commented this string: "locale.bindtextdomain("OpenShot", self.project.LOCALE_DIR)"
And got another error:
=-=-=-=-=-=-=
No formats or codecs were found. Please check the OpenShot preferences and configure the 'melt' command name.
Traceback (most recent call last):
  File "d:\openshot-1.3.0\openshot\openshot.py", line 71, in <module>
    main()
  File "d:\openshot-1.3.0\openshot\openshot.py", line 65, in main
    app = frmMain(project=current_project, version=info.SETUP['version'])
  File "d:\openshot-1.3.0\openshot\windows\MainGTK.py", line 315, in __init__
    self.project.RefreshXML()
  File "d:\openshot-1.3.0\openshot\classes\project.py", line 311, in RefreshXML
    os.putenv('SDL_WINDOWID', str(self.form.videoscreen.window.xid))
AttributeError: xid attribute not supported
=-=-=-=-=-=-=

And one big and two small not responding windows, I just can Ctrl-break python to close it.

What can I do now?

Revision history for this message
Andy Finch (fincha) wrote :

Maybe develop a Windows compatible version of Openshot? Just because there is a Windows build of MLT does not mean that Openshot will suddenly start to work on Windows.

Changed in openshot:
status: New → Invalid
Revision history for this message
Jonathan Thomas (jonoomph) wrote :

You are very brave to attempt this. =) I would suggest getting SDL to build, since that is required to output the video and sound to the screen. Also, once you get MLT to build, add the "melt" executable to your system path, so you can type "melt" in your command window from any folder, and it knows what the command is.

Like Andy suggested, ultimately we need to create a branch on LaunchPad with all the changes required to get a Windows version building. I'm not sure if you are familiar with launchPad and Bazaar, but I would suggest looking in that direction. As you make progress and get everything working, you can commit your changes to that new branch...

Ultimately, we would need to merge that branch with our trunk, and have a single, cross platform version of OpenShot... but there is still much work to do, as you can see. =) Thanks.

Revision history for this message
sghpunk (sgh-mail) wrote :

Heh...
My programming skill is not enough to develop a Windows compatible version of Openshot.
I just read this https://answers.launchpad.net/openshot/+faq/993
And tried to start it on windows.
So, I just can compile and test it if someone will write the code for windows.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.