openshot-qt build error

Bug #1502966 reported by Gregory Kramida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
Undecided
Unassigned

Bug Description

Bug first reported here:
https://github.com/OpenShot/openshot-qt/issues/1

Encountered errors on attempting to build openshot-qt on various linux distros.

 $ /usr/bin/python3 setup.py install
       setup:INFO Execution path: /opt/local/openshot/openshot-qt/setup.py
running install
running build
running build_py
package init file 'src/__init__.py' not found (or not a regular file)
package init file 'src/classes/__init__.py' not found (or not a regular file)
package init file 'src/images/__init__.py' not found (or not a regular file)
package init file 'src/locale/__init__.py' not found (or not a regular file)
package init file 'src/settings/__init__.py' not found (or not a regular file)
package init file 'src/timeline/__init__.py' not found (or not a regular file)
package init file 'src/windows/__init__.py' not found (or not a regular file)
package init file 'src/windows/ui/__init__.py' not found (or not a regular file)
package init file 'src/__init__.py' not found (or not a regular file)
package init file 'src/classes/__init__.py' not found (or not a regular file)
package init file 'src/images/__init__.py' not found (or not a regular file)
package init file 'src/locale/__init__.py' not found (or not a regular file)
package init file 'src/settings/__init__.py' not found (or not a regular file)
package init file 'src/timeline/__init__.py' not found (or not a regular file)
package init file 'src/windows/__init__.py' not found (or not a regular file)
package init file 'src/windows/ui/__init__.py' not found (or not a regular file)
running build_scripts
error: file '/opt/local/openshot/openshot-qt/bin/openshot' does not exist

It seems like the bug is twofold: (1) missing __init__.py files to initialize source folders as packages and (2) failure to generate the openshot script inside the "bin" folder.

This blocks application of existing patches, such as https://bugs.launchpad.net/openshot/+bug/499739.

Architecture: any
Operating system: any Linux
Version of Openshot: 2.0 dev/trunk

Revision history for this message
Olivier Girard (eolinwen) wrote : Re: [Openshot.bugs] [Bug 1502966] [NEW] openshot-qt build error
Download full text (6.2 KiB)

Hi,

Not sure to all understand.

You said that you are using the openshot-qt version but at the end it is
the 1.4.4. Or the 1.4.4 is not the Qt version. The Qt version is the 2.0.
BTW the 1.4.4 is using Python 2.7.x
the 2.0 version is using Python 3.X

Another point : melt 0.9.2 and then MLT is just for the serie 1.4.x then
1.4.4
Libopenshot is for the 2.0 version

If you are using the 2.0, you are not able to active the setup file. It is
not necessary at this step of developpement. Just go to the folder src in
the folder openshot-qt and type
python launch.py

if python 3 is your default version. Either, type
python3 launch.py
if python 3 is not your default version.

Good luck

2015-10-05 18:11 GMT+02:00 Gregory Kramida <email address hidden>:

> Public bug reported:
>
> Bug first reported here:
> https://github.com/OpenShot/openshot-qt/issues/1
>
> Encountered errors on attempting to build openshot-qt on various linux
> distros.
>
> $ /usr/bin/python3 setup.py install
> setup:INFO Execution path: /opt/local/openshot/openshot-qt/setup.py
> running install
> running build
> running build_py
> package init file 'src/__init__.py' not found (or not a regular file)
> package init file 'src/classes/__init__.py' not found (or not a regular
> file)
> package init file 'src/images/__init__.py' not found (or not a regular
> file)
> package init file 'src/locale/__init__.py' not found (or not a regular
> file)
> package init file 'src/settings/__init__.py' not found (or not a regular
> file)
> package init file 'src/timeline/__init__.py' not found (or not a regular
> file)
> package init file 'src/windows/__init__.py' not found (or not a regular
> file)
> package init file 'src/windows/ui/__init__.py' not found (or not a regular
> file)
> package init file 'src/__init__.py' not found (or not a regular file)
> package init file 'src/classes/__init__.py' not found (or not a regular
> file)
> package init file 'src/images/__init__.py' not found (or not a regular
> file)
> package init file 'src/locale/__init__.py' not found (or not a regular
> file)
> package init file 'src/settings/__init__.py' not found (or not a regular
> file)
> package init file 'src/timeline/__init__.py' not found (or not a regular
> file)
> package init file 'src/windows/__init__.py' not found (or not a regular
> file)
> package init file 'src/windows/ui/__init__.py' not found (or not a regular
> file)
> running build_scripts
> error: file '/opt/local/openshot/openshot-qt/bin/openshot' does not exist
>
> It seems like the bug is twofold: (1) missing __init__.py files to
> initialize source folders as packages and (2) failure to generate the
> openshot script inside the "bin" folder.
>
> This blocks application of existing patches, such as
> https://bugs.launchpad.net/openshot/+bug/499739.
>
> Architecture: any
> Operating system: any Linux
> Version of Openshot: 1.4.4 dev/trunk
> Melt: 0.9.2
>
> ** Affects: openshot
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of OpenShot
> Bugs, which is subscribed to OpenShot Video Editor.
> https://bugs.launchpad.net/bugs/1502966
>
> Title:
> openshot-qt build...

Read more...

Revision history for this message
Gregory Kramida (algomorph) wrote :

Ok, this is the qt version, so it's 2.0 version, sorry I wasn't clear on this.
I run "sudo python setup.py install" as it says in the README so those were the errors it produced.
Running "python3 launch.py" from src gives this error:

terminate called after throwing an instance of 'Magick::ErrorCoder'
  what(): Magick: WriteBlob Failed `/home/algomorph/.openshot_qt/cache/circle_in_to_out.png' @ error/png.c/MagickPNGErrorHandler/1645
Aborted (core dumped)

I'm not really worried so much about running the 2.0 version successfully, I'm just interested in applying this patch to the 1.4.X versions:
https://bugs.launchpad.net/openshot/+bug/499739

How do I do that?

description: updated
description: updated
Revision history for this message
Olivier Girard (eolinwen) wrote :

I've posted an answer on github.

Andy Finch (fincha)
Changed in openshot:
status: New → Fix Released
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.