
Recherche avancée
Autres articles (84)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
List of compatible distributions
26 avril 2011, parThe 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 (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (12331)
-
How can I close all the threads and multiprocesses in a Tkinter app when the app closes ?
3 septembre 2021, par kupI 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 user8715977The 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 stumpfI’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 tellI 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 tellFor 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 !