Recherche avancée

Médias (91)

Autres articles (99)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10184)

  • Python UnicodeEncodeError : 'charmap' codec can't encode when using GEOPY

    9 août 2015, par Tony Roczz

    I have been fiddling with python geopy and I tried the basic commands given in the documentation. But I am getting the UnicodeEncodeError when trying the raw command(to geolocate a query to an address and coordinates)

    print(location.raw)

    Error UnicodeEncodeError: 'charmap' codec can't encode character '\xa9' in position 83: character maps to <undefined></undefined>

    Then I tried the other way around (To find the address corresponding to a set of coordinates)

    print(location.address)    

    I am getting the same error UnicodeEncodeError: 'charmap' codec can't encode character '\u0101' in position 10: character maps to <undefined></undefined>

    I tried print((location.address).encode("utf-8")) , now am not getting any error but the output printed is like this b'NH39, Mirz\xc4\x81pur

    and when using print((location.raw).encode("utf-8")) I am getting error

    AttributeError: 'dict' object has no attribute 'encode'

    Can anyone tell me what is going on here and what I should do to get a proper output ?

    Edit :(After being marked as duplicate)

    Based on the solution given in this problem I am reporting on how it does not solve my problem

    What I wanted to know is why do I get the UnicodeEncodeError when trying out the basic sample codings given in the documentation and it did answer for that.

    If I want to use it an application how do I solve the error and I cannot have the application running on separate IDE or send the output to a external file since my application will function based on the output from geopy, I want the application to run in the terminal as my other applications do.

  • Python UnicodeEncodeError : 'charmap' codec can't encode

    8 août 2015, par Tony Roczz

    I have been fiddling with python geopy and I tried the basic commands given in the documentation. But I am getting the UnicodeEncodeError when trying the raw command(to geolocate a query to an address and coordinates)

    print(location.raw)

    Error UnicodeEncodeError: 'charmap' codec can't encode character '\xa9' in position 83: character maps to <undefined></undefined>

    Then I tried the other way around (To find the address corresponding to a set of coordinates)

    print(location.address)    

    I am getting the same error UnicodeEncodeError: 'charmap' codec can't encode character '\u0101' in position 10: character maps to <undefined></undefined>

    I tried print((location.address).encode("utf-8")) , now am not getting any error but the output printed is like this b'NH39, Mirz\xc4\x81pur

    and when using print((location.raw).encode("utf-8")) I am getting error

    AttributeError: 'dict' object has no attribute 'encode'

    Can anyone tell me what is going on here and what I should do to get a proper output ?

    Edit :(After being marked as duplicate)

    Based on the solution given in this problem I am reporting on how it does not solve my problem

    What I wanted to know is why do I get the UnicodeEncodeError when trying out the basic sample codings given in the documentation and it did answer for that.

    If I want to use it an application how do I solve the error and I cannot have the application running on separate IDE or send the output to a external file since my application will function based on the output from geopy, I want the application to run in the terminal as my other applications do.

  • configuring anroid to run ffmpeg command programmatically

    7 juin 2013, par Abdul Mateen

    I am unaware with ffmpeg, and wants to run ffmpeg command on android terminal.
    What are the basic steps to configure android so that it can run ffmpeg command through android application program ?

    Thanking you !...