Bug #3033

XML, accentued or special characters in file paths

Ajouté par Matthieu Decorde il y a plus de 4 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:05/03/2021
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Import Temps passé: -
Version cible:TXM 0.8.4

Description

Try to reproduce the XML open error of XML files with accentued or special characters in their path

MD: I can't reproduced the bug for now, nor in Eclipse, TXM launched from Eclipse or TXM 0.8.1

The XML error message seams wrong : "file not found", but the file does exist

SLH: stacktrace,

java.io.FileNotFoundException: /home/<path with french accent> (Aucun fichier ou dossier de ce type)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
    at javax.xml.parsers.DocumentBuilder$parse.call(Unknown Source)
    at org.txm.macro.transcription.RecodeSpeakers.process(RecodeSpeakers.groovy:64)
    at org.txm.macro.transcription.RecodeSpeakers$process.call(Unknown Source)
    at org.txm.macro.projects.nov13.PrepareTranscriptionsMacro.run(PrepareTranscriptionsMacro.groovy:99)
    at org.txm.rcp.handlers.scripts.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:268)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a plus de 4 ans

  • Description mis à jour (diff)

#3 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

Formats disponibles : Atom PDF