
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (4777)
-
Pyinstaller "Failed to execute script pyi_rth_pkgres" and missing packages
11 septembre 2016, par gurnbenThis is my first time posting a question here as most of my questions have already been answered by someone else ! I am working on a GUI application in python and am attempting to use pyinstaller to package it into a single folder and .exe for easier portability. Currently, I am using windows 10 and anaconda3 to manage my python packages. The application relies on tkinter, pillow, numpy, scikit-learn, opencv, ffmpeg, and matplotlib. The application is formatted with a main GUI.py file that creates objects of a number of other files (many of which are stored in a subfolder as this GUI is replacing a command line utility that served the same purpose). The issue I am running into (as you can see in the title) is that the .exe is throwing the error block :
Traceback (most recent call last) :
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 11, in
File "c :\users\gurnben\anaconda3\envs\opencv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
exec(bytecode, module.dict)
File "site-packages\setuptools-20.7.0-py3.5.egg\pkg_resources__init__.py", line 68, in
File "site-packages\setuptools-20.7.0-py3.5.egg\pkg_resources\extern__init__.py", line 60, in load_module
ImportError : The ’packaging’ package is required ; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
Failed to execute script pyi_rth_pkgresWhen I look at the warn.txt it gives a massive list of missing packages including parts of some packages that are actually in the single folder package.
I have, however, successfully gotten it to recognize the dll files from opencv and it is not listed among the missing (nor is ffmpeg however I did not see any ffmpeg files in the folder). I had to pass in a custom path to get it to include the opencv files as they are not in anaconda at this time.Any hints or ideas for next troubleshooting steps ? I am overly greatful for all of the help you an offer and I can upload any code, files, etc. that would help you diagnose the issue. In the meantime I will continue searching for a solution myself !
-
matplotlib "RuntimeError : No MovieWriters available" when ffmpeg is installed
11 août 2014, par user1637894I’m using OSX Mavericks and the Enthought Canopy distribution of python. I’m trying to run any simple example script that uses
matplotlib.animation
to save an animation, but I always get the following error :Traceback (most recent call last):
File "/Users/Sam/Google Drive/Spyder workspace/MiscScripts/animation.py", line 14, in <module>
FFMpegWriter = manimation.writers['ffmpeg']
File "/Users/Sam/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/matplotlib/animation.py", line 63, in __getitem__
raise RuntimeError("No MovieWriters available!")
RuntimeError: No MovieWriters available!
</module>Ffmpeg is installed on my system : I can access it by typing
ffmpeg
into a new terminal. So I’m guessing matplotlib simply doesn’t know that ffmpeg is available because it is not in the python path. So I tried typingwhich ffmpeg
into a new terminal window to find where ffmpeg was installed, then I added this string to my python path viasys.append('path_here')
, but this didn’t help. -
"ibpostproc 52. 3.100 / 52. 3.100" Error when convert video to flv
14 avril 2014, par ZibaI use
FFMpegConverter
for convert video toflv
in my site. it work properly in local but i get below error in host, why ?libpostproc 52. 3.100 / 52. 3.100
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: libpostproc 52. 3.100 / 52. 3.100
Source Error:
Line 71:
Line 72: FFMpegConverter ff = new FFMpegConverter();
Line 73: ff.ConvertMedia(start, end, Format.flv);
Line 74:
Line 75: if (File.Exists(VideoPath))
Source File: f:\domains\bfs-co.ir\wwwroot\Cms\AddVideo.aspx.cs Line: 73