Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (12523)

  • How can I close all the threads and multiprocesses in a Tkinter app when the app closes ?

    3 septembre 2021, par kup

    I am creating a Tkinter application which starts a multiprocess.process (daeman = True) and then that process further starts a couple of threads and that thread further starts an FFmpeg process.

    


    for i, val in enumerate(group):
    threads.append(Thread(target = self.ffmpeg, args=(val, )))
    threads[i].start()


    


    But when I close the application the process does not stop. I can still see the log in the terminal after I close the application.

    


    I just want them to close when application shuts down.

    


    I also tried :

    


    sys.exit()


    


  • RuntimeError : No MovieWriters available in Matplotlib animation

    24 mai 2020, par user8715977

    The problem I am getting is in code similar to this example : 
https://matplotlib.org/examples/animation/basic_example_writer.html

    



    The error :

    



    RuntimeError : No MovieWriters available occurs at Writer = animation.writers['ffmpeg'] in the example above.

    



    I am using mac, I have installed ffmpeg using brew, and even installed it with conda even though I am not using anaconda for this particular code.

    



    I am positive that it is installed - I have used it in terminal to change files but it is not working within the program.

    



    Thanks !

    


  • Install ffmpeg with applescript

    2 février 2020, par andy stumpf

    I’m trying to create an applescript that installs ffmpeg. I have two issues.

    • I want to install Xcode, homebrew, ffmpeg, node, grant permissions, and ffmpeg-progressbar-cli one at a time. Not all at once but in that order. ffmpeg is dependant on xcode so it needs to wait before xcode is done installing.
    • The command for homebrew requires " which applescript makes me change to a ' before I can run it but in this case it doesn’t work.

    Here is the script I have so far.

    tell application "Terminal"
       do script "xcode-select --install && ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install ffmpeg && brew install node && sudo chown -R $(whoami) /usr/local/bin /usr/local/etc && npm install --global ffmpeg-progressbar-cli"
       activate
    end tell

    I tried this and it doesn’t seem to work as intended.

    tell application "Terminal"
           do script "sudo chown -R $(whoami) /usr/local/bin /usr/local/etc && xcode-select --install"
           display dialog "Select OK once Xcode has installed" buttons {"OK"} default button 1
           do script "ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)""
           display dialog "Select OK once Homebrew has installed" buttons {"OK"} default button 1
           do script "brew install ffmpeg"
           display dialog "Select OK once ffmpeg has installed" buttons {"OK"} default button 1
           do script "brew install node"
           display dialog "Select OK once node has installed" buttons {"OK"} default button 1
           do script "npm install --global ffmpeg-progressbar-cli"
           display dialog "Select OK once ffmpeg-bar has installed" buttons {"OK"} default button 1
           activate
       end tell

    For the second issue it needs to be

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    but applescript makes me change it to

    ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'

    with single quote which doesn’t work.

    Help and suggestions apreciated !