Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (68)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7996)

  • Révision 24377 : Compat PHP 7.4, Deprecated : Array and string offset access syntax with curly bra...

    25 août 2019, par Matthieu Marcillaud
  • Révision 24378 : Ticket #4348 : Compat PHP 7.4, Trying to access array offset on value of type null.

    26 août 2019, par Matthieu Marcillaud
  • Python subprocess trying to access ffmpeg a bin in /usr/bin but it's in /usr/loca/bin

    27 juin 2017, par Jay Cee

    I’m install through brew the ffmpeg library and brew installed it in /usr/local/bin

    Nevertheless when I’m running my program that uses subprocess I have this stack trace :

    Traceback (most recent call last):
     File "user_path/lib/python3.6/site-packages/celery/app/trace.py", line 367, in trace_task
       R = retval = fun(*args, **kwargs)
     File "user_path/lib/python3.6/site-packages/celery/app/trace.py", line 622, in __protected_call__
       return self.run(*args, **kwargs)
     File "user_path/src/apps/candidates/tasks.py", line 66, in fake_process_video
       result = get_personality(converted_video_path)
     File "../extraction/extraction_main.py", line 144, in get_personality
       iterator = VideoFrameIterator(video_file_path)
     File "../extraction/utils/video_frame_iterator.py", line 25, in __init__
       self._reader = imageio.get_reader(file_path)
     File "user_path/lib/python3.6/site-packages/imageio/core/functions.py", line 111, in get_reader
       return format.get_reader(request)
     File "user_path/lib/python3.6/site-packages/imageio/core/format.py", line 158, in get_reader
       return self.Reader(self, request)
     File "user_path/lib/python3.6/site-packages/imageio/core/format.py", line 207, in __init__
       self._open(**self.request.kwargs.copy())
     File "user_path/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 286, in _open
       self._initialize()
     File "user_path/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 352, in _initialize
       stdout=sp.PIPE, stderr=sp.PIPE)
     File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in __init__
       restore_signals, start_new_session)
     File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
       raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/ffmpeg'

    So I’m a bit clueless about how to solve this error. I don’t seem to be able to copy the bin from /usr/local/bin to /usr/bin/ as this last folder is read only.

    Any advice about it ?