Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (75)

  • 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 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • 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 (7342)

  • avformat/http: Fix Out-of-Bounds access in process_line()

    13 février 2019, par Wenxiang Qian
    avformat/http: Fix Out-of-Bounds access in process_line()
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/http.c
  • avformat/sccenc : avoid potential invalid access

    10 avril 2022, par Limin Wang
    avformat/sccenc : avoid potential invalid access
    

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavformat/sccenc.c
  • How do i get access to subproccess.py ?

    6 décembre 2023, par Kronik71

    So, my bot for some reason wants to access a folder in \WindowsApps\PythonSoftwareFoundation.Python.bunch_of_numbers\Lib called subproccess.py but it always gives the error : PermissionError: [WinError 5] Access is denied. I think it has to do with ffmpeg.

    &#xA;

    Here's the full traceback (kinda long) :

    &#xA;

    Traceback (most recent call last):&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\interactions\client\client.py", line 1900, in __dispatch_interaction&#xA;    response = await callback&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\interactions\client\client.py", line 1771, in _run_slash_command&#xA;    return await command(ctx, **ctx.kwargs)&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\interactions\models\internal\command.py", line 132, in __call__&#xA;    await self.call_callback(self.callback, context)&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\interactions\models\internal\application_commands.py", line 802, in call_callback&#xA;    return await self.call_with_binding(callback, ctx)&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\interactions\models\internal\callback.py", line 43, in call_with_binding&#xA;    return await callback(*args, **kwargs)&#xA;  File "C:\Users\myuser\OneDrive\Desktop\button.py", line 38, in press&#xA;    voice_client.play(discord.FFmpegPCMAudio(executable=r"C:\Users\myuser\OneDrive\Desktop\ffmpeg-6.1-essentials_build\bin", source=audiosource))&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.Bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\discord\player.py", line 290, in __init__&#xA;    super().__init__(source, executable=executable, args=args, **subprocess_kwargs)&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\discord\player.py", line 166, in __init__&#xA;    self._process = self._spawn_process(args, **kwargs)&#xA;  File "C:\Users\myuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.bunch_of_numbers\LocalCache\local-packages\Python310\site-packages\discord\player.py", line 180, in _spawn_process&#xA;    process = subprocess.Popen(args, creationflags=CREATE_NO_WINDOW, **subprocess_kwargs)&#xA;  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.bunch_of_numbers\lib\subprocess.py", line 971, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.bunch_of_numbers\lib\subprocess.py", line 1456, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;PermissionError: [WinError 5] Access is denied&#xA;

    &#xA;

    heres my code :

    &#xA;

    import interactions&#xA;import discord&#xA;from discord import FFmpegPCMAudio&#xA;import tracemalloc&#xA;&#xA;ffmpegexec = r"C:\Users\myuser\OneDrive\Desktop\ffmpeg-6.1-essentials_build\bin\ffmpeg.exe"&#xA;&#xA;audiosource = r"C:\Users\myuser\Downloads\seatbelt-online-audio-converter.mp3"&#xA;&#xA;source = discord.FFmpegPCMAudio(audiosource)&#xA;&#xA;token = "my_token"&#xA;&#xA;bot = interactions.Client(token=token)&#xA;&#xA;tracemalloc.start()&#xA;&#xA;@interactions.slash_command(&#xA;    name="joinvc",&#xA;    description="starts the game"&#xA;)&#xA;&#xA;async def joinvc(ctx: interactions.ComponentContext):&#xA;    await ctx.send("Joining vc. Please make sure you are currently in a vc!")&#xA;    vc = ctx.author.voice.channel&#xA;    await vc.connect()&#xA;&#xA;@interactions.slash_command(&#xA;    name="press",&#xA;    description="Press the button"&#xA;)&#xA;&#xA;async def press(ctx: interactions.ComponentContext):&#xA;    await ctx.send(f"{ctx.author.mention} has pressed the button")&#xA;    vc = ctx.author.voice.channel&#xA;    voice_client = await vc.connect()  # Connect to the voice channel&#xA;&#xA;voice_client.play(discord.FFmpegPCMAudio(executable=r"C:\Users\myuser\OneDrive\Desktop\ffmpeg-6.1-essentials_build\bin", source=audiosource))&#xA;&#xA;&#xA;bot.start(token)&#xA;

    &#xA;