Opened 6 years ago

Closed 6 years ago

#484 closed defect (invalid)

Un petit souci avec le codage des caractères

Reported by: Repris de Jean-Claude Repetto (sur la liste dev-fr) Owned by: vdct
Priority: major Component: export cadastre
Keywords: Cc:

Description

Bonjour,

Un petit souci avec le codage des caractères, sur la commune de
Mouans-Sartoux (06) :

Traceback (most recent call last):

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 88, in

main(sys.argv)

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 85, in main

remplace_associatedstreet_par_addrstreet(argv[1],argv[2])

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 69, in remplace_associatedstreet_par_addrstreet

OsmWriter?(osm).write_to_stream(s)

File

"/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/osm.py",
line 205, in write_to_stream

self.write()

File

"/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/osm.py",
line 221, in write

output.write("\t\n");

UnicodeEncodeError?: 'ascii' codec can't encode character u'\xe9' in
position 91: ordinal not in range(128)

Traceback (most recent call last):

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 88, in

main(sys.argv)

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 85, in main

remplace_associatedstreet_par_addrstreet(argv[1],argv[2])

File

"/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/supprime_relations_associatedStreet.py",
line 69, in remplace_associatedstreet_par_addrstreet

OsmWriter?(osm).write_to_stream(s)

File

"/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/osm.py",
line 205, in write_to_stream

self.write()

File

"/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/osm.py",
line 221, in write

output.write("\t\n");

UnicodeEncodeError?: 'ascii' codec can't encode character u'\xe9' in
position 91: ordinal not in range(128)

Jean-Claude

Change History (1)

comment:1 Changed 6 years ago by sly

  • Resolution set to invalid
  • Status changed from new to closed

Flûte, je me suis fais devancé de 6 minutes.

Dulicate of #485

Note: See TracTickets for help on using tickets.