← Back to team overview

openshot.developers team mailing list archive

[Bug 776845] [NEW] Clashes with python-gdata prevents Youtube working

 

Public bug reported:

Openshot 1.3.0 from OpenShot PPA on Ubuntu 11.04 AMD64

If you try to upload a Youtube video then nothing happens on pressing
upload.  In the console you see this:

on_btnUpload_clicked
form is valid!
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openshot/windows/UploadVideo.py", line 159, in on_btnUpload_clicked
    status = service.start_upload(self)
  File "/usr/lib/pymodules/python2.7/openshot/uploads/manager.py", line 145, in start_upload
    import gdata.youtube.client
ImportError: No module named client

There is a package in the Ubuntu repositories named python-gdata that I
have installed.  openshot has its own private gdata package.  However
openshot does not ensure that its private version is in sys.path before
python-gdata and hence uses the wrong one which then causes the error
above.

Uninstalling python-gdata solves the problem temporarily (I need it for
accessing Google spreadsheets.)

** Affects: openshot
     Importance: Undecided
         Status: New

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

Title:
  Clashes with python-gdata prevents Youtube working

Status in OpenShot Video Editor:
  New

Bug description:
  Openshot 1.3.0 from OpenShot PPA on Ubuntu 11.04 AMD64

  If you try to upload a Youtube video then nothing happens on pressing
  upload.  In the console you see this:

  on_btnUpload_clicked
  form is valid!
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/UploadVideo.py", line 159, in on_btnUpload_clicked
      status = service.start_upload(self)
    File "/usr/lib/pymodules/python2.7/openshot/uploads/manager.py", line 145, in start_upload
      import gdata.youtube.client
  ImportError: No module named client

  There is a package in the Ubuntu repositories named python-gdata that
  I have installed.  openshot has its own private gdata package.
  However openshot does not ensure that its private version is in
  sys.path before python-gdata and hence uses the wrong one which then
  causes the error above.

  Uninstalling python-gdata solves the problem temporarily (I need it
  for accessing Google spreadsheets.)


Follow ups

References