Hi Yohan,

Thanks for the trick. Hovewer, it doesn't work for me. Same result with
the last update of LInux mint and Manjaro.

ON Manjaro

[olivier@thorielle src]$ python launch.py 
Loaded modules from current directory: 
/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src
Traceback (most recent call last):
  File "launch.py", line 77, in <module>
    main()
  File "launch.py", line 70, in main
    app = OpenShotApp(sys.argv)
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/classes/app.py", line 
103, in __init__
    from windows.main_window import MainWindow
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/main_window.py",
 line 47, in <module>
    from windows.views.files_listview import FilesListView
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/views/files_listview.py",
 line 43, in <module>
    locale.setlocale(locale.LC_ALL, 'en_GB.UTF-8')
  File "/usr/lib/python3.5/locale.py", line 595, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
[olivier@thorielle src]$ python launch.py 
Loaded modules from current directory: 
/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src
Traceback (most recent call last):
  File "launch.py", line 77, in <module>
    main()
  File "launch.py", line 70, in main
    app = OpenShotApp(sys.argv)
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/classes/app.py", line 
103, in __init__
    from windows.main_window import MainWindow
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/main_window.py",
 line 47, in <module>
    from windows.views.files_listview import FilesListView
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/views/files_listview.py",
 line 43, in <module>
    locale.setlocale(locale.LC_ALL, 'en_GB.utf-8')
  File "/usr/lib/python3.5/locale.py", line 595, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

[olivier@thorielle src]$ python launch.py 
Loaded modules from current directory: 
/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src
Traceback (most recent call last):
  File "launch.py", line 77, in <module>
    main()
  File "launch.py", line 70, in main
    app = OpenShotApp(sys.argv)
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/classes/app.py", line 
103, in __init__
    from windows.main_window import MainWindow
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/main_window.py",
 line 47, in <module>
    from windows.views.files_listview import FilesListView
  File 
"/home/olivier/OpenshotDev/GitopenshotDev/openshot-qt/src/windows/views/files_listview.py",
 line 43, in <module>
    locale.setlocale(locale.LC_ALL, 'en_GB.utf8')
  File "/usr/lib/python3.5/locale.py", line 595, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


from classes.logger import log
from classes.query import File
from classes.app import get_app
from windows.models.files_model import FilesModel

import locale
locale.setlocale(locale.LC_ALL, 'en_GB.utf8')

try:
    import json
except ImportError:
    import simplejson as json

Unable to run openshot qt modifing the code of this file.

BTW I'm french too.

-- 
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/1522780

Title:
  ...is not a valid video, audio, or image file.

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  When I want to import any file format of the video material appears that the 
program does not support it.
  How to test the OpenShot-qt, when the program does not allow?

  Architecture (64 bits or 32 bits) : 64bit
  Operating System & version: Arch linux and Ubuntu 16.04/16.10 (dev)
  Installation Method : git
  Version of Openshot installed : 2.0
  BZR Revision used (if any) : 
  MLT/melt version: 0.9.8-3
  FFmpeg (i.e.libavcodec) version : ffmpeg: 2.8.3
  FFmpeg installation : system

  When you move a file on the time bar:
  preview_thread:INFO onModeChanged
   files_model:INFO updating files model.
   main_window:INFO Loaded project /home/m/o.flv
   files_model:INFO updating files model.
   main_window:INFO Loaded project /home/m/o.mkv
   files_model:INFO updating files model.
   main_window:INFO Loaded project /home/m/o.mov
   files_model:INFO updating files model.
   main_window:INFO Loaded project /home/m/o.mp4
  timeline_webview:INFO Dropping file:///home/m/o.flv
   in timeline.
  Traceback (most recent call last):
    File 
"/usr/lib/python3.5/site-packages/openshot_qt-2.0.0-py3.5.egg/openshot_qt/windows/views/timeline_webview.py",
 line 518, in dropEvent
      data = json.loads(event.mimeData().text())
    File "/usr/local/lib/python3.5/json/__init__.py", line 319, in loads
      return _default_decoder.decode(s)
    File "/usr/local/lib/python3.5/json/decoder.py", line 339, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/local/lib/python3.5/json/decoder.py", line 357, in raw_decode
      raise JSONDecodeError("Expecting value", s, err.value) from None
  json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  Aborted (memory dump)

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

-- 
Mailing list: https://launchpad.net/~linux-traipu
Post to     : linux-traipu@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linux-traipu
More help   : https://help.launchpad.net/ListHelp

Reply via email to