← Back to team overview

linux-traipu team mailing list archive

[Bug 913930] Re: strange error leads to broken project file

 

So, I didn't find the reason of this error. I just finished my project again from last good working backup.
Hope this error will never appear again.
Thanks for trying to help.
Now you can close this bug.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/913930

Title:
  strange error leads to broken project file

Status in OpenShot Video Editor:
  New

Bug description:
  Hi there!

  There is a great fault happened with my openshot project: several days
  work gone away. I hope there is any way to fix it, cause it left five
  minutes to finish work on project.

  I worked with project and everything was great. I have five tracks in
  my project (actually 1 and 2 are empty, 3 is for sound and 4 and 5 is
  for video). Suddenly tracks 1 to 3 dissapeared (I added or removed
  nothing from project at this moment, just was moving clips already in
  project). There still exist in project, but I don't see them and
  cann't modify them. I thought that it is just bug with GUI (openshot
  is still has some bugs and restart is a good way to fix it). So I
  restarted it.

  Unfortunately, my project didn't open. It stops on error:

  ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
  /usr/lib/pymodules/python2.7/openshot/classes/sequences.py:779: GtkWarning: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
    new_pixbuf = pixbuf.scale_simple(remaining_pixels, height, gtk.gdk.INTERP_NEAREST)
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 2413, in on_hsZoom_value_changed
      self.project.Render()
    File "/usr/lib/pymodules/python2.7/openshot/classes/project.py", line 221, in Render
      self.sequences[0].Render()
    File "/usr/lib/pymodules/python2.7/openshot/classes/sequences.py", line 171, in Render
      MyTrack.Render()
    File "/usr/lib/pymodules/python2.7/openshot/classes/track.py", line 93, in Render
      MyClip.Render()
    File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 279, in Render
      self.RenderClip()
    File "/usr/lib/pymodules/python2.7/openshot/classes/clip.py", line 1141, in RenderClip
      pixbuf_width = pixbuf.get_width()
  AttributeError: 'NoneType' object has no attribute 'get_width'

  ------------------------- ERROR 2 ------------------------------
  Failed to import 'from openshot.openshot import main'
  Error Message: 'NoneType' object has no attribute 'get_width'
  ----------------------------------------------------------------

  OpenShot has failed to import some of the Python files or libraries 
  required for our application to run.  Here are some trouble shooting
  tips:

  Tip 1) Check if MLT can be successfully imported in Python.  Run the 
   following commands, and see if any errors are displayed.  If you get 
   an error, you need to investigate the correct way to install MLT.
   NOTE:  Do not type the $ or >> characters in the examples below.

         $ python
         >> import mlt
         >> mlt.Factory().init()

  Tip 2) If MLT is working from the first example, then the next tip is 
   to look at the above error messages very closely, and google for more 
   help.  It's likely the problem is already reported, and maybe there is
   a simple work-around.  Also, you can search for bugs or report a new 
   bug at https://bugs.launchpad.net/openshot.  Good luck!

  
  There was no way to open it. I have a backup, but it is too old. I tried to play with diff from my current project and backup (I made a patch from it, and removed some part of it, but there was no any success, error still appeared).

  After some time I tried to open my file via `recently used` menu item.
  It opened!! But still without tracks 1 to 3. Then I tried move 4th
  track down. After that 3 track appeared. So, seems, that 4th track is
  buggy. But I don't know, how to fix it, cause I don't know a reason of
  this error.

  Also all transitions between clips disappered. They are present in
  movie, but I can't see and edit them.

  Are there any chances to back my project back and are there any
  chances to not get such error again?

  PS. openshot works good with new or old other projects. Problem is just with my current main project.
  PPS. Here is old working project file http://50.78.53.169/mike_backup.osp
  and here is current file with error http://50.78.53.169/mike_current_error.osp

  PPS. debug.py
  -----------------------------------------------------------
  OpenShot Debug File 0.0.2 - 2012-01-09 22:29:48.181594
  -----------------------------------------------------------
  This file contains a list of installed packages related to OpenShot,
  locations of files, and a list of shared libraries used by python-mlt.

  
  -----------------------------------------------------------
  Distribution Version Info
  -----------------------------------------------------------
  No LSB modules are available.
  Distributor ID: Debian
  Description:    Debian GNU/Linux unstable (sid)
  Release:        unstable
  Codename:       sid


  -----------------------------------------------------------
  List of Installed Packages
  -----------------------------------------------------------
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                                 Version                        Description
  +++-====================================-==============================-==============================================================================
  un  libmlt1                              <none>                         (no description available)
  un  libmlt2                              <none>                         (no description available)
  ii  openshot                             1.4.0-1                        Create and edit videos and movies
  un  python-mlt2                          <none>                         (no description available)
  No packages found matching python-mlt.
  No packages found matching openshot-mlt.


  -----------------------------------------------------------
  Python Path (i.e. sys.path)
  -----------------------------------------------------------
  /tmp
  /usr/lib/python2.7
  /usr/lib/python2.7/plat-linux2
  /usr/lib/python2.7/lib-tk
  /usr/lib/python2.7/lib-old
  /usr/lib/python2.7/lib-dynload
  /usr/local/lib/python2.7/dist-packages
  /usr/lib/python2.7/dist-packages
  /usr/lib/python2.7/dist-packages/PIL
  /usr/lib/pymodules/python2.7/gtk-2.0
  /usr/lib/python2.7/dist-packages/gtk-2.0
  /usr/lib/pymodules/python2.7

  
  -----------------------------------------------------------
  WARNING: /usr/lib/pymodules/python2.6 missing from Python Path
  -----------------------------------------------------------
  This folder is where the python-mlt bindings are stored.  If this folder
  is not in the Python Path, it will not find the 'mlt' module.

  
  -----------------------------------------------------------
  Files in /usr/lib/pymodules/python2.6/mlt (used by python-mlt)
  -----------------------------------------------------------
  find: `/usr/lib/pymodules/python2.6/mlt': No such file or directory


  -----------------------------------------------------------
  Attempt to import mlt (using Python)
  -----------------------------------------------------------
  Successfully imported mlt library!

  
  -----------------------------------------------------------
  Find 'openshot' files & folders
  -----------------------------------------------------------
  /usr/share/gnome/help/openshot
  /usr/share/doc/openshot
  /usr/share/pyshared/openshot
  /usr/share/omf/openshot
  /usr/lib/pymodules/python2.6/openshot
  /usr/lib/pymodules/python2.7/openshot
  /usr/lib/mime/packages/openshot
  /usr/bin/openshot


  -----------------------------------------------------------
  Find 'mlt' files & folders
  -----------------------------------------------------------
  /usr/share/mlt
  /usr/lib/mlt


  -----------------------------------------------------------
  Find libmlt*.so*
  -----------------------------------------------------------
  /usr/lib/libmlt++.so.0.7.6
  /usr/lib/libmlt.so.0.7.6
  /usr/lib/libmlt.so.4
  /usr/lib/libmlt++.so.3
  /usr/lib/mlt/libmltfrei0r.so
  /usr/lib/mlt/libmltqimage.so
  /usr/lib/mlt/libmltmotion_est.so
  /usr/lib/mlt/libmltsox.so
  /usr/lib/mlt/libmltkino.so
  /usr/lib/mlt/libmltnormalize.so
  /usr/lib/mlt/libmltcore.so
  /usr/lib/mlt/libmltoldfilm.so
  /usr/lib/mlt/libmltgtk2.so
  /usr/lib/mlt/libmltjackrack.so
  /usr/lib/mlt/libmltresample.so
  /usr/lib/mlt/libmltvideostab.so
  /usr/lib/mlt/libmltvmfx.so
  /usr/lib/mlt/libmltavformat.so
  /usr/lib/mlt/libmltvorbis.so
  /usr/lib/mlt/libmltkdenlive.so
  /usr/lib/mlt/libmlteffectv.so
  /usr/lib/mlt/libmltplus.so
  /usr/lib/mlt/libmltdgraft.so
  /usr/lib/mlt/libmltlinsys.so
  -----------------------------------------------------------
  Debug File 'openshot.debug'
  -----------------------------------------------------------
  This script has created a file called 'openshot.debug' which
  contains all of this output.  If you are having trouble installing
  OpenShot, you can attach this file to your bug report.
  /usr/lib/mlt/libmltdv.so
  /usr/lib/mlt/libmltrotoscoping.so
  /usr/lib/mlt/libmltdecklink.so
  /usr/lib/mlt/libmltxml.so
  /usr/lib/mlt/libmltxine.so
  /usr/lib/mlt/libmltsdl.so


  -----------------------------------------------------------
  Locate '_mlt.so', used by python-mlt
  -----------------------------------------------------------
  /usr/lib/pymodules/python2.7/_mlt.so
  /usr/lib/pyshared/python2.7/_mlt.so


  -----------------------------------------------------------
  Shared Libraries for /usr/lib/pymodules/python2.7/_mlt.so
  -----------------------------------------------------------
          linux-vdso.so.1 =>  (0x00007fffbcbff000)
          libmlt++.so.3 => /usr/lib/libmlt++.so.3 (0x00007f00acbfa000)
          libmlt.so.4 => /usr/lib/libmlt.so.4 (0x00007f00ac9d3000)
          libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f00ac7b6000)
          libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f00ac5b2000)
          libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f00ac3af000)
          libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007f00abeb1000)
          libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f00abbad000)
          libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f00ab92b000)
          libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f00ab714000)
          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f00ab390000)
          /lib64/ld-linux-x86-64.so.2 (0x00007f00ad0a6000)
          libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f00ab13e000)
          libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f00aad77000)
          libz.so.1 => /usr/lib/libz.so.1 (0x00007f00aab60000)


  -----------------------------------------------------------
  Debug File 'openshot.debug'
  -----------------------------------------------------------
  This script has created a file called 'openshot.debug' which
  contains all of this output.  If you are having trouble installing
  OpenShot, you can attach this file to your bug report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/913930/+subscriptions


References