Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (87)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    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 (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (5045)

  • Pyinstaller "Failed to execute script pyi_rth_pkgres" and missing packages

    12 octobre 2023, par gurnben

    This 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_pkgres

    


    



    When 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 !

    


  • allow configuration of imageSmoothingQuality. default is "low", othe…

    9 avril 2021, par redemption
    allow configuration of imageSmoothingQuality.  default is "low", other options are "medium" and "high".
    

    Usage :

    $(’#fileupload’).fileupload(
    disableImageResize : /Android(?!.*Chrome)|Opera/
    .test(window.navigator && navigator.userAgent),
    imageSmoothingQuality : ’medium’,

  • Pyinstaller "Failed to execute script pyi_rth_pkgres" and missing packages

    11 septembre 2016, par gurnben

    This 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_pkgres

    When 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 !